Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.Hawaii.Edu!news.uoregon.edu!tezcat!cam-news-hub1.bbnplanet.com!news.bbnplanet.com!howland.erols.net!newsfeed.internetmci.com!news.charm.net!news.fred.net!not-for-mail From: mcurry@fred.net ( ) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: Please help a freeBSD newbie Date: 20 Feb 1997 15:17:55 GMT Organization: FredNet - Frederick, Md. Lines: 68 Message-ID: <5ehpv3$m9@news.fred.net> References: <3304827D.549F@crl.com> <330886eb.2749133@Server> <87enedzgi0.fsf@phaedrus.uchicago.edu> <5eej6e$77j@ui-gate.utell.co.uk> NNTP-Posting-Host: bigdog.fred.net X-Newsreader: TIN [UNIX 1.3 950824BETA PL0] Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:35833 Brian certainly doesn't need for me to second his opinion, but FWIW, his description of setup and related events (ref. routed, default routes, etc.) is exactly what I discovered during my last episode of semi-informed dialup+local network configuration. Mostly, I'm glad that something I figured out myself may actually be right. :) mc Brian Somers (brian@ui-gate.utell.co.uk) wrote: : 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 !