[Bug 226260] dhclient tells me $if is not dhcp-enabled even though it is

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Feb 28 11:42:48 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=226260

            Bug ID: 226260
           Summary: dhclient tells me $if is not dhcp-enabled even though
                    it is
           Product: Base System
           Version: 11.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: conf
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: bas at area536.com

I'm in the process of setting up bridging, so I add the following lines to
/etc/rc.conf:

cloned_interfaces="bridge0"
ifconfig_bridge0="addm bge0 SYNCDHCP up"
ifconfig_bge0="up"

This works just fine. However, when I remove the files from /etc/rc.conf and
instead add them to /etc/rc.conf.d/netif things break. The netif file does get
processed, but /etc/rc.d/dhclient incorrectly throws the following warning:

'bridge0' is not a dhcp-enabled interface

In my view, it shouldn't make a difference whether I put my configuration in
/etc/rc.conf or in /etc/rc.donf.d/netif but apparently it does.

I'm fairly attached to having separate files /etc/rc.conf.d because it makes
managing the setup through Puppet just so much easier.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list