Installation and configuration of the ISC DHCP server

Peter Boy, Emmanuel Seyman

Status Work in progress

Author: n/a | Creation Date: n/a | Last update: n/a | Related Fedora Version(s): 35,36

Successor: DHCP and DDNS server kea (

Installing and configuring dhcpd

Install the dhcp server package.
# dnf install dhcp  // doesn't exist, renamed dhcp-server
Create a simple configuration for the dhcp server at /etc/dhcp/dhcpd.conf
subnet netmask {
default-lease-time 600;
max-lease-time 7200;
ddns-update-style none;
option domain-name-servers;
option routers;
Test your configuration and address any problems you discover.
systemctl start dhcpd
journalctl --unit dhcpd --since -2m --follow

configuration for pxe boot

Add entries to point clients to their bootloader and the server that provides it to your subnet configuration in /etc/dhcp/dhcpd.conf. Because DHCP clients provide the server with identifying information along with their address request, BIOS clients and UEFI clients can each be directed to the correct bootloader. Using latest processor architecture option codes, which may be found on the IANA DHCPv6 registration page, allows multiple architectures to share a single DHCP server.
# refer to RFC4578 & IANA DHCPv6 for possible arch option values
option arch code 93 = unsigned integer 16;
subnet netmask {
if option arch = 00:07 {
# x64 UEFI
filename "uefi/shimx64.efi";
} else if option arch = 00:0b {
# aarch64 UEFI
filename "uefi/shimaa64.efi";
server-name "";
} else {
filename "pxelinux.0";
Restart the dhcp service to check the configuration and make changes as needed.
systemctl restart dhcpd
journalctl --unit dhcpd --since -2m --follow