From owner-freebsd-stable@FreeBSD.ORG Sun Jun 9 13:39:49 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id B7B0D553 for ; Sun, 9 Jun 2013 13:39:49 +0000 (UTC) (envelope-from haramrae@gmail.com) Received: from mail-we0-x235.google.com (mail-we0-x235.google.com [IPv6:2a00:1450:400c:c03::235]) by mx1.freebsd.org (Postfix) with ESMTP id 513081A04 for ; Sun, 9 Jun 2013 13:39:49 +0000 (UTC) Received: by mail-we0-f181.google.com with SMTP id p58so4116735wes.40 for ; Sun, 09 Jun 2013 06:39:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=K+i2M9UnsgRKX34wT6L8wFwzHlU+qCFyvHT6W0HE6fY=; b=CZwwxo4eiGcviIWiOHhaQv0Z3lhG15B4gxmvWnKt+UCYNwXf+O/cdUeIEEQWqWvspi j8t8kawBsAvaARzvNttsE7q4exvkI61IeBRY71ba2DiX0cd6h68rmB1d5F3gDhDpFQ0b 3dkM9B6MIxMvMKIzm5LXU13J7QzOVPmnW2JHhS7M15ZvMjhAnMf7bTZj/HBXXqdo/VNa 0yJ/fcML6rW8MPETi8BO4uN8wmUFEdfF+6xyZZ+eFWLzawnH3tbvBnjHix3krXUWMTzF IcpFfUoFClMYO8/gfy/6WrcctECHXutfV5dLH1DdNbotfwknVyLH14Wlc1ZSoAPqZ2pg 5ozQ== X-Received: by 10.180.99.232 with SMTP id et8mr2673601wib.17.1370785188424; Sun, 09 Jun 2013 06:39:48 -0700 (PDT) Received: from hollewijn.internal (8d690a59.ftth.concepts.nl. [141.105.10.89]) by mx.google.com with ESMTPSA id en3sm6212412wid.1.2013.06.09.06.39.46 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 09 Jun 2013 06:39:47 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Subject: Re: fxp0 interface going up/down/up/down (dhclient related?) From: Alban Hertroys In-Reply-To: <20130609114503.GB1922@michelle.cdnetworks.com> Date: Sun, 9 Jun 2013 15:39:45 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <55C24F26-5BE2-4621-A79A-AA83900A5903@gmail.com> References: <20130609114503.GB1922@michelle.cdnetworks.com> To: pyunyh@gmail.com X-Mailer: Apple Mail (2.1503) Cc: "freebsd-stable@freebsd.org" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jun 2013 13:39:49 -0000 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: >>=20 >> 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 >>=20 >> 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. >>=20 >=20 > 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? Alban Hertroys -- If you can't see the forest for the trees, cut the trees and you'll find there is no forest.