Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Mar 2005 21:39:00 -0500
From:      Mike Tancsa <mike@sentex.net>
To:        PS <block111@mail.ru>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ppp problems with routing
Message-ID:  <5dfh415ppnbge1aqqh4lf7ohlg5m934503@4ax.com>
In-Reply-To: <42489DBB.4000105@mail.ru>
References:  <42489DBB.4000105@mail.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 28 Mar 2005 19:13:47 -0500, in sentex.lists.freebsd.questions
you wrote:

>Hello I use freeBSD 4.11 with pppoe.
>I used almost default ppp.conf (as in freebsd handbook) for dynamic ip.=20
>my config is here http://block111.servehttp.com/ppp.conf
>Twice a day I restart ppp from cron with `killall -INT ppp` and if the=20
>new connection default gateway is different then the old default route=20
>isn't removed, e.g. after ppp restart I have this:
>ifconfig ->
>	...
>         inet 66.11.172.181 --> 66.11.165.1 netmask 0xffffffff
>	inet 66.11.180.20 --> 66.11.190.1 netmask 0xffffffff
>
>before I had
>inet 66.11.172.181 --> 66.11.165.1 netmask 0xffffffff
>only, but after I sent INT to ppp the new ip has a different dafault=20
>gateway and the old one isn't removed. Should the old default route/ip=20
>be removed or not? In my case the old ip becomes invalid.

Hi,
	If you add

disable iface-alias

does it fix the problem ?  Also, why do you need to kill / restart
ppp?

	---Mike

--------------------------------------------------------
Mike Tancsa, Sentex communications http://www.sentex.net
Providing Internet Access since 1994
mike@sentex.net, (http://www.tancsa.com)



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