Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!solace!nntp.uio.no!news.maxwell.syr.edu!news-xfer.netaxs.com!news.cyberenet.net!news From: Rick Goldeck <RickG@goldcominc.com> Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: IP Masquerade on FreeBSD? Date: Tue, 18 Mar 1997 00:28:13 -0500 Organization: GoldCom Inc. Lines: 25 Message-ID: <332E27ED.76C0@goldcominc.com> References: <5gksti$1eq6@r02n01.cac.psu.edu> Reply-To: RickG@goldcominc.com NNTP-Posting-Host: goldcom.ppp.cyberenet.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.01Gold (Win95; I) Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:37226 GEOF ABRUZZI wrote: > > Is there an implementation of IP Masquerading for freeBSD? > Linux doesn't work on my 486, but FreeBSD does. Altenatively if I cant do > IP Masquerading, how do I set up things for a standard PPP gateway? > > I think I understand this much: > The dial in at work is an NT server set to dole out an IP dynamically. > That IP is assigned to the modem (ppp0) of the BSD machine at home. I > statically assign an IP to the ethernet card in my BSD machine, BeBox, > Amiga etc...All the otherr machines (BeBox, amiga, NeXT) use the IP of the > BSD ethernet card as the gateway/router. Here is where I get a bit > confused. What IP numbers can I use for the local ethernet? Anything in > the subnet of the ppp0? (The netmask is 255.255.240.0) What netmask should > should I use at home? The smallest possible (i.e. 255.255.255.252)? Does > anything special need to be done at the server side? The default /etc/hosts file gives 'legal' numbers. 10.0.0.0 (.1,.2,etc) works for me User ppp (as opposed to kernel pppd) is very easy. Check out the primer at http://www.freebsd.org, it explains everything. [snip] Rick