From owner-freebsd-current Mon Mar 19 9:56:43 2001 Delivered-To: freebsd-current@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 7075A37B719 for ; Mon, 19 Mar 2001 09:56:36 -0800 (PST) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.2/8.11.2) id f2JHuLt79159; Mon, 19 Mar 2001 19:56:21 +0200 (EET) (envelope-from ru) Date: Mon, 19 Mar 2001 19:56:21 +0200 From: Ruslan Ermilov To: Alexander Leidinger Cc: current@FreeBSD.ORG Subject: Re: Recent interface/routing changes breaks on-demand PPP Message-ID: <20010319195621.A78973@sunbay.com> Mail-Followup-To: Alexander Leidinger , current@FreeBSD.ORG References: <20010319173608.A64735@sunbay.com> <200103191734.f2JHYaQ07672@Magelan.Leidinger.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200103191734.f2JHYaQ07672@Magelan.Leidinger.net>; from Alexander@leidinger.net on Mon, Mar 19, 2001 at 06:34:34PM +0100 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Mar 19, 2001 at 06:34:34PM +0100, Alexander Leidinger wrote: > On 19 Mar, Ruslan Ermilov wrote: > > > 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. > > Yesterday I did a buildworld and an installworld with sources which > contain the fixed routing code (cvsup at ~3pm CET). Today I tried to > dialout-on-demand right after boot. I use ISDN and have > defaultrouter="-interface isp1" > in my rc.conf. It didn't worked and I found the reason withhin a minute. > There wasn't a defaultroute. So I just added the defaultroute and > everything was fine... until the next time my system tried to > dialout-on-demand. There wasn't a defaultroute again. Boring. Ok, I just > added the defaultroute again and the system dialed out. After this > second "route add default -interface isp1" the defaultroute didn't > disappeared for several dialouts. I haven't rebooted yet to try to > reproduce it. > You will have to add the following command to the relevant section of ppp.conf: add default HISADDR for this to work. Cheers, -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message