[kea-dev] Hardware ID as classification

Francis Dupont fdupont at isc.org
Tue Jun 21 21:00:41 UTC 2016


I should have asked first: what version do you use? I added the pkt4 stuff
in change 1110 so it is not in 1.0 (but for sure it will be in 1.1).
github can help you (cf https://github.com/isc-projects/kea.git)

Thanks

Francis Dupont <fdupont at isc.org>
Duane Zimmer writes:
> No worries, but I still get an invalid expression.  I don't have to write a=
>  custom hook for this?  I'm also using Centos 6.7 if that makes any differe=
> nce.
> 
> ERROR [kea-dhcp4.dhcp4/871] DHCP4_INIT_FAIL failed to initialize Kea server=
> : configuration error using file '/usr/local/etc/kea/kea.conf': expression:=
>  [substring(pkt4.mac,0,3)=3D=3D0x0a030e] error: <string>:1.11: Invalid char=
> acter: p at (/usr/local/etc/kea/kea.conf:27:15)
> 
> // CONFIG FILE
> 
>   "client-classes": [
>     { "name": "Equipment",
>       "test": "substring(pkt4.mac,0,3)=3D=3D0x0a030e"
>     }

=> the 11th character is the p of pkt4 so the lexer doesn't know the pkt4
keyword.


More information about the kea-dev mailing list