We have investigated this today and it appears we do have some problem in the code with the reservations by client identifier. There is no workaround for this and the only way to make it usable is to patch the code.
The relevant Kea ticket is here: http://kea.isc.org/ticket/5102 We will release the fix in Kea 1.2 but if you're ok with patching your Kea version locally, you're welcome to use the patch provided in the ticket description. This should fix the problem. I'd appreciate if you let me know how it works for you. Thanks for pointing out the issue. Marcin Siodelski ISC On 05.01.2017 10:41, Olivier Français wrote: > Hello, > > I think I have the same issue. I try to do host reservation with a > client-id and a cisco device without success. > It works with mac address, but not with client-id. > > I've try to change the identifiers for : > "host-reservation-identifiers": [ "auto" ] > and > "host-reservation-identifiers": [ "client-id" ] > but it doesn't work. > > My device get and ip address, but not the reserved IP. > > I took the client-id value from the lease table : > > kea=> SELECT * FROM lease4; > -[ RECORD 1 ]--+----------------------------- > address | 3232235782 > hwaddr | \xc8f9f9f79440 > client_id | \x0073772d3235373431332d326b > valid_lifetime | 180 > expire | 2017-01-05 09:35:55+00 > subnet_id | 1 > fqdn_fwd | t > fqdn_rev | t > hostname | sw-257413-2k > state | 0 > > kea=> SELECT * FROM hosts; > -[ RECORD 1 ]---------+----------------------------- > host_id | 3 > dhcp_identifier | \x0073772d3235373431332d326b > dhcp_identifier_type | 3 > dhcp4_subnet_id | 1 > dhcp6_subnet_id | > ipv4_address | 3232235801 > hostname | > dhcp4_client_classes | > dhcp6_client_classes | > dhcp4_next_server | 16777216 > dhcp4_server_hostname | > dhcp4_boot_file_name | > > > I use PostgreSQL 9.4.10 with Kea : > 1.1.0 > tarball > linked with: > log4plus 1.1.2 > OpenSSL 1.1.0c 10 Nov 2016 > database: > MySQL backend 5.0, library 10.0.28-MariaDB > PostgreSQL backend 3.0, library 90409 > Memfile backend 2.0 > > > If it can help. > > Thanks > > > > _______________________________________________ > Kea-users mailing list > [email protected] > https://lists.isc.org/mailman/listinfo/kea-users > _______________________________________________ Kea-users mailing list [email protected] https://lists.isc.org/mailman/listinfo/kea-users
