networking won't come back up until reboot after ISP outage
Michael Powell
nightrecon at hotmail.com
Sat Nov 7 18:49:01 UTC 2009
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
More information about the freebsd-questions
mailing list