From owner-freebsd-current Wed Jun 19 13:22:16 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA14979 for current-outgoing; Wed, 19 Jun 1996 13:22:16 -0700 (PDT) Received: from alpha.xerox.com (alpha.Xerox.COM [13.1.64.93]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id NAA14969 for ; Wed, 19 Jun 1996 13:22:12 -0700 (PDT) Received: from crevenia.parc.xerox.com ([13.2.116.11]) by alpha.xerox.com with SMTP id <15912(12)>; Wed, 19 Jun 1996 13:21:38 PDT Received: from localhost by crevenia.parc.xerox.com with SMTP id <177476>; Wed, 19 Jun 1996 13:21:29 -0700 To: "Daniel M. Eischen" cc: wollman@lcs.mit.edu, fenner@parc.xerox.com, current@freebsd.org Subject: Re: As of 960608, routed now complains bitterly In-reply-to: Your message of "Wed, 19 Jun 96 12:37:09 PDT." <31C856E5.41C67EA6@iworks.InterWorks.org> Date: Wed, 19 Jun 1996 13:21:16 PDT From: Bill Fenner Message-Id: <96Jun19.132129pdt.177476@crevenia.parc.xerox.com> Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In message <31C856E5.41C67EA6@iworks.InterWorks.org> you write: >No it wasn't routed, but was probably from my PPP startup script in which I >set the default route. I'm away from my machine at home, so I can't verify >this until later tonight (EST). I'll try running "route monitor" as you >suggest. 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. 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. 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? Bill