bridge & dhcp

Andrew Thompson thompsa at
Wed Jun 2 23:58:20 UTC 2010


> r179003 | brooks | 2008-05-15 13:06:10 +1200 (Thu, 15 May 2008) | 9 lines
>Change the default value of synchronous_dhclient to NO.
>To preserve the existing behavior of etc/rc.d/netif, add code to wait
>up to if_up_delay seconds (30 seconds by default) for a default route to
>be configured if there are any dhcp interfaces.  This should be extended
>to test that the interface is actually up.

As far as I can see this means a bridge interface no longer works when
set to dhcp on boot, as the above assumes devd will start dhclient.
Firstly it does not generate link-state events which I patched for
(same as the recent tap(4) change) but the bridge also doesn't support
the SIOCGIFMEDIA ioctl to match "ethernet" in the 2nd part of the

notify 0 {
        match "system"          "IFNET";
        match "type"            "LINK_UP";
        media-type              "ethernet";
        action "/etc/rc.d/dhclient quietstart $subsystem";

What is the best way to fix this?


More information about the freebsd-current mailing list