Date: Sat, 07 Nov 2009 13:49:32 -0500 From: Michael Powell <nightrecon@hotmail.com> To: freebsd-questions@freebsd.org Subject: Re: networking won't come back up until reboot after ISP outage Message-ID: <hd4fe3$hab$1@ger.gmane.org> References: <4AF57EB4.3070104@gmail.com> <20091107180710.GA1056@jason-helfmans-macbook-pro.local> <4AF5BB31.5090304@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
umage wrote: > On 7. 11. 2009 19:07, Jason wrote: >> Have you tried restarting routing? >> >> /etc/rc.d/routing restart >> >> I have found the same symptoms with other outages and not performing the >> above. >> >> I have done "/etc/rc.d/netif restart" and "/etc/rc.d/routing restart". >> [snip] >>> > Thank you for the hint, I will try it when this happens again. > Note: the output of netstat -r was identical to what it is currently... > FYI: I've been using freebsd 6.2 -> 7.2 until now, and I never had to > intervene - the system resumed networking as usual. It might have > something to do with migrating to 8rc1 (most likely not), or that I'm > now using DHCP and there's a glitch somewhere (maybe). My configuration is most likely different from yours in that my DSL modem- router is configured for split-bridge. This allows the DSL modem to handle the PPPoE connection and login but passes the WAN IP to my FreeBSD gateway box via DHCP. So the NIC on my gateway is getting it's lease from the DSL modem instead of directly from Verizon. Your DHCP lease is probably coming directly from the ISP I would presume. When the connection goes down and comes back up it will take 5 minutes before my FreeBSD gateway box checks the lease and decides if a renewal is in order. This is automatic. If I am sitting in front of my computer and I want to speed this up I issue /etc/rc.d/netif restart on the gateway and it will come up and be happy in about 10 seconds, rather than waiting out the 5 minute time out. -Mike
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?hd4fe3$hab$1>