From owner-freebsd-net Fri Mar 30 8:43:29 2001 Delivered-To: freebsd-net@freebsd.org Received: from mout0.freenet.de (mout0.freenet.de [194.97.50.131]) by hub.freebsd.org (Postfix) with ESMTP id 1CB7237B719; Fri, 30 Mar 2001 08:43:26 -0800 (PST) (envelope-from netchild@leidinger.net) Received: from [194.97.50.136] (helo=mx3.freenet.de) by mout0.freenet.de with esmtp (Exim 3.22 #1) id 14j1zh-00078c-00; Fri, 30 Mar 2001 18:43:25 +0200 Received: from b82ef.pppool.de ([213.7.130.239] helo=Magelan.Leidinger.net) by mx3.freenet.de with esmtp (Exim 3.22 #1) id 14j1zY-0008A1-00; Fri, 30 Mar 2001 18:43:18 +0200 Received: from Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.11.3/8.11.3) with ESMTP id f2UGglo40730; Fri, 30 Mar 2001 18:42:48 +0200 (CEST) (envelope-from netchild@Leidinger.net) Message-Id: <200103301642.f2UGglo40730@Magelan.Leidinger.net> Date: Fri, 30 Mar 2001 18:42:45 +0200 (CEST) From: Alexander Leidinger Subject: Re: Recent interface/routing changes breaks on-demand PPP (+sppp) To: ru@FreeBSD.org Cc: net@FreeBSD.org In-Reply-To: <20010330172355.A94198@sunbay.com> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by Magelan.Leidinger.net id f2UGglo40730 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 30 M=E4r, Ruslan Ermilov wrote: > [Redirected to -net] Please CC me, I'm not subscribed to -net. Thanks. >> If I use >> route add default -interface isp1 >> I wan't to have the packets routed trough isp1. I don't care about how >> the routing table is held consistent, but I if the route is discarded >> without my interaction it not only violates POLA, in this case it's >> prohibits a valid use of the -interface feature (dial on demand via sp= pp >> is broken at the moment). >>=20 > OK, finally got it. When the interface goes down, the address is still > valid, and there is no reason to delete (static?) routes that use this > address, but the new code does. I was confused by the code comment bel= ow I didn't have a static IP address. The only static thing in this context is the interface the defaultroute is assigned to. At every dial-on-demand I get another IP. [Patch] > Let me know if it works for you. I give it a try and report later. Thanks, Alexander. --=20 To boldly go where I surely don't belong. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint =3D C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message