[Kea-users] Subnet with Multi pool

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Kea-users] Subnet with Multi pool

surya
Hi 
I am new to kea DHCP services and I am  trying add multiple pools in the subnet config section  but it is throwing syntax error for me, I tried in different ways like:
------------------------------------------------------------------
1)  "subnet4": [
        {
                    "pools": [ { "pool":  "192.168.2.174 - 192.168.2.174" },
                                   { "pool":  "192.168.2.175 - 192.168.2.176" } ],
                 "subnet": "192.168.0.1/24"

        }
    ]
2)"subnet4": [
        {
                    "pools": [ { "pool":  "192.168.2.174 - 192.168.2.174,192.168.2.175 - 192.168.2.176" } ],
                 "subnet": "192.168.0.1/24"

        }
    ]
I didn't see any related stuff of muliple pools concept for kea in internet. Does kea supports muliple pools for subnet?
Thanks in advance and Any reference links can also be appreciated
Thank you 
surya 

_______________________________________________
Kea-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/kea-users
Reply | Threaded
Open this post in threaded view
|

Re: [Kea-users] Subnet with Multi pool

Francis Dupont
It is 1) but pools must be in the subnet range too.

> 1)  "subnet4": [
>         {
>                     "pools": [ { "pool":  "192.168.2.174 - 192.168.2.174" },
>                                    { "pool":  "192.168.2.175 -
> 192.168.2.176" } ],
>                  "subnet": "192.168.0.1/24"
                                      ^ 2
>
>         }
>     ]

Regards

Francis Dupont <[hidden email]>

PS: you should get an error message saying "does not match the prefix
of a subnet"...
_______________________________________________
Kea-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/kea-users