[Kea-users] PGSQL-host-reservation and leases in IPv6 with client-link-addr-option

Wojtkowiak, Georg wojtkowi at hs-mittweida.de
Fri Jun 8 09:34:31 UTC 2018


Hello there,

The main problem is, Kea doesn't save the mac-address in the leases-database when the client-link-addr-option and an IPv6-Relay is used. When I'm using different OS on one host system, kea gets two different DUIDs and rejects the request of the second host system. I think it must be possible to reallocate the "used" lease, if the client-link-addr-option is set, because it's the same system. Does anyone has an solution for this issue?


This issue in detail:
Our network is running dual-stack with DHCPv4 and DHCPv6. Since the old isc-dhcp our Host-Database bases on the MAC-Addresses, so it's impossible to get a working DUID-IPv6-address-assignment to all the hosts. Because of that, we want to use the client-link-addr-option (over a DHCP-Relay-Server) and also the host-reservation- and leases-database. So far, everything works fine on normally installed hosts with one OS.
The main problem is now, that we have mostly 3 "operating systems" on one and the same host system: PXE, Linux and windows.

For example:
1) host system is booting and starts PXE -> requests for an IPv4- and IPv6-address with client-link-addr-option -> Kea searches for an host entry in the database -> Kea searches for active leases but there are no active leses for this host in the moment -> Kea create a lease entry -> host get the reply (till now, everything is fine)
2) Now the User can choose either the local Windows or the network-boot-Linux (it does not matter which system the user is booting)
3) PXE starts the selected system (here Windows) -> Windows requests for an IPv4- and IPv6-address with client-link-addr-option and another DUID -> Kea searches for an host entry in the database -> Kea searches for active leases and finds the PXE-entry -> Kea compares the DUIDs, which are different to each other -> KEA sends a NAK to the client -> the client doesn't get an IPv6-address!

Best regards.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20180608/3c4968e8/attachment.htm>


More information about the Kea-users mailing list