dhcpd.conf fails to push options to fixed-address clients

Kenneth Porter shiva at sewingwitch.com
Tue Feb 15 22:58:00 UTC 2022


I use host declarations in dhcpd.conf to assigned fixed addresses to 
wireless access points (WAP), printers, and other IoT gear. I'm trying to 
assign a fixed address to a TP-Link Archer AX 20 being used as a WAP. The 
router sends a DHCP request for a renewed address about every 30 seconds, 
filling my dhcpd.log. I ran tcpdump to see what's going on and it looks 
like dhcpd isn't sending the requested parameter list which includes the 
netmask, lease time, and other useful items that are definitely configured 
in dhcpd.conf and which work for all my dynamic assignments. I probably 
never noticed it before with other devices because they don't default to a 
very short lease time when they don't get one in the DHCPACK.

My dhcpd.conf (after expanding file includes) can be viewed here. I tried 
it with hosts at top-level and within a group with the desired options.

<https://pastebin.com/yAjNziqm>

Here's what tcpdump shows. Note how the client requests lease length, 
subnet-mask, etc. but the server doesn't send them.

<https://pastebin.com/EbvphXh2>

I'm using dhcp-4.2.5-83.el7.centos.1.x86_64 on CentOS 7.9.2009.



More information about the dhcp-users mailing list