kea dhcp and client id
-
Migrated from ISC DHCP to KEA and dhcp is failing to match client id. netgate version is 23.09
Config for a client looks like
{ "client-id": "'\\000iphone'", "ip-address": "192.168.10.51", "hostname": "iphone" },
Logs shows no match for client id
Nov 21 10:13:04 homegw kea-dhcp4[27429]: DEBUG [kea-dhcp4.hosts.0x6902a1015f00] HOSTS_CFG_GET_ONE_SUBNET_ID_IDENTIFIER get one host with IPv4 reservation for subnet id 1, identified by client-id=006970686F6E65
Nov 21 10:13:04 homegw kea-dhcp4[27429]: DEBUG [kea-dhcp4.hosts.0x6902a1015f00] HOSTS_CFG_GET_ALL_IDENTIFIER get all hosts with reservations using identifier: client-id=006970686F6E65
Nov 21 10:13:04 homegw kea-dhcp4[27429]: DEBUG [kea-dhcp4.hosts.0x6902a1015f00] HOSTS_CFG_GET_ALL_IDENTIFIER_COUNT using identifier client-id=006970686F6E65, found 0 host(s)
Nov 21 10:13:04 homegw kea-dhcp4[27429]: DEBUG [kea-dhcp4.hosts.0x6902a1015f00] HOSTS_CFG_GET_ONE_SUBNET_ID_IDENTIFIER_NULL host not found using subnet id 1 and identifier client-id=006970686F6E65I have to add prefix \000 to client-id config in server for it to match in ISC DHCP. What changes do I need for it to work with kea dhcp?
I tried removing the \000 prefix and that doesnt seem to help.