Using MAC address instead of DUID as primary key for DHCPv6 leases
Hello,
we have the following setup: we use static leases for computers in a school. We have a fairly diverse deployment with a PXE netboot, that either continues to builtin windows or some prepared linux image depending on the use case. We want to assign static IPv6 addresses to individual computers, regardless of whatever system they're currently running.
As far as I understand, Kea always uses DUIDs as primary identifiers for leases, which means that even though our reservations are identified only by MAC addresses, whenever one system gets assigned a lease, the others don't get it as they have different DUIDs. The most painful example of this: even computers which never boot anything but windows always boot into PXE for a few seconds before skipping to Windows. PXE however also receives an IPv6 address from DHCP and being the first to boot, it usually usurps the static address and Windows never gets it.
Am I correct that there is no way to force Kea to only differentiate leases by MAC address and ignore the fact that DUIDs are different? You can probably understand that ensuring all systems on the same device (including PXE) to have the same DUID is unmanageable.
Thank you.