From owner-freebsd-questions@FreeBSD.ORG Wed Nov 11 16:08:08 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 C1B95106566B for ; Wed, 11 Nov 2009 16:08:08 +0000 (UTC) (envelope-from theultramage@gmail.com) Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227]) by mx1.freebsd.org (Postfix) with ESMTP id 4F7008FC13 for ; Wed, 11 Nov 2009 16:08:08 +0000 (UTC) Received: by fxm27 with SMTP id 27so1236954fxm.3 for ; Wed, 11 Nov 2009 08:08:07 -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:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=pr9nU/CjbXm2zZbjxEloV+WzrnIjjWoopzgJX3dMUds=; b=nbgwr7QbbqWCJN/t1cgYFNedJmyFGRD28rVNfT3fHj0WOvrrm8OiIz223k8tway+Rn 6b2VYUGF9xQ1KCESd97HWg6Yt2J6H+fUPnjIFcQbOxhKjHhRmtKPG2NksGUM0aK2NKSR GLwUrrUA+FxRXznwIVBLiPKt1Hw6NBW9UvVzQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=ln8dEdBEifGARtgWk1GAlIu1gOAic2tl7jFJ5vBeZdXGFT7ZifLR3AOLLIAhtaOOt4 ZAZzMoZltp52xsj+HJY5gHdo0fRNKsz6hQbz5kUPWxBXmW7z0u2BnBxLlFPG7BnmjcC+ QrSSKqZZ3DdtDGmswg6HnrvEYmvmya2taedcI= Received: by 10.103.205.12 with SMTP id h12mr672524muq.108.1257955687094; Wed, 11 Nov 2009 08:08:07 -0800 (PST) Received: from ?192.168.0.31? ([217.75.87.14]) by mx.google.com with ESMTPS id i5sm7749260mue.8.2009.11.11.08.08.04 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 11 Nov 2009 08:08:04 -0800 (PST) Message-ID: <4AFAE13F.1040703@gmail.com> Date: Wed, 11 Nov 2009 17:07:27 +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: freebsd-questions@freebsd.org References: <4AF57EB4.3070104@gmail.com> <20091107180710.GA1056@jason-helfmans-macbook-pro.local> <4AF5BB31.5090304@gmail.com> <4AF7620A.9010709@gmail.com> In-Reply-To: <4AF7620A.9010709@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: Wed, 11 Nov 2009 16:08:08 -0000 On 9. 11. 2009 1:27, umage wrote: > > 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. > > In my case the router does get the renewed ip, as I described earlier. > However, even after waiting 8+ hours, the system will not recover from > the outage properly (reason unknown). That's what this thread is all > about. When I started the system today, I found that again it had no connectivity. I did some checks and then found that 'natd' was not running. But this is not happening that frequently, and seems to only have started after the last system update. Could be some sort of race condition. Is there a logfile that natd writes to, so that I may investigate the reason why it is exiting?