dhcpd and interface name
luzar722 at gmail.com
Mon Aug 15 13:06:13 UTC 2016
Alnis Morics wrote:
> On 08/15/2016 02:58 PM, Ernie Luzar 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?
> Did you quote it exactly how you have it it rc.conf? The syntax should be:
Let me restate to make more clear.
When starting dhcpd at boot time the rc.conf contains dhcpd_iface="rl0"
and dhcp is limited to the rl0 interface as desired.
But when restarting using "/usr/local/etc/rc.d/isc-dhcpd restart"
command, all interfaces on the host get included, not just rl0.
This is because the statements in rc.conf are not being reread when
using this restart command systax.
So I am thinking there must be some way to code the interface name in
the dhcpd.conf itself. I read the man pages and could not find anything
along this line.
So I am asking here, is there a dhcpd.conf statement for defining the
interface to use? If so, what is it?
More information about the freebsd-questions