From owner-freebsd-current Wed Jun 19 14:12:10 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA23011 for current-outgoing; Wed, 19 Jun 1996 14:12:10 -0700 (PDT) Received: from iworks.InterWorks.org (deischen@iworks.interworks.org [128.255.18.10]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id OAA23005 for ; Wed, 19 Jun 1996 14:12:05 -0700 (PDT) Received: by iworks.InterWorks.org (1.37.109.8/16.2) id AA04424; Wed, 19 Jun 1996 16:08:13 -0500 Message-Id: <9606192108.AA04424@iworks.InterWorks.org> Date: Wed, 19 Jun 1996 16:08:13 -0500 From: "Daniel M. Eischen" To: current@FreeBSD.org, fenner@parc.xerox.com Subject: Re: As of 960608, routed now complains bitterly. Sender: owner-current@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > 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 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 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