<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-ligatures:standardcontextual;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-style-priority:99;
        mso-style-link:"Plain Text Char";
        margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-ligatures:standardcontextual;}
span.PlainTextChar
        {mso-style-name:"Plain Text Char";
        mso-style-priority:99;
        mso-style-link:"Plain Text";
        font-family:"Calibri",sans-serif;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-ligatures:standardcontextual;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link="#0563C1" vlink="#954F72" style='word-wrap:break-word'><div class=WordSection1><p class=MsoPlainText>You're spot on, Milo - the part of dhcp6 being the option space was missing. In hindsight, it is pretty obvious now that I see that working fine. Not sure if the images / attachments get stripped by the mailing list but the outcome is as expected – I now have Option 56 showing up in the server response. Pretty neat. <o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>I wish this part of having to use dhcp6 as the option space was documented in manpage somewhere. I would have saved a few days of searching and experimenting and getting frustrated<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoNormal> <img width=1086 height=543 style='width:11.3125in;height:5.6562in' id="Picture_x0020_1" src="cid:image001.png@01DA4ACF.C0961D40"><o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Much appreciated!<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>M<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>-----Original Message-----<br>From: dhcp-users <dhcp-users-bounces@lists.isc.org> On Behalf Of Miloslav Hula<br>Sent: Friday, January 19, 2024 12:25 AM<br>To: dhcp-users@lists.isc.org<br>Subject: Re: DHCPv6 Option 56 configuration</p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Dne 19.01.2024 v 0:27 <a href="mailto:mxhajduczenia@gmail.com"><span style='color:windowtext;text-decoration:none'>mxhajduczenia@gmail.com</span></a> napsal(a):<o:p></o:p></p><p class=MsoPlainText>> Just to build some more in here …<o:p></o:p></p><p class=MsoPlainText>> <o:p></o:p></p><p class=MsoPlainText>> I tried to create a fake option 56 using the following config<o:p></o:p></p><p class=MsoPlainText>> <o:p></o:p></p><p class=MsoPlainText>> /option dhcp6.ntp-servers code 56 = text;/ /option dhcp6.ntp-servers <o:p></o:p></p><p class=MsoPlainText>> "This is a test";/<o:p></o:p></p><p class=MsoPlainText>> <o:p></o:p></p><p class=MsoPlainText>> and it does causes Option 56 to show up, but obviously, it is <o:p></o:p></p><p class=MsoPlainText>> malformed, as expected.<o:p></o:p></p><p class=MsoPlainText>> <o:p></o:p></p><p class=MsoPlainText>> Then I go with a proper definition of Option 56 as an encapsulation <o:p></o:p></p><p class=MsoPlainText>> option as shown below<o:p></o:p></p><p class=MsoPlainText>> <o:p></o:p></p><p class=MsoPlainText>> /option space ntp56 code width 2 length width 2 hash size 2;/ /option <o:p></o:p></p><p class=MsoPlainText>> ntp56.address code 1 = array of ip6-address;/ /option ntp56.fqdn code <o:p></o:p></p><p class=MsoPlainText>> 3 = text;/ /option opt56 code 56 = encapsulate ntp56;/ /option <o:p></o:p></p><p class=MsoPlainText>> ntp56.address ::1;/ /vendor-option-space ntp56;/<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Oh, I'm sorry. The sntp-servers is option 31.<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>I think vendor-option-space is not necessary. It is for custom vendor options e.g. if one vendor use option code 10 and other vendor use the option code 10 too but with different meaning. I would try:<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>option space ntp56 code width 2 length width 2 hash size 2; option ntp56.address code 1 = array of ip6-address; option ntp56.fqdn code 3 = text; option dhcp6.ntp-servers code 56 = encapsulate ntp56;<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>ntp56.address = fc00:6ce4:40:146::1;<o:p></o:p></p><p class=MsoPlainText>ntp56.fqdn = "ntp.example.com";<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Would like to test, but none of our of thousands clients does not require this option.<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Milo<o:p></o:p></p><p class=MsoPlainText>--<o:p></o:p></p><p class=MsoPlainText>ISC funds the development of this software with paid support subscriptions. Contact us at <a href="https://www.isc.org/contact/"><span style='color:windowtext;text-decoration:none'>https://www.isc.org/contact/</span></a> for more information.<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>dhcp-users mailing list<o:p></o:p></p><p class=MsoPlainText><a href="mailto:dhcp-users@lists.isc.org"><span style='color:windowtext;text-decoration:none'>dhcp-users@lists.isc.org</span></a><o:p></o:p></p><p class=MsoPlainText><a href="https://lists.isc.org/mailman/listinfo/dhcp-users"><span style='color:windowtext;text-decoration:none'>https://lists.isc.org/mailman/listinfo/dhcp-users</span></a><o:p></o:p></p></div></body></html>