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 <fdup...@isc.org> wrote:

> A priori it is not possible because the host reservation lookup is done
> after the subnet selection.
>
> Regards
>
> Francis Dupont <fdup...@isc.org>
>
_______________________________________________
Kea-users mailing list
Kea-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/kea-users

Reply via email to