<div dir="ltr"><div>Yeah, I forgot to mentioned that indeed - Option 17 is specific to IPv6. I was able to get that done for DHCPv4 without any problems, but v6 side seems to be using slightly different configuration logic, which does not seem to be documented anywhere, at least that I can find. <br></div><div><br></div><div>Thanks !</div><div><br></div><div>Marek<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 8, 2024 at 3:42 AM Darren Ankney <<a href="mailto:darren.ankney@gmail.com">darren.ankney@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Marek,<br>
<br>
It is unclear to me.  Is this for DHCPv6?<br>
<br>
Thank you,<br>
Darren Ankney<br>
<br>
On Thu, Mar 7, 2024 at 10:51 PM Marek Hajduczenia<br>
<<a href="mailto:mxhajduczenia@gmail.com" target="_blank">mxhajduczenia@gmail.com</a>> wrote:<br>
><br>
> Dear mailing list users,<br>
><br>
> I have been trying to create an Option 17 with a specific structure for a vendor with the ID of 14810, where all I have is a sub-option 1, containing a string with an arbitrary FQDN. I have a working code for ISC DHCP, but I have not been able to locate a working example of an implementation for Kea.<br>
><br>
> # ADB VSIO<br>
> option space worldbox_adb code width 2 length width 2 hash size 1;<br>
> option worldbox_adb.bmc code 1 = text;<br>
> option vsio.worldbox_adb code 14810 = encapsulate worldbox_adb;<br>
><br>
> # use the option within a subnet<br>
> ...<br>
> option worldbox_adb.bmc "<a href="http://tmpwh2.cvs.adbglobal.com" rel="noreferrer" target="_blank">tmpwh2.cvs.adbglobal.com</a>";<br>
> ...<br>
><br>
> My failed attempt to translate looks like the following, but it does not produce any particular output as confirmed with the packet capture. DNS servers are present, so I am sure the config is parsed correctly.<br>
><br>
>                 "option-data": [<br>
>                                 {<br>
>                                         "name": "dns-servers",<br>
>                                         "data": "2001:db8:2::dead:beef, 2001:db8:2::cafe:babe"<br>
>                                 }, {<br>
>                                         "space": "vendor-14810",<br>
>                                         "name": "bmc",<br>
>                                         "data": "<a href="http://tmpwh2.cvs.adbglobal.com" rel="noreferrer" target="_blank">tmpwh2.cvs.adbglobal.com</a>"<br>
>                                 }, {<br>
>                                         "name": "vendor-14810-bmc"<br>
>                                 } ]<br>
>                 } ],<br>
><br>
>                 "option-def": [ {<br>
>                         // We define a short name, so the option can be referenced by name.<br>
>                         // The option has code 2 and resides within vendor space 25167.<br>
>                         // Its data is a plain string.<br>
>                         "name": "bmc",<br>
>                         "code": 1,<br>
>                         "space": "vendor-14810",<br>
>                         "type": "string",<br>
>                         "array": false,<br>
>                         "encapsulate": ""<br>
>                 }, {<br>
>                         "name": "vendor-14810-bmc",<br>
>                         "code": 14810,<br>
>                         "type": "empty",<br>
>                         "space": "dhcp6",<br>
>                         "encapsulate": "bmc"<br>
>                 } ],<br>
><br>
> I did not see any example showing how to build Option 17 anywhere. Any pointers / examples would be really appreciated.<br>
><br>
> Marek<br>
> --<br>
> ISC funds the development of this software with paid support subscriptions. Contact us at <a href="https://www.isc.org/contact/" rel="noreferrer" target="_blank">https://www.isc.org/contact/</a> for more information.<br>
><br>
> To unsubscribe visit <a href="https://lists.isc.org/mailman/listinfo/kea-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/kea-users</a>.<br>
><br>
> Kea-users mailing list<br>
> <a href="mailto:Kea-users@lists.isc.org" target="_blank">Kea-users@lists.isc.org</a><br>
> <a href="https://lists.isc.org/mailman/listinfo/kea-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/kea-users</a><br>
-- <br>
ISC funds the development of this software with paid support subscriptions. Contact us at <a href="https://www.isc.org/contact/" rel="noreferrer" target="_blank">https://www.isc.org/contact/</a> for more information.<br>
<br>
To unsubscribe visit <a href="https://lists.isc.org/mailman/listinfo/kea-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/kea-users</a>.<br>
<br>
Kea-users mailing list<br>
<a href="mailto:Kea-users@lists.isc.org" target="_blank">Kea-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/kea-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/kea-users</a><br>
</blockquote></div>