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.
-- 
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