*BSD News Article 96600


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!inferno.mpx.com.au!news.unimelb.edu.au!munnari.OZ.AU!news.Hawaii.Edu!news.caldera.com!enews.sgi.com!news.mathworks.com!europa.clark.net!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!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: 43
Message-ID: <5mo5gk$g7p@news.gvsu.edu>
References: <338BB8B4.15FB7483@silas.cc.monash.edu.au>
NNTP-Posting-Host: river.it.gvsu.edu
X-Newsreader: TIN [version 1.2 PL0]
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:41948

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/