[Kea-users] subnet_id - what values can you use?

Włodzimierz Wencel wlodek at isc.org
Wed Sep 13 16:09:34 UTC 2017


Hello,

just don't use "" with numeric values. "id":4250, should work.

Wlodek


On 09/13/2017 05:59 PM, Neil Briscoe wrote:
>
> Trying to use kea (1.0.0) and want to use *subnet_id* in order to
> figure out which site the scope belongs to (as I cannot find a
> variable to use as a label/description).
>
>  
>
> I am using the following in the kea.conf
>
>  
>
> {"subnet": "10.48.0.0/24","id":"4250","pools": [{ "pool":
> "10.48.0.2-10.48.0.254 "}],"option-data":[{"name": "routers","data":
> "10.48.0.1"}]},
>
>  
>
> However, it complains about the value in the ID:
>
>  
>
> ERROR [kea-dhcp4.dhcp4/321] DHCP4_PARSER_FAIL failed to create or run
> parser for configuration element subnet4: Failed to parse value "4250"
> as unsigned 32-bit integer (/etc/kea/kea-dhcp4.conf:63:32)
>
>  
>
> What values can I put in there?  I have tried integers from
> 1000-64000, but still complains.
>
>  
>
> *Neil Briscoe*
>
>  
>
>
>
> _______________________________________________
> Kea-users mailing list
> Kea-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/kea-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20170913/674a96a6/attachment.htm>


More information about the Kea-users mailing list