fxp0 interface going up/down/up/down (dhclient related?)
Alban Hertroys
haramrae at gmail.com
Sun Jun 9 13:39:49 UTC 2013
On Jun 9, 2013, at 13:45, YongHyeon PYUN <pyunyh at 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?
Alban Hertroys
--
If you can't see the forest for the trees,
cut the trees and you'll find there is no forest.
More information about the freebsd-stable
mailing list