Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.mel.connect.com.au!news.mel.aone.net.au!grumpy.fl.net.au!news.webspan.net!newsfeeds.sol.net!newspump.sol.net!howland.erols.net!rill.news.pipex.net!pipex!hose.news.pipex.net!pipex!news.utell.co.uk!ui-gate.utell.co.uk!brian From: brian@ui-gate.utell.co.uk (Brian Somers) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: Please help a freeBSD newbie Date: 19 Feb 1997 10:03:58 GMT Organization: Utell International Lines: 57 Message-ID: <5eej6e$77j@ui-gate.utell.co.uk> References: <3304827D.549F@crl.com> <330886eb.2749133@Server> <87enedzgi0.fsf@phaedrus.uchicago.edu> NNTP-Posting-Host: ui-gate.utell.net X-Newsreader: TIN [version 1.2 PL2] Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:35809 stephen farrell (sfarrell@phaedrus.uchicago.edu) wrote: : Andrew Gordon <andrew.gordon@net-tel.co.uk> writes: : > : > stephen farrell wrote: : > > basically, you'll probably want to set up your freebsd box to : > > "support" the network. you'll want to run routed (routing daemon), : > : > Why are people so keen on running routed? In this case (a totally : > disconnected network) it can't do any good at all. And for : well, forgive my ignorance, but in setting up a totally isolated : network (as i have had to do several times, specifcially between macs : and unix boxes), routed produced the desired effect... it worked : without hassle. if there is a better way, i'd be interested to hear : it. [.....] It shouldn't matter if routed (-q) is running or not. With a private net (not connected to anything else), you don't need to do anything - your IP & Netmask will tell the machine that all the other machines are local. If you run routed -q, nothing will continue to happen as nobody's broadcasting RIP. If you connect via a dial-up to the 'net, all you need to do is set a "default" on the dialup machine to the other side of the dialup, and a "default" on all other machines that points to the dialup machine. I suspect it's very rare that an ISP will broadcast RIPs down a dialup.... there's no point - they'd just say "default this way". Therefore, having routed running doesn't matter..... except for some reason, people report that routed keeps deleting their default route. This has *never* happened to me !! The only reason I can imagine is that routed is adding the route in the first place... it's never been supposed to (and never has for me) delete static routes (netstat -r has the 'S' flag). Ppp is responsible for the line, and controls all routing table entries for that line. If ppp is to be used, there should be *absolutely nothing* mentioned about tun* in /etc/sysconfig. The *only* lines that you need are /etc/ppp/ppp.conf: ifaddr 10.10.10.10/0 10.10.10.11/0 255.255.255.0 delete ALL add 0 0 HISADDR /etc/ppp/ppp.linkup: delete ALL add 0 0 HISADDR Hope this helps. -- Brian <brian@awfulhak.demon.co.uk> <brian@utell.co.uk> <brian@freebsd.org> <http://www.awfulhak.demon.co.uk> Don't _EVER_ lose your sense of humour !