From ArchWiki
Latest comment: 21 March 2022 by Andrei Korshikov in topic Listening on only one interface - Configuring dhcpd

service change

Thanks for this article. I have found that the service file needs `Requires` instead of `Wants`. Rizsotto (talk) 18:38, 2 July 2015 (UTC)Reply[reply]

Use for PXE

It would be great if there was a little more on using dhcpd with a tftp server to enable pxe network installs. I realise there's a link here to the Arch Wiki PXE page, but that page only talks about dnsmasq, not dhcpd+tftpd. pxeboot installs are in fact the only area I've ever found otherwise superb Arch documentation to be lacking. Even some sort of cross-correlation between how it's done with dnsmasq and equivalent procedures with dhcp/tftp would be helpful, if that's possible. --Bananabrain (talk) 00:02, 7 August 2015 (UTC)Reply[reply]

"pid" files for services

"Service file." If we are going to run separate instances for network interfaces, we should use different "pid" files for them, is not it? So the service file should contain the following.

ExecStart=/usr/bin/dhcpd -4 -q -cf /etc/dhcpd.conf -pf /run/ %I

--Beroal (talk) 06:52, 8 November 2016 (UTC)Reply[reply]

Listening on only one interface - Configuring dhcpd

In order to exclude an interface, you must create an empty declaration for the subnet that will be configured on that interface.

But the documentation says that the DHCP daemon will only listen on interfaces for which it finds a subnet declaration in the /etc/dhcp/dhcpd.conf file. It can easily be proven. I've added declaration for and got this log message: No subnet declaration for wifi ( ** Ignoring requests on wifi. If this is not what you want, please write a subnet declaration in your dhcpd.conf file for the network segment to which interface wifi is attached. ** Andrei Korshikov (talk) 19:51, 21 March 2022 (UTC)Reply[reply]

I have tried the guide on the wiki itself, and can confirm that the above is true. I will update the wiki. I have added Template:Accuracy and Template:Out of date statuses to the relevant sections, hopefully someone else can confirm the removal and/or discuss it here.