<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="MS Exchange Server version rmj.rmm.rup.rpr">
<title>AW: [Kea-users] Kea vivso-suboption</title>
</head>
<body>
<!-- Converted from text/plain format -->
<p><font size="2">Hi Francis,<br>
<br>
thanks for replying.<br>
I have retested in 1.3. beta, but I don't get my data into option 125.<br>
Option 125 does only contain the vendor id and no suboptions.<br>
<br>
I try to migrate the below dhcpd config to kea (please see config snippets below).<br>
<br>
What am I missing in the kea config ?<br>
<br>
Best regards, Jörn<br>
<br>
-----------------------<br>
--- dhcpd --<br>
# Create an option namespace called genexis for VIVSO (option 125)<br>
option space genexis;<br>
# Define the code names and data types within the genexis namespace<br>
option genexis.gaps code 1 = text;<br>
<br>
# Package the genexis namespace into option 125<br>
option space vivso code width 4 length width 1;<br>
option vivso.genexis code 25167 = encapsulate genexis;<br>
option vivso.iana code 0 = string;<br>
option op125 code 125 = encapsulate vivso;<br>
---<br>
<br>
<br>
-- kea config ---<br>
<br>
"option-def": [<br>
{<br>
"name": "prov-server",<br>
"code": 1,<br>
"space": "vendor-25167",<br>
"type": "string",<br>
"record-types": "",<br>
"array": false,<br>
"encapsulate": ""<br>
},<br>
...<br>
],<br>
<br>
"subnet4": [<br>
{<br>
...<br>
{<br>
"name": "vivso-suboptions",<br>
"data": "25167"<br>
},<br>
{<br>
"name": "prov-server",<br>
"code": 1,<br>
"space": "vendor-25167",<br>
"data": "s=10.1.2.3"<br>
}<br>
...<br>
---<br>
<br>
<br>
-----Ursprüngliche Nachricht-----<br>
Von: Francis Dupont [<a href="mailto:fdupont@isc.org">mailto:fdupont@isc.org</a>]<br>
Gesendet: Freitag, 20. Oktober 2017 14:43<br>
An: Joern Wallstabe <JWallstabe@xantaro.net><br>
Cc: kea-users@lists.isc.org<br>
Betreff: Re: [Kea-users] Kea vivso-suboption<br>
<br>
Joern Wallstabe writes:<br>
> sorry, first mail did not contain any text.. here it comes:<br>
><br>
> I am trying to fill option 125 using the provided example in kea.conf<br>
> (see conf snippet below).<br>
> But dhcp offer only shows enterprise-number in option 125 and no<br>
> suboptions= .<br>
> I have tried version 1.2 an the latest 1.3 beta.<br>
><br>
> Has anybody a hint, how to solve this problem ?<br>
><br>
> Thank you in advance, Joern<br>
> ----<br>
><br>
> "subnet4": [<br>
> {<br>
> ...<br>
> "option-data": [<br>
> {<br>
> "name": "routers",<br>
> "data": "192.0.2.1"<br>
> },<br>
> { "name": "vivso-suboptions",<br>
> "data": "4491"<br>
> },<br>
> { "name": "tftp-servers",<br>
> "space": "vendor-4491",<br>
> "data": "192.168.1.1"<br>
> },<br>
> {<br>
> "name": "vendor-encapsulated-options",<br>
> "csv-format": false<br>
> }<br>
> ]<br>
> ....<br>
<br>
<br>
=> vendor-encapsulated-options space is (in fact now was in 1.3) the space for the option 43. Option 125 is managed with the vendor-4491 space.<br>
Look at 8.3.4 in the devel user/admin guide (but if you use the old option 43 please note that 1.3 improves a lot the way it is done).<br>
<br>
Regards<br>
<br>
Francis Dupont <fdupont@isc.org><br>
</font></p>
</body>
</html>