Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Feb 2018 11:42:46 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 226260] dhclient tells me $if is not dhcp-enabled even though it is
Message-ID:  <bug-226260-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D226260

            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@FreeBSD.org
          Reporter: bas@area536.com

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

cloned_interfaces=3D"bridge0"
ifconfig_bridge0=3D"addm bge0 SYNCDHCP up"
ifconfig_bge0=3D"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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-226260-8>