Have server with 3 network cards: * rl0: cable * rl1 => tun0: ADSL * xl0: internal Made a script that makes you able to switch between ADSL and cable internet. The switch works perfectly, but after 5-7 days the default route magically disappears (route get default). If the server gets restarted and the ADSL is active from the start, then it will work forever. If I use the switch script it doesn't. How-To-Repeat: Have tried it on FreeBSD 4.8-4.10 (problem is always there) killall -KILL dhclient killall -KILL natd ifconfig rl0 delete ppp -ddial ADSL_ISP > /dev/null natd -dynamic -f /etc/natd.conf -n tun0 internet works perfectly but goes down after 5-7 days if I switch from ADSL to cable same problem
Meulemans, On Tue, Sep 07, 2004 at 05:01:59PM +0000, Meulemans Jeroen wrote: M> ppp -ddial ADSL_ISP > /dev/null M> natd -dynamic -f /etc/natd.conf -n tun0 M> internet works perfectly but goes down after 5-7 days M> if I switch from ADSL to cable same problem check ppp.log pls. I suspect ppp deletes the route, which it created before. -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE
Last log in ppp.log always dates from the moment the succesfull connection was made. 5-7 days later, the default route fails (disappears) without any notice in any log files (neither in ppp.log) . Thanks, Meulemans Jeroen
On Fri, Sep 10, 2004 at 02:40:31PM +0000, Jeroen Meulemans wrote: > Last log in ppp.log always dates from the moment the succesfull connection > was made. 5-7 days later, the default route fails (disappears) without any > notice in any log files (neither in ppp.log) . > Bringing an interface down will blow away all routes through this interface, including "default". Are you using the "sticky" default route in ppp(8)? Cheers, -- Ruslan Ermilov ru@FreeBSD.org FreeBSD committer
I am using the sticky default route, here is my ppp.conf: default: set log Phase tun command # you can add more detailed logging if you wish set ifaddr 10.0.0.1/0 10.0.0.2/0 SCARLET: set device PPPoE:rl1 set authname USERNAME set authkey PASSWORD set dial set login add default HISADDR Thanks, Meulemans Jeroen
Responsible Changed From-To: freebsd-bugs->freebsd-net Over to maintainer(s).
For bugs matching the following criteria: Status: In Progress Changed: (is less than) 2014-06-01 Reset to default assignee and clear in-progress tags. Mail being skipped
Is this problem still relevant?