[Kea-users] dynamic hostname Option 12 in a kea pool
Joop Boonen
joop.boonen at credativ.de
Wed Dec 17 10:29:15 UTC 2025
Dear all,
I didn't find any option to implement dynamic host-names in kea pool.
Like this in isc dhcpd.
subnet 172.26.250.0 netmask 255.255.254.0 {
set machex = binary-to-ascii(16, 8, "", substring(hardware, 1, 6));
set macsuffix = suffix(machex, 6);
set hstnm = concat("vm-", macsuffix);
option host-name = hstnm; # Option 12
-->8--
i.e.
pool {
range 172.26.250.64 172.26.251.250;
set machex = binary-to-ascii(16, 8, "", substring(hardware, 1, 6));
set macsuffix = suffix(machex, 6);
set hstnm = concat("vm-", macsuffix);
option host-name = hstnm; # Option 12
-->8--
Does anyone know if this is possible, in kea?
I'm looking into kea, as it's supported (isc dhcp is EOL) and isc dhcp seems
to have a bug, that might be not fixed?
https://gitlab.isc.org/isc-projects/dhcp/-/issues/1068
Regards,
Joop Boonen.
More information about the Kea-users
mailing list