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.


_______________________________________________
Kea-users mailing list
Kea-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/kea-users

Reply via email to