Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    kea dhcp and client id

    Scheduled Pinned Locked Moved DHCP and DNS
    1 Posts 1 Posters 709 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      chid
      last edited by

      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=006970686F6E65

      I 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.

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.