From owner-freebsd-questions@FreeBSD.ORG Sat Nov 7 18:24:02 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 D2B361065670 for ; Sat, 7 Nov 2009 18:24:02 +0000 (UTC) (envelope-from theultramage@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.154]) by mx1.freebsd.org (Postfix) with ESMTP id 604AC8FC08 for ; Sat, 7 Nov 2009 18:24:02 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id d23so843227fga.13 for ; Sat, 07 Nov 2009 10:24:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=qZFZvyLxMqRn9ZUdPOzJI5DAVspyEOOW13TKfPUcH0Q=; b=gwguI//IBXwyR6C2+g/mcxCZ6L2LaK6oosVft6a+UmTXhFKwqzQXS7ub+T2aGn1wao 3mudJCl5KojIXF1IcMo9Ms+0bdIij3g5VmOIfBCrGUUCesLhbf7SbG4j0O3Ml5FaV2B9 yjM9kE9RGnhm7oQX/g6gOo+QDa2eOQ3VtC9hU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=UEEbueOEgbfcvY12zsFQ0cBfEK0xAYF3pdhTrtG7vo6uMbU/NWvlFlnMNleRkgUStH UqxUMcoDRGAQPCpaV9Jtm/7xpjWRwFxjZV0OktzOGsW3Stw4rVRWZb+RfQV86NyF7/mC aYflJkpfKRtk8YFB5GQ/yiXNQfTIGbkOGhL9g= Received: by 10.87.74.30 with SMTP id b30mr5610503fgl.15.1257618241347; Sat, 07 Nov 2009 10:24:01 -0800 (PST) Received: from ?192.168.0.31? ([217.75.87.14]) by mx.google.com with ESMTPS id e3sm3131622fga.3.2009.11.07.10.24.00 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 07 Nov 2009 10:24:00 -0800 (PST) Message-ID: <4AF5BB31.5090304@gmail.com> Date: Sat, 07 Nov 2009 19:23:45 +0100 From: umage User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.4pre) Gecko/20090915 Thunderbird/3.0b4 MIME-Version: 1.0 To: Jason References: <4AF57EB4.3070104@gmail.com> <20091107180710.GA1056@jason-helfmans-macbook-pro.local> In-Reply-To: <20091107180710.GA1056@jason-helfmans-macbook-pro.local> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org 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:24:03 -0000 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". > > Wtih using these commands, I have found this to be successful in > restoring > network interfaces communication, without having to reboot. > > Hope this helps. > > > On Sat, Nov 07, 2009 at 03:05:40PM +0100, umage thus spake: >> Hello. I have had 3 network outages this week, and everytime it >> happened, I found that my freebsd8rc1 machine/router was unable to >> communicate over the WAN interface even after the outages ended. A >> reboot helps, but that's not an acceptable solution. >> >> The symptoms are very weird: even though dhclient successfully >> receives a dhcp lease and sets up the interface, I am unable to ping >> the gateway. The ifconfig utility says the interface is up and >> configured correctly; netstat -arn says routes are set up as they >> should be; and tcpdump reports random network traffic arriving on the >> interface (so the network itself is up and running). Taking the >> interface down and back up doesn't help, reloading ipfw rules doesn't >> help. >> >> I have some more things to test - whether tcpdump reports any >> attempts at outgoing traffic, and whether disconnecting/reconnecting >> the network cable will do anything. And maybe reverting ipfw rules to >> what I've been using before. Other than this, I have no idea what >> else to do... >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >> 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).