From owner-freebsd-questions@FreeBSD.ORG Sat Nov 7 18:49:01 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 915E21065670 for ; Sat, 7 Nov 2009 18:49:01 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 4C16A8FC1D for ; Sat, 7 Nov 2009 18:49:01 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1N6qLL-0000Oa-Ow for freebsd-questions@freebsd.org; Sat, 07 Nov 2009 19:48:59 +0100 Received: from pool-70-21-18-103.res.east.verizon.net ([70.21.18.103]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 07 Nov 2009 19:48:59 +0100 Received: from nightrecon by pool-70-21-18-103.res.east.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 07 Nov 2009 19:48:59 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Followup-To: gmane.os.freebsd.questions Date: Sat, 07 Nov 2009 13:49:32 -0500 Lines: 38 Message-ID: References: <4AF57EB4.3070104@gmail.com> <20091107180710.GA1056@jason-helfmans-macbook-pro.local> <4AF5BB31.5090304@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-70-21-18-103.res.east.verizon.net Sender: news Subject: Re: networking won't come back up until reboot after ISP outage X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Nov 2009 18:49:01 -0000 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