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!news.Hawaii.Edu!news.caldera.com!enews.sgi.com!nntprelay.mathworks.com!news.mathworks.com!howland.erols.net!feed1.news.erols.com!news.nl.innet.net!INnl.net!feed1.news.innet.be!INbe.net!blue.news.pipex.net!pipex!stns.news.pipex.net!warm.news.pipex.net!pipex!tank.news.pipex.net!pipex!news.utell.co.uk!usenet From: brian@shift.utell.net (Brian Somers) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: IP Aliasing Date: 13 Jun 1997 09:49:42 GMT Organization: Awfulhak Ltd. Lines: 36 Message-ID: <5nr53m$quc@ui-gate.utell.co.uk> References: <01bc576a$ff7a8260$64d91dce@phishhead.dawtech.com> <86afmc5qqm.fsf@bitbox.follo.net> <339cc8f2.88895331@news.mindspring.com> <5njja2$dnh@news.gvsu.edu> <1997Jun10.152644.14248@bilver.oau.org> <5nk0td$hid@news.gvsu.edu> <5npmpf$2gt$1@hole.sdsu.edu> Reply-To: brian@awfulhak.org, brian@utell.co.uk NNTP-Posting-Host: shift.utell.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Newsreader: knews 0.9.8 Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:42967 In article <5npmpf$2gt$1@hole.sdsu.edu>, jdavison@yoda.sdsu.edu (John W. Davison) writes: > Matt Behrens has stated: >: Aliasing has always meant, AFAIK, simply allowing an IP address to respond >: to packets sent to a different number. i.e. if you have a machine >: 10.0.0.1 and you want to move it to 10.0.10.1, you alias 10.0.10.1 to >: 10.0.0.1 and all packets sent to 10.0.10.1 and 10.0.0.1 arrive at >: 10.0.0.1. When you're finished with the move, of course, you remove the >: alias. > >: Masquerading (or NAT, network address translation) is the act of providing >: a sort of "front" for a number of different hosts on a remote network that >: doesn't understand their numbers. In this example, 10.0.0.1, 10.0.0.2, >: and 10.0.0.3 can all use 10.10.10.10 to use services on a network that >: knows 10.10.10.10 but can't route to 10.0.0.x. > > Back to the original topic, can you do IP Masquerading under FreeBSD, and if > so, where can you find good documentation on setting it up? The ppp program does it (or you can use natd if that doesn't suit. The ppp in 2.2.[12] just requires you to add the "-alias" flag to the command line :) Not much to document (although I think it's mentioned it in the man page - certainly is now). > > ~-+-_-~-+-_-~-+-_-~-+-_-~-+-_-~-+-_-~-+-_-~-+-_-~-+-_-~-+-_-~-+-_-~-+-_~-+-_-~ > John Davison + "Those that give up essential liberty > San Diego State University + to obtain a little temporary safety > jdavison@yoda.sdsu.edu + deserve neither liberty nor safety." > http://yoda.sdsu.edu/home/jdavison/ + -- Benjamin Franklin (1773) > *** PGP Key on my Home Page *** -- Brian <brian@awfulhak.org> <brian@freebsd.org> <http://www.awfulhak.org> Don't _EVER_ lose your sense of humour !