From owner-freebsd-current Fri Mar 30 3:11:19 2001 Delivered-To: freebsd-current@freebsd.org Received: from mout0.freenet.de (mout0.freenet.de [194.97.50.131]) by hub.freebsd.org (Postfix) with ESMTP id 1F83337B71D for ; Fri, 30 Mar 2001 03:11:14 -0800 (PST) (envelope-from netchild@leidinger.net) Received: from [194.97.50.144] (helo=mx1.freenet.de) by mout0.freenet.de with esmtp (Exim 3.22 #1) id 14iwoC-0002sV-00 for current@freebsd.org; Fri, 30 Mar 2001 13:11:12 +0200 Received: from b85d1.pppool.de ([213.7.133.209] helo=Magelan.Leidinger.net) by mx1.freenet.de with esmtp (Exim 3.22 #1) id 14iwoA-0001Bq-00 for current@FreeBSD.ORG; Fri, 30 Mar 2001 13:11:11 +0200 Received: from Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.11.3/8.11.3) with ESMTP id f2UB9Vo31517 for ; Fri, 30 Mar 2001 13:09:32 +0200 (CEST) (envelope-from netchild@Leidinger.net) Message-Id: <200103301109.f2UB9Vo31517@Magelan.Leidinger.net> Date: Fri, 30 Mar 2001 13:09:21 +0200 (CEST) From: Alexander Leidinger Subject: Re: Recent interface/routing changes breaks on-demand PPP (+sppp) To: current@FreeBSD.ORG In-Reply-To: <20010319173608.A64735@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 f2UB9Vo31517 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 19 M=E4r, Ruslan Ermilov wrote: > 3. The routing code was fixed to delete routes which use non-existent > interface addresses. This code will wipe such a route. > 5. This affects not only ppp(8). Add default route that points to the > LAN; change the IP address on interface; observe that the default > route has gone away. The reason is that if we don't do this, we > may end up using the old (now non-existing) local IP address. A little bit more on my problems with the defaultroute and sppp after the recent changes: - I didn't use ppp(8), I use isdnd(8) - my default dial-on-demand interface is isp1 - my rc.conf contains: defaultrouter=3D"-interface isp1" - the interface is down (ifconfig isp1 down) by default and gets turned = up (ifconfig isp1 up) at a login (which didn't triggers a dial out) - if I put the interface down the first time after a login I have to readd the defaultroute (only once, after additional "ifconfig down/up" I didn't have to readd the defaultroute, it stays) Bye, Alexander. --=20 Give a man a fish and you feed him for a day; teach him to use the Net and he won't bother you for weeks. 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-current" in the body of the message