[Kea-users] reservations and classes

BÖSCH Christian boesch at fhv.at
Tue Jan 8 14:00:23 UTC 2019


Hello,

I want to allow only hosts with reservations and specific client class in some different subnets.
With isc-dhcp I used “allow members of …”

I tried the following below in kea, but that doesn’t seem to work.
Does anyone have an idea?

"Dhcp4": {
...
    "client-classes": [
        {
            "name": "cl-test",
            // "test": "member('KNOWN')",
            "test": "member('cl-test')",
            "only-if-required": true
        }
    ],
    "reservations": [
        {
            "hw-address": "fc:3f:db:36:09:aa",
            "hostname": "test",
            "client-classes": [ "cl-test" ]
        }
    ],
...
    "subnet4": [
  {
      "id": 151,
      "reservation-mode": "global",
      "pools": [ { "pool":  "172.21.151.10 - 172.21.151.250" } ],
      "subnet": "172.21.151.0/24",
      "require-client-classes": [ "cl-test" ]
  },
…..


Thanks,
Christian

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20190108/4a9600a6/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3492 bytes
Desc: not available
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20190108/4a9600a6/attachment.bin>


More information about the Kea-users mailing list