From owner-freebsd-stable@FreeBSD.ORG Mon Jun 10 00:53:10 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id DD4FD9D4 for ; Mon, 10 Jun 2013 00:53:10 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-pd0-f177.google.com (mail-pd0-f177.google.com [209.85.192.177]) by mx1.freebsd.org (Postfix) with ESMTP id B8C5411AA for ; Mon, 10 Jun 2013 00:53:10 +0000 (UTC) Received: by mail-pd0-f177.google.com with SMTP id p10so1305213pdj.36 for ; Sun, 09 Jun 2013 17:53:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=O4JCpYZ0AgnfjL+wyIG3FDWh6TeOIdhh2wa8p/Jswn4=; b=TYxt5tTXo950tgzPncUsOk8PsJE20DeT1KMwcyPZase59FQctLCXCu3mWRd2SWydiu qKXjeb2h/cdz01aGTPnl5421Pks06Jj1D5L5rEimT70tRX5efN22VmmNZY6okvrFdq7Y Uq1eG9PuZ8uGqTSkpuSTj6cxDyjgEmuArIBKLvXoIIAj9ohhkBqlHm+lR9NNw5U27cuQ EZXt/kYio5cCQ33pwN9eOQf2fWCHzmxIYu74Y3/wQ2IQHaN9RKxR4EzYaCBfVv/VsvYw Wtl9FjxMyxzrjo4/Ngtnj4RR0THf3o7u8pimTgph1BA5VcEbINC4ij7zvdv35/gcJtGq i4vw== X-Received: by 10.66.159.195 with SMTP id xe3mr11770426pab.49.1370825590188; Sun, 09 Jun 2013 17:53:10 -0700 (PDT) Received: from pyunyh@gmail.com (lpe4.p59-icn.cdngp.net. [114.111.62.249]) by mx.google.com with ESMTPSA id q8sm13163303pan.12.2013.06.09.17.53.07 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Sun, 09 Jun 2013 17:53:09 -0700 (PDT) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Mon, 10 Jun 2013 09:52:58 +0900 From: YongHyeon PYUN Date: Mon, 10 Jun 2013 09:52:58 +0900 To: Alban Hertroys Subject: Re: fxp0 interface going up/down/up/down (dhclient related?) Message-ID: <20130610005258.GB3771@michelle.cdnetworks.com> References: <20130609114503.GB1922@michelle.cdnetworks.com> <55C24F26-5BE2-4621-A79A-AA83900A5903@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <55C24F26-5BE2-4621-A79A-AA83900A5903@gmail.com> User-Agent: Mutt/1.4.2.3i Cc: "freebsd-stable@freebsd.org" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jun 2013 00:53:10 -0000 On Sun, Jun 09, 2013 at 03:39:45PM +0200, Alban Hertroys wrote: > On Jun 9, 2013, at 13:45, YongHyeon PYUN wrote: > > > On Sun, Jun 09, 2013 at 12:21:37PM +0200, Alban Hertroys wrote: > >> I'm having an issue where my fxp0 interface keeps looping between DOWN/UP, with dhclient requesting a lease each time in between. I think it's caused by dhclient: > >> > >> solfertje # dhclient -d fxp0 > >> DHCPREQUEST on fxp0 to 255.255.255.255 port 67 > >> send_packet: Network is down > >> DHCPREQUEST on fxp0 to 255.255.255.255 port 67 > >> DHCPACK from 109.72.40.1 > >> bound to 141.105.10.89 -- renewal in 7200 seconds. > >> fxp0 link state up -> down > >> fxp0 link state down -> up > >> DHCPREQUEST on fxp0 to 255.255.255.255 port 67 > >> DHCPACK from 109.72.40.1 > >> bound to 141.105.10.89 -- renewal in 7200 seconds. > >> fxp0 link state up -> down > >> fxp0 link state down -> up > >> DHCPREQUEST on fxp0 to 255.255.255.255 port 67 > >> DHCPACK from 109.72.40.1 > >> bound to 141.105.10.89 -- renewal in 7200 seconds. > >> fxp0 link state up -> down > >> fxp0 link state down -> up > >> DHCPREQUEST on fxp0 to 255.255.255.255 port 67 > >> DHCPACK from 109.72.40.1 > >> bound to 141.105.10.89 -- renewal in 7200 seconds. > >> fxp0 link state up -> down > >> fxp0 link state down -> up > >> DHCPREQUEST on fxp0 to 255.255.255.255 port 67 > >> DHCPACK from 109.72.40.1 > >> bound to 141.105.10.89 -- renewal in 7200 seconds. > >> fxp0 link state up -> down > >> ^C > >> > >> In above test I turned off devd (/etc/rc.d/devd stop) and background dhclient (/etc/rc.d/dhclient stop fxp0), and I still go the above result. There's practically no time spent between up/down cycles, this just keeps going on and on. > >> fxp0 is the only interface that runs on DHCP. The others have static IP's. > >> > > > > Try attached patch and let me know whether it also works for you. > > > > > I'm now running with this patch and the symptoms seem to have gone away. Thanks! > > Is there anything I should be aware of with this patch or anything you'd like to know about how it runs? No, I already tested the patch and will commit today.