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

Neil Briscoe neil.briscoe at 6point6.co.uk
Wed Sep 13 19:38:51 UTC 2017


Many thanks to all – this works perfectly…!

 

From: Kea-users <kea-users-bounces at lists.isc.org> on behalf of Włodzimierz Wencel <wlodek at isc.org>
Date: Wednesday, 13 September 2017 at 17:09
To: <kea-users at lists.isc.org>
Subject: Re: [Kea-users] subnet_id - what values can you use?

 

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

_______________________________________________ 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/02f84918/attachment.htm>


More information about the Kea-users mailing list