Hi,
For that purpose we have defined a class where we test the mac address like:

 "test": "(pkt4.mac == 0x000012345678 or pkt4.mac == 0x000012345679 or ...)"

More in 16. Client Classification — Kea 3.1.5 
documentation<https://kea.readthedocs.io/en/latest/arm/classify.html#configuring-classes>

Hope it helps.
Cheers,
Veronique
________________________________
From: Kea-users <[email protected]> on behalf of lejeczek via 
Kea-users <[email protected]>
Sent: Tuesday, December 16, 2025 12:20 PM
To: Kea user's list <[email protected]>
Cc: lejeczek <[email protected]>
Subject: [Kea-users] group by mac addresses ?

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?
many thanks, L.
-- 
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]

Reply via email to