Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!uwm.edu!news-peer.gsl.net!news.gsl.net!news.mathworks.com!EU.net!uknet!usenet1.news.uk.psi.net!uknet!dispatch.news.demon.net!demon!arg1.demon.co.uk!not-for-mail From: Andrew Gordon <andrew.gordon@net-tel.co.uk> Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: Help for Newbie: How to configure tun0 ? Date: Thu, 02 Jan 1997 22:37:46 +0000 Lines: 25 Message-ID: <32CC38BA.41C67EA6@net-tel.co.uk> References: <32C9B2C6.7443@scn.org> <32CA94A9.41C67EA6@net-tel.co.uk> <32CC1D16.5E77@scn.org> NNTP-Posting-Host: arg1.demon.co.uk X-NNTP-Posting-Host: arg1.demon.co.uk X-Mailer: Mozilla 3.01Gold (X11; I; FreeBSD 2.1.5-RELEASE i386) MIME-Version: 1.0 To: Enoch Wu <enochw@scn.org> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:33451 Enoch Wu wrote: >> I have 3 more questions: > > 1. What about /sbin/route add x.x.x.x y.y.y.y > versus the command in user-PPP "add x.x.x.x m.m.m.m y.y.y.y" ? They do the same thing. Use the -netmask option to /sbin/route if you need to specify m.m.m.m > Is user-PPP's "add" command an alternative to /sbin/route ? Yes. Particularly useful with dynamic IP, as you can use the magic keyword HISADDR, eg. to add a default route: add 0 0 HISADDR > 2. Can x.x.x.x and y.y.y.y have different network addresses ? y.y.y.y must be somewhere you can already reach via one of your interfaces. x.x.x.x can be anything you like. > 3. Is m.m.m.m a mask for x.x.x.x or is it a mask for y.y.y.y ? A mask for x.x.x.x (which is specifying a network), y.y.y.y must be a complete address (as it is specifying an interface).œƒ