Date: Sun, 9 Jun 2013 15:39:45 +0200 From: Alban Hertroys <haramrae@gmail.com> To: pyunyh@gmail.com Cc: "freebsd-stable@freebsd.org" <freebsd-stable@freebsd.org> Subject: Re: fxp0 interface going up/down/up/down (dhclient related?) Message-ID: <55C24F26-5BE2-4621-A79A-AA83900A5903@gmail.com> In-Reply-To: <20130609114503.GB1922@michelle.cdnetworks.com> References: <EBA9A2E3-3323-4069-9E58-ED4C431FDE4E@gmail.com> <20130609114503.GB1922@michelle.cdnetworks.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Jun 9, 2013, at 13:45, YongHyeon PYUN <pyunyh@gmail.com> 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. > <fxp.init.diff> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55C24F26-5BE2-4621-A79A-AA83900A5903>