# packet data expression # Kea has no raw packet extractor in libeval # authoritative is mandatory authoritative; # empty configs are not accepted by Kea default-lease-time 1800; # pretty standard hardware superclass extracting the Ethernet address directly class "byhw" { match packet(28, 6); } subclass "byhw" 00:07:0E:36:48:19 { option host-name "test1"; } # raw option host-name = binary-to-ascii(16, 8, "-", packet(28, 6));