From owner-freebsd-hackers Sat Aug 31 09:05:17 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA22163 for hackers-outgoing; Sat, 31 Aug 1996 09:05:17 -0700 (PDT) Received: from TomQNX.tomqnx.com ([159.249.8.221]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id JAA22142 for ; Sat, 31 Aug 1996 09:05:10 -0700 (PDT) Received: by TomQNX.tomqnx.com (Smail3.1.29.1 #1) id m0uwsYM-00082NC; Sat, 31 Aug 96 12:05 EDT Message-Id: From: tom@tomqnx.com (Tom Torrance at home) Subject: Re: New routed To: jkh@time.cdrom.com (Jordan K. Hubbard) Date: Sat, 31 Aug 1996 12:05:46 -0400 (EDT) Cc: hackers@freebsd.org In-Reply-To: <2901.841447492@time.cdrom.com> from "Jordan K. Hubbard" at "Aug 30, 96 04:24:52 pm" X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > I'm having heartburn with the new routed, which appears to be > > unusable with ijppp -auto. It INSISTS on deleting the > > default route. > > Uh, do you *need* to run routed? > > Jordan > YES. Things work fine without routed if you have a connection with a FIXED IP number. If your connection gives you a separate IP number on every call, the route for your new IP number to use 127.0.0.1 as a gateway is only put in the table IF you are running routed or gated. All other entries, including the default route are updated properly by ijppp IF they exist when it re-establishes the connection. I happen to have both kinds of connection, so it's easy to see. I access them on a mutually exclusive basis. I don't have a clue how to set up gated for this. I can survive right now by using NO routing software with my fixed IP number connection, and by running gated with the variable IP connection, but that is real hack. Perhaps I am odd, but I think that routed should support dial-up connections too. The new routed -q looks extremely powerful - it just needs to leave static routes alone, like the old one did. ijppp is smart enough to modify the the static default route while leaving it flagged as static. An alternative would be for ijppp to establish the nissing route then clean it up when the delete ALL in ppp.linkup is executed. It could then run without routed or gated in all cases. I still think that the new routed -q deleting a static route is a bug.