dhclient behaviour on link status changes

YongHyeon PYUN pyunyh at gmail.com
Thu Apr 5 04:22:48 UTC 2012


On Thu, Apr 05, 2012 at 12:39:46PM +1000, Peter Jeremy wrote:
> On 2012-Apr-05 07:17:49 +1000, Peter Jeremy <peterjeremy at acm.org> wrote:
> >/etc/devd.conf includes a rule to start dhclient when an Ethernet or
> >802.11 interface reports "link up", with a comment: "No link down rule
> >exists because dhclient automatically exits when the link goes down."
> >IMHO, this is the desired behaviour, unfortunately it's not the way
> >dhclient actually behaves.  In my experience, dhclient will exit when
> >the interface goes down but ignores link status changes.
> 
> I found an easy way to correct the behaviour & submitted bin/166656
> 

Hmm, wouldn't this make dhclient die when speed/duplex/flow control
of established connection is changed by admin or remote link partner?
For instance,
#ifconfig foo0 media mdiaopt flow

> -- 
> Peter Jeremy




More information about the freebsd-net mailing list