[Kea-users] group by mac addresses ?

lejeczek peljasz at yahoo.co.uk
Thu Dec 18 13:07:28 UTC 2025


I've been trying - thinking is the easiest to read - this 
syntax:
```
...
     "client-classes": [
         {
             "name": "VMWARE",
             "test": "(pkt4.mac == 0x02981b6d3612 or 
pkt4.mac == 0x0202bf56c0a0 or pkt4.mac == 029df779a717 or 
pkt4.mac == 02f6e218dd40 or pkt4.mac == 02a632946d96 or 
pkt4.mac == 027aeb9b8715 or pkt4.mac == 029521b6cb87 or 
pkt4.mac == 02804c4e9f14)",
             "option-data": [
...
```
but KEA fails with:

kea-dhcp4[1919448]: 2025-12-18 14:03:14.719 ERROR 
[kea-dhcp4.dhcp4/1919448.140155453429888] DHCP4_PARSER_FAIL 
failed to create or run parser for configuration element 
client-classes: expression: [(pkt4.mac == 0x02981b6d3612 or 
pkt4.mac == 0x0202bf56c0a0 or pkt4.mac == 029df779a717 or 
pkt4.mac == 02f6e218dd40 or pkt4.mac == 02a632946d96 or 
pkt4.mac == 027aeb9b8715 or pkt4.mac == 029521b6cb87 or 
pkt4.mac == 02804c4e9f14)] error: <string>:1.77: Invalid 
character: d at (/etc/kea/kea-dhcp4.conf:21:21)


is it because of KEA version which in my case is 2.6.4 ?
thanks, L.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20251218/34b437e4/attachment.htm>


More information about the Kea-users mailing list