Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.mel.connect.com.au!news.syd.connect.com.au!phaedrus.kralizec.net.au!news.mel.aone.net.au!grumpy.fl.net.au!news.webspan.net!www.nntp.primenet.com!nntp.primenet.com!news.mathworks.com!fu-berlin.de!irz401!orion.sax.de!uriah.heep!news From: j@uriah.heep.sax.de (J Wunsch) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: ppp on demand? Date: 19 Jan 1997 10:59:16 GMT Organization: Private BSD site, Dresden Lines: 26 Message-ID: <5bsuq4$8vt@uriah.heep.sax.de> References: <5bqeic$5k7@eve.umiacs.umd.edu> Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) NNTP-Posting-Host: localhost.heep.sax.de Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Newsreader: knews 0.9.6 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:34252 dbader@umiacs.umd.edu (David A. Bader) wrote: > Must specify dstaddr with auto mode. Well, if you want auto-mode, the PPP process needs an IP address of the remote side in advance, so it knows which packets are about to be routed through itself, so it in turn can dial if required. That's usually done with a set ifaddr 0.0.0.0 <hisaddr> add 0 0 <hisaddr> I think you can specify a number of significant bits for <hisaddr> in the `set ifaddr' clause, too, so the actual remote address will be negotiated once it has been dialling out. The `add' command adds a default route so all packets destined for the outside will be passed to the PPP process. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)