Hi,
On 16 Dec 2025, at 12:20, lejeczek via Kea-users wrote:
> Hi guys.
>
> I had in my old dhcpd this, which I believed worked:
>
> group {
> # VMware
> ignore client-updates;
> deny client-updates;
> ddns-domainname "vmware.mine"; # this is critical regardless of the rest,
> for DDNS
> option fqdn.no-client-update true;
> option fqdn.server-update true;
> option fqdn.fqdn "vmware.mine";
> option domain-name "vmware.mine";
> default-lease-time 86400;
> max-lease-time 86400;
>
> host hub.vcentre.vmware {
> hardware ethernet 02:98:1b:6d:36:12;
> fixed-address 10.3.1.230;
> option host-name "vcenter";
> }
> host vcenter.vmware {
> hardware ethernet 02:02:bf:56:c0:a0;
> fixed-address 10.1.1.230;
> option host-name "vcenter";
> }
> host hub.esx1.vmware {
> hardware ethernet 02:9d:f7:79:a7:17;
> fixed-address 10.3.1.231;
> option host-name "esx1";
> }
> ....
> ...
> }
>
> Simple idea there was to have a group of hosts qualified by their mac
> addresses, then such group would share some options.
> I've not started using Kea yet and cannot figure out how such logic can be
> realized in Kea - would some experts mind shading some light on how this is
> done?
I would use client-classes in reservations, which is similar to the ISC-DHCP
configuration you've posted:
"reservations": [
{
"hw-address": "02:98:1b:6d:36:12",
"ip-address": "10.3.1.230",
"hostname": "vcenter",
"client-classes": [ "vmware" ]
},
{
"hw-address": "02:9d:f7:79:a7:17",
"ip-address": "10.3.1.231",
"hostname": "esx1",
"client-classes": [ "vmware" ]
}
],
"client-classes": [
{
"name": "vmware",
"ddns-send-updates": true,
"ddns-override-no-update": true,
"ddns-override-client-update": true,
"ddns-replace-client-name": "always",
"option-data": [
{
"name": "domain-name",
"data": "vmware.mine"
},
{
"name": "domain-name",
"data": "vmware.mine"
}
]
[...]
Carsten
--
ISC funds the development of this software with paid support subscriptions.
Contact us at https://www.isc.org/contact/ for more information.
To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.
[email protected]