ppp broken link leftover
Ernie Luzar
luzar722 at gmail.com
Sat Dec 5 03:24:07 UTC 2015
Lev wrote:
> I've set up ppp and it works as expected.
>
> The connection to my ISP brakes from time to time. I experience that
> the IP address of tun0 and the routing table doesn't get updated. All
> the old address and routing record stay there.
>
> Everything is working, I just don't think that a broken routing record
> is a good idea to leave it in the kernel's routing table. Not to
> mention the address of the interface.
>
> I've tried adding the 'add! default HISADDR' to my ppp.conf, but it
> didn't help.
>
> Any ideas?
>
This should fix your problem.
Add this to your ppp.conf file
disable iface-alias # Stop adding old IP address as alias when ppp
# redials because line was lost. These old IPs
# showed using ifconfig -a on tun0.
iface clear # Remove all previous IP address
More information about the freebsd-questions
mailing list