Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!ns.saard.net!news.camtech.com.au!news.adelaide.on.net!news.ade.connect.com.au!news.mel.connect.com.au!news.mira.net.au!vic.news.telstra.net!act.news.telstra.net!psgrain!iafrica.com!uct.ac.za!quagga.ru.ac.za!howland.erols.net!tank.news.pipex.net!pipex!news.be.innet.net!INbe.net!news.nl.innet.net!INnl.net!hunter.premier.net!news.cais.net!mr.net!newshub.tc.umn.edu!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: Route cloning (disable - how to?) Date: 12 Aug 1996 22:01:48 GMT Organization: Private BSD site, Dresden Lines: 48 Message-ID: <4uo9kc$uo@uriah.heep.sax.de> References: <4t0g99$pni@mandolin.qnet.com> <31F518A3.2781E494@freebsd.org> <4tld0b$ev6@verdi.nethelp.no> <DvDnCw.7A6@ottnews.shl.com> <4tnu8u$k61@verdi.nethelp.no> <DvG7FF.M7u@ottnews.shl.com> <4u06pi$qnk@uriah.heep.sax.de> <DvyCKx.DqH@ottnews.shl.com> 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 tom@tomqnx.tomqnx.com (Tom Torrance at home) wrote: > : On your side, no routed or GateD is necessary. The other machines in > : your network know their gateway anyway, and pppd is inserting the > : static route once it is up. > > I can see that - what I don't understand (and I would like to) > is how _he_ could do that since I am signing on to one of his > modems at random - I don't have a dedicated line. Can you > recommend any reading material? Well, no idea offhand about reading, but how your ISP is doing the job depends on what he's using as the remote end. If it's a regular Unix machine, he can e.g. run GateD, with a preconfigured set of `direct' routes that are to be activated as soon as an interface comes up with a particular address. The `IF_UP' activity is announced to GateD via the routing socket, so it can verify it against its table of allowable routes, and export it through its routing protocol. Basically, when using RIP: ... rip yes { interface all noripout noripin; interface <his ethernet i/f> ripout; defaultmetric 1; }; ... export proto rip { proto direct all restrict; proto direct { your.net; another.net; }; }; (This is offhand, so it might be bogus. Verify against the GateD doc before using it. I don't have it handy, it's lurking around at work.) -- 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. ;-)