ppp problems with routing

J65nko BSD j65nko at gmail.com
Tue Mar 29 18:01:30 PST 2005


On Mon, 28 Mar 2005 19:13:47 -0500, PS <block111 at mail.ru> wrote:
> Hello I use freeBSD 4.11 with pppoe.
> I used almost default ppp.conf (as in freebsd handbook) for dynamic ip.
> 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
> new connection default gateway is different then the old default route
> 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
> gateway and the old one isn't removed. Should the old default route/ip
> be removed or not? In my case the old ip becomes invalid.
> 
> Thank you
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
> 

Have you tried: 

   add! default HISADDR

Note the exclamation mark "!" after the add.


More information about the freebsd-questions mailing list