*BSD News Article 96895


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!munnari.OZ.AU!uunet!in1.uu.net!128.230.129.106!news.maxwell.syr.edu!news-xfer.cybernet.dk!news.onramp.net!news.nkn.net!news.panther.net!nemesis!hammy!news-in.iadfw.net!news.gymnet.com!LSNT1!lsbsdi6.lightspeed.net!news.silcom.com!news.genuity.net!www.nntp.primenet.com!nntp.primenet.com!disgorge.news.demon.net!demon!dispatch.news.demon.net!demon!news-peer.sprintlink.net!news.sprintlink.net!Sprint!howland
erols.net!vixen.cso.uiuc.edu!uwm.edu!msunews!gvsu!river.it.gvsu.edu!behrensm
From: behrensm@river.it.gvsu.edu (Matt Behrens)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: IP Masquerading / pppd question.
Date: 31 May 1997 03:21:56 GMT
Organization: Grand Valley State University
Lines: 44
Message-ID: <20569C8E3FE52174.D38232B304DD3641.B33F3BA479B01D77@library-proxy.airnews.net>
X-Orig-Message-ID: <5mo5gk$g7p@news.gvsu.edu>
References: <338BB8B4.15FB7483@silas.cc.monash.edu.au>
NNTP-Proxy-Relay: library.airnews.net
NNTP-Posting-Host: biceps.gymnet.com
X-Newsreader: TIN [version 1.2 PL0]
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:42241

David Henshaw (dhenshaw@silas.cc.monash.edu.au) wrote:
: Hi all,

: I've now found two ethernet cards that I can use to communicate between
: my FreeBSD (2.1.5) box and an old XT I had lying about.

: I've set up a telnet program on the XT, and can successfully connect to
: the FreeBSD box.

: Each of these machines has been allocated an IP address according to one
: of the RFCs.

: The FreeBSD box is 10.0.0.1 and the XT is 10.0.0.2

: So far no worries.

: I use kermit to dial up my ISP who provides me with an IP address
: (dynamically allocated).  Using kernel ppp and the pppd program I can
: connect to the Internet through my ISP (which happens to be a
: University).

: /etc/sysconfig specifies that the machine I'm using will act as a
: gateway.  I'm also running a DNS on this machine.

: I would like to allow the XT to telnet directly to my ISP using the
: FreeBSD box as a gateway.  Currently this is not working.

: Can someone fill me in as to what I need to do ?

You need to do one of two things:

1. Switch to user-mode PPP and use the ppp+pktAlias package instead of the
suppplied PPP.  This does masquerading.

2. Upgrade to 2.2.x and use natd in conjunction with pppd. (I've had some
stability problems with natd myself, I'd recommend going the user-mode PPP
route.)

--
  Matt Behrens
  Zigg Computer Services
  zigg@iserv.net
  http://www.iserv.net/~zigg/