*BSD News Article 72103


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.hawaii.edu!news.uoregon.edu!vixen.cso.uiuc.edu!newsfeed.internetmci.com!hunter.premier.net!netnews.worldnet.att.net!ix.netcom.com!netcom.net.uk!dispatch.news.demon.net!demon!awfulhak.demon.co.uk!awfulhak.demon.co.uk!awfulhak.demon.co.uk!not-for-mail
From: brian@awfulhak.demon.co.uk (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: routed is trashing my 'default' route
Date: 23 Jun 1996 21:00:01 +0100
Organization: Coverform Ltd.
Lines: 58
Message-ID: <4qk7o1$8a@anorak.coverform.lan>
References: <31C80512.6A80@bnr.ca>
X-NNTP-Posting-Host: awfulhak.demon.co.uk
X-Newsreader: TIN [version 1.2 PL2]

Andrew Atrens (atrens@bnr.ca) wrote:
: Hi folks,

: Hopefully this simple problem has a simple solution :) ..

: Like many of us I connect to the internet through a
: dialup ppp link. The link works great provided 'routed'
: is *not* running. If routed is running, invariably it
: deletes my default route :o( 

: So, my questions are:

: 1. How do I tell routed to leave my default route alone? Is
:    it with a command option, or perhaps something in a
:    conf file?

You must have your default route as 'static'.  If you run "netstat -r",
and check the FLAGS column for the default route, you should have an S
there.  Personally, I can't see how you can get a non-static default.
You should be running with the -q flag only.  Maybe if you're running
with the -g option, it may delete it ????

: 2. Why do I need routed? ( Currently I'm running without it. )

routed listens for RIP type traffic and tweaks your routing tables
accordingly.  If you use the -s flag, it will advertise its routing
tables to all local interfaces.  It's only really needed in -q mode
if you're directly connected to more than one router.  If you're
only connected to one, you can just have a default to that router
and do away with routed.

: 3. If I *do* need some kind of routing daemon, is gated a
:    better choice?

Yep.  routed will do well if you just have a lan & have a ppp link to
the outside world.  If you have anything more interresting plugged into
the back of your machine, use gated.



: Thanks in advance,


: Please reply via email if possible

Can't - I've no direct connection to the internet at the moment, just
a non-IP dialup to my home machine.


: Cheers,

: Andrew

: ( Opinions are my own... not those any employer past or present. )

--
Brian <brian@awfulhak.demon.co.uk>
Don't _EVER_ lose your sense of humour....