[Kea-users] Client Class from MySQL

Nitzan Tzelniker nitzan.tzelniker at gmail.com
Tue Jan 1 14:15:52 UTC 2019


Hi Francis,

I am not looking for subnet selection but for pool selection inside the
same subnet
I already tried with  require-client-classes  and   client-class  but the
results are the same
Please see the configuration bellow

Thanks

Nitzan

BTW the certificate for lists.isc.org expired at Dec 30 2018 and chrome
does not let users to see the site


    "client-classes": [
        {
            "name": "Internet",
            "only-if-required": true,
            "test": "member('ALL')"
        },
        {
            "name": "Internet_Class",
            "test": "member('KNOWN') and member('Internet')"
        },
        {
            "name": "NO_CLASS",
            "test": "member('KNOWN') and not member('Internet')"
        },
        {
            "name": "NOT_KNOWN",
            "test": "member('UNKNOWN')"
        }
    ],


    "subnet4": [
        {
            "subnet": "10.22.131.0/24",
            "authoritative": true,
            "renew-timer": 30,
            "rebind-timer": 45,
            "valid-lifetime": 90,
            "pools": [
                     {
                       "pool": "10.22.131.110 - 10.22.131.190",
                       "client-class": "NO_CLASS"
                     },
                     {
                       "pool": "10.22.131.10 - 10.22.131.90",
                       "require-client-classes": [ "Internet_Class" ]
                     },
                     {
                       "pool": "10.22.131.200 - 10.22.131.220",
                       "client-class": "NOT_KNOWN"
                     }
             ],

            "option-data": [
                {
                    "name": "routers",
                    "data": "10.22.131.200"
                }
            ],
        }
    ]

}

On Tue, Jan 1, 2019 at 3:26 PM Francis Dupont <fdupont at isc.org> wrote:

> A priori it is not possible because the host reservation lookup is done
> after the subnet selection.
>
> Regards
>
> Francis Dupont <fdupont at isc.org>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20190101/710d25e5/attachment.htm>


More information about the Kea-users mailing list