Date: Mon, 10 Jun 2013 09:52:58 +0900 From: YongHyeon PYUN <pyunyh@gmail.com> To: Alban Hertroys <haramrae@gmail.com> Cc: "freebsd-stable@freebsd.org" <freebsd-stable@freebsd.org> Subject: Re: fxp0 interface going up/down/up/down (dhclient related?) Message-ID: <20130610005258.GB3771@michelle.cdnetworks.com> In-Reply-To: <55C24F26-5BE2-4621-A79A-AA83900A5903@gmail.com> References: <EBA9A2E3-3323-4069-9E58-ED4C431FDE4E@gmail.com> <20130609114503.GB1922@michelle.cdnetworks.com> <55C24F26-5BE2-4621-A79A-AA83900A5903@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jun 09, 2013 at 03:39:45PM +0200, Alban Hertroys wrote: > 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: > >> > >> 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. > > <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? No, I already tested the patch and will commit today.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130610005258.GB3771>