The part about editing this file to have dhcpd listen on a particular interface appears outdated:
I was able to get it to listen on a specific interface by editing this file:
This works, but I am not sure that this is the best place to make the edit. Can anyone suggest a better place, or confirm this is the best place?
- I created the file /etc/systemd/system/dhcpd4@.service, which did not exist in /usr/lib/systemd/system/
# nano /etc/systemd/system/dhcpd4\@.service
[Unit] Description=IPv4 DHCP server on %I Wants=network.target After=network.target [Service] Type=forking PIDFile=/run/dhcpd4.pid ExecStart=/usr/sbin/dhcpd -4 -q -pf /run/dhcpd4.pid %I KillSignal=SIGINT [Install] WantedBy=multi-user.target