Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Mar 2001 19:56:21 +0200
From:      Ruslan Ermilov <ru@FreeBSD.ORG>
To:        Alexander Leidinger <Alexander@leidinger.net>
Cc:        current@FreeBSD.ORG
Subject:   Re: Recent interface/routing changes breaks on-demand PPP
Message-ID:  <20010319195621.A78973@sunbay.com>
In-Reply-To: <200103191734.f2JHYaQ07672@Magelan.Leidinger.net>; from Alexander@leidinger.net on Mon, Mar 19, 2001 at 06:34:34PM %2B0100
References:  <20010319173608.A64735@sunbay.com> <200103191734.f2JHYaQ07672@Magelan.Leidinger.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010319195621.A78973>