[Kea-users] map class with pool

Satish Patel satish.txt at gmail.com
Sun Jun 3 04:46:04 UTC 2018


I am trying to map my classification with specific ip range, we have
/16 subnet and i want to assigned specific range to specific
classifier so trying to map client-class with pool but its not
working..

I have found example here:
https://github.com/isc-projects/kea/blob/master/doc/examples/kea4/classify.json


 "subnet4": [
        {
            "subnet": "10.20.1.0/24",
            "id": 10,
            "pools": [
                {
                    "pool": "10.20.1.10 - 10.20.1.20",
                     "client-class": "foo"
                }
             ],



Error

[root at dhcp kea]# /usr/local/sbin/keactrl start
INFO/keactrl: Starting /usr/local/sbin/kea-dhcp4 -c
/usr/local/etc/kea/kea-dhcp4.conf
2018-06-03 00:42:40.940 ERROR [kea-dhcp4.dhcp4/19854] DHCP4_INIT_FAIL
failed to initialize Kea server: configuration error using file
'/usr/local/etc/kea/kea-dhcp4.conf':
/usr/local/etc/kea/kea-dhcp4.conf:244.8-21: got unexpected keyword
"client-class" in pools map.
INFO/keactrl: Starting /usr/local/sbin/kea-ctrl-agent -c
/usr/local/etc/kea/kea-ctrl-agent.conf



More information about the Kea-users mailing list