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

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Kea-users mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/kea-users

Reply via email to