[Kea-users] group by mac addresses ?

Carsten Strotmann carsten at strotmann.de
Tue Dec 16 13:35:04 UTC 2025


Hi,

On 16 Dec 2025, at 14:29, Veronique Lefebure via Kea-users wrote:

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

in Kea-DHCP 3.x, this can be done also with the "match" regular expression statement (less verbose):

"test": "match('00:00:12:34:56:78|00:00:12:34:56:79|...',hexstring(pkt4.mac, ':'))"

Carsten


More information about the Kea-users mailing list