dhcpd and interface name

Ian Smith smithi at nimnet.asn.au
Tue Aug 16 11:13:22 UTC 2016

In freebsd-questions Digest, Vol 637, Issue 1, Message: 9
On Mon, 15 Aug 2016 07:58:03 -0400 Ernie Luzar <luzar722 at gmail.com> wrote:

 > When starting dhcpd at boot time the rc.conf contains   dhcpd_iface"rl0" 
 >   but when restarting using /usr/local/etc/rc.d/isc-dhcpd restart all 
 > interfaces on the host get included.
 > Is there a dhcpd.conf statement for defining the interface to use?

Joe there's a typo, whether just in your messages or in your rc.conf:

****  This port installs dhcp daemon, but doesn't invoke dhcpd by default. If
      you want to invoke dhcpd at startup, put these lines into /etc/rc.conf.

            dhcpd_enable="YES"                          # dhcpd enabled?
            dhcpd_flags="-q"                            # command option(s)
            dhcpd_conf="%%PREFIX%%/etc/dhcpd.conf"      # configuration file
            dhcpd_ifaces=""                             # ethernet interface(s)
            dhcpd_withumask="022"                       # file creation mask

As Alnis already pointed out, it's dhcpd_ifaces, plural.


More information about the freebsd-questions mailing list