On Sun, Jun 09, 2013 at 03:39:45PM +0200, Alban Hertroys wrote: > On Jun 9, 2013, at 13:45, YongHyeon PYUN <[email protected]> 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. _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[email protected]"
