t1...@protonmail.ch (Tinker), 2018.02.27 (Tue) 07:12 (CET): > Just so I not missed anything in reading the man pages [1]: > > If you have a machine with an external and an internal NIC e.g. em0 and > em1 , and you want to serve DHCP only on em1 , then the only way to do > that is as a dhcpd argument, e.g. add a line 'dhcpd="em1"' to > /etc/rc.conf.local or alternatively add a line "dhcpd em1" to > /etc/rc.local - there is _no way_ to specify in /etc/dhcpd.conf which > network interfaces dhcpd will bind/serve on, right? > > Has this been for a particular reason (i.e. it's a feature) or just > noone bothered? > > The usecase I describe above should be typical.
dhcpd(8) reads the subnet declarations from dhcpd.conf(5) and get's to the interface from there. It does not listen like other network daemons but uses bpf(4). Try to block it with pf(4)... ;-) Marcus