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

        add default HISADDR

for this to work.

Ruslan Ermilov          Oracle Developer/DBA,
[EMAIL PROTECTED]           Sunbay Software AG,
[EMAIL PROTECTED]          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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to