In subne4 add object reservations
"reservations": [
{
"hostname": "pxeclient1",
"hw-address": "52:54:00:f1:13:66",
"ip-address": "192.168.180.21"
},
{
"hostname": "pxeclient2",
"hw-address": "52:54:00:6d:f4:48",
"ip-address": "192.168.180.22"
}
]
check config with
kea-dhcp4 -t /etc/kea/kea-dhcp4.conf
restart service
systemctl restart kea-dhcp4-server
Just launch clients. IP address should be assigned correctly.