Hi kea-users list,

I'm working on kea 1.4 and I have a few questions.

It's possible to match multiple classes for same subnet?

Please, forget the syntax check  on this example

Suppose I have 3 clases, and 3 IPv4 subnets... for example,

....

  "subnet4": [

 "client-classes": [
            {
                "name": "A"
            },
            {
                "name": "B"
            },

            {
                "name": "C"
            },

            {
                "name": "AorB",
                "test": "member('A') or member('B')",
                "only-if-required": true
            }
        ],

            {
                "subnet": "10.42.0.0\/16",
                "pools": [
                    {
                        "pool": "10.42.0.10 - 10.42.0.100"
                    }
                "require-client-classes": [ "AorB" ], /////this subnet must be selected only for hosts that match within  A or B classes
                ],
            {
                "subnet": "10.43.0.0\/16",
                "pools": [
                    {
                        "pool": "10.43.0.10 - 10.43.0.100"
                    }

                "client-class": "B",                 ],// //this subnet must be selected only for hosts that match within  B class

            {
                "subnet": "10.44.0.0\/16",
                "pools": [
                    {
                        "pool": "10.44.0.10 - 10.44.0.100"
                    },

                "client-class": "C", // //this subnet must be selected only for hosts that match within  C class

                ],

....

Thanks in advanced!

--

Juan

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

Reply via email to