Many thanks to all – this works perfectly…!

 

From: Kea-users <[email protected]> on behalf of Włodzimierz 
Wencel <[email protected]>
Date: Wednesday, 13 September 2017 at 17:09
To: <[email protected]>
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
[email protected]
https://lists.isc.org/mailman/listinfo/kea-users

_______________________________________________ Kea-users mailing list 
[email protected] https://lists.isc.org/mailman/listinfo/kea-users 

_______________________________________________
Kea-users mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/kea-users

Reply via email to