Date: Wed, 19 Jun 1996 16:08:13 -0500 From: "Daniel M. Eischen" <deischen@iworks.InterWorks.org> To: current@FreeBSD.org, fenner@parc.xerox.com Subject: Re: As of 960608, routed now complains bitterly. Message-ID: <9606192108.AA04424@iworks.InterWorks.org>
next in thread | raw e-mail | index | archive | help
> If it was "pppd" itself that added the default route, then perhaps the > problem is that pppd doesn't seem to set RTF_STATIC on the route that > it adds. Routed assumes that it is responsible for all routes not > mentioned in /etc/gateways that don't have RTF_STATIC set. > > This means one of several things: > > 1 - "pppd" should set RTF_STATIC on the route that it installs. This > seems a little odd, since RTF_STATIC means a route that was manually > added. (However, I guess the fact that you put "do-the-default-route-thing" > in your pppd.conf might mean that it's proxy-manually added =) > > 2 - you need to put something like > "net default gateway <whatever> metric 1 extern" in /etc/gateways. The > "extern" keyword tells routed that this route is none of its business, > and that someone else (in this case, pppd) will manage the route. Haven't got this. > 3 - you need to put something like > "net default gateway <whatever> metric 1 passive" in /etc/gateways, and > configure pppd to not install a default route. Nor this. > Of these options, #1 will make for the most "plug-n-play", I think, but > I'm not all that sure it's architecturally correct. > > Just out of curiosity, if pppd is installing a default route for you, > then why do you need to run routed? I don't need to run routed, but FreeBSD installed that way (routed -q) and it's never caused me any problems before - so I left it in. I believe there was a big discussion about whether routed should be run by default or not many months ago. AFAIK, it still is run by default, so it [the new routed] could cause a lot of grief for the typical home installation connected via modem. I can try options 2 and 3 above - maybe later tonight. Dan Eischen deischen@iworks.InterWorks.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9606192108.AA04424>