RE: DHCPv6 Option 56 configuration
<[email protected]> Thu, 18 Jan 2024 16:27:26 -0700
| Newsgroups | gmane.network.dhcp.isc.dhcp-client |
|---|---|
| Message-ID | <033501da4a65$e59b8d60$b0d2a820$__5425.34777648456$1705620466$gmane$org@gmail.com> |
This is a multipart message in MIME format. --===============2734520369000039299== Content-Type: multipart/alternative; boundary="----=_NextPart_000_0336_01DA4A2B.393D51A0" Content-Language: en-us This is a multipart message in MIME format. ------=_NextPart_000_0336_01DA4A2B.393D51A0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Just to build some more in here =E2=80=A6=20 =20 I tried to create a fake option 56 using the following config=20 =20 option dhcp6.ntp-servers code 56 =3D text; option dhcp6.ntp-servers "This is a test"; =20 and it does causes Option 56 to show up, but obviously, it is malformed, = as expected.=20 =20 Then I go with a proper definition of Option 56 as an encapsulation = option as shown below=20 =20 option space ntp56 code width 2 length width 2 hash size 2; option ntp56.address code 1 =3D array of ip6-address; option ntp56.fqdn code 3 =3D text; option opt56 code 56 =3D encapsulate ntp56; option ntp56.address ::1; vendor-option-space ntp56; =20 This one does not generate any Option 56 structure, invalid or = otherwise. It is strange to me, since I know the syntax is correct and = follows ISC documentation, but for some reason the Option 56 is not = being generated here. Why, I am clueless. Any hints would be really = appreciated.=20 =20 M =20 From: Marek Hajduczenia <[email protected]>=20 Sent: Thursday, January 18, 2024 3:20 PM To: Users of ISC DHCP <[email protected]> Subject: Re: DHCPv6 Option 56 configuration =20 Thank you, Milo, but the DHCPv6 clients explicitly request option 56 and = happily ignore the vale passed in the sntp option. I dug through all = documents I can find online, including this mailing list, and found = nothing showing how this Option could be implemented. Why is it defined = at all if it is not being used? =20 M =20 From: dhcp-users <[email protected] = <mailto:[email protected]> > on behalf of Miloslav = H=C5=AFla <[email protected] <mailto:[email protected]> > Date: Thursday, January 18, 2024 at 3:14=E2=80=AFPM To: [email protected] <mailto:[email protected]> = <[email protected] <mailto:[email protected]> > Subject: Re: DHCPv6 Option 56 configuration Dne 18.01.2024 v 19:54 Marek Hajduczenia napsal(a): > Dear mailing list users, > I have been trying to define NTPv6 option to use with ISC-DHCPD6 = daemon=20 > (4.4.1 running on Ubuntu 22.04 server) as follows Hi, I think there is an integrated option: option dhcp6.sntp-servers fc00:6ce4:40:146::1; Milo --=20 ISC funds the development of this software with paid support = subscriptions. Contact us at https://www.isc.org/contact/ for more = information. dhcp-users mailing list [email protected] <mailto:[email protected]>=20 https://lists.isc.org/mailman/listinfo/dhcp-users ------=_NextPart_000_0336_01DA4A2B.393D51A0 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" = xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" = xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta = http-equiv=3DContent-Type content=3D"text/html; charset=3Dutf-8"><meta = name=3DGenerator content=3D"Microsoft Word 15 (filtered = medium)"><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;} @font-face {font-family:Aptos;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; font-size:10.0pt; font-family:"Calibri",sans-serif;} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} span.EmailStyle20 {mso-style-type:personal-reply; font-family:"Calibri",sans-serif; color:windowtext;} .MsoChpDefault {mso-style-type:export-only; font-size:10.0pt; mso-ligatures:none;} @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=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue = vlink=3Dpurple style=3D'word-wrap:break-word'><div = class=3DWordSection1><p class=3DMsoNormal><span = style=3D'font-size:11.0pt'>Just to build some more in here =E2=80=A6 = <o:p></o:p></span></p><p class=3DMsoNormal><span = style=3D'font-size:11.0pt'><o:p> </o:p></span></p><p = class=3DMsoNormal><span style=3D'font-size:11.0pt'>I tried to create a = fake option 56 using the following config <o:p></o:p></span></p><p = class=3DMsoNormal><span = style=3D'font-size:11.0pt'><o:p> </o:p></span></p><p = class=3DMsoNormal><i><span style=3D'font-size:11.0pt'>option = dhcp6.ntp-servers code 56 =3D text;<o:p></o:p></span></i></p><p = class=3DMsoNormal><i><span style=3D'font-size:11.0pt'>option = dhcp6.ntp-servers "This is a = test";<o:p></o:p></span></i></p><p class=3DMsoNormal><span = style=3D'font-size:11.0pt'><o:p> </o:p></span></p><p = class=3DMsoNormal><span style=3D'font-size:11.0pt'>and it does causes = Option 56 to show up, but obviously, it is malformed, as expected. = <o:p></o:p></span></p><p class=3DMsoNormal><span = style=3D'font-size:11.0pt'><o:p> </o:p></span></p><p = class=3DMsoNormal><span style=3D'font-size:11.0pt'>Then I go with a = proper definition of Option 56 as an encapsulation option as shown below = <o:p></o:p></span></p><p class=3DMsoNormal><span = style=3D'font-size:11.0pt'><o:p> </o:p></span></p><p = class=3DMsoNormal><i><span style=3D'font-size:11.0pt'>option space ntp56 = code width 2 length width 2 hash size 2;<o:p></o:p></span></i></p><p = class=3DMsoNormal><i><span style=3D'font-size:11.0pt'>option = ntp56.address code 1 =3D array of = ip6-address;<o:p></o:p></span></i></p><p class=3DMsoNormal><i><span = style=3D'font-size:11.0pt'>option ntp56.fqdn code 3 =3D = text;<o:p></o:p></span></i></p><p class=3DMsoNormal><i><span = style=3D'font-size:11.0pt'>option opt56 code 56 =3D encapsulate = ntp56;<o:p></o:p></span></i></p><p class=3DMsoNormal><i><span = style=3D'font-size:11.0pt'>option ntp56.address = ::1;<o:p></o:p></span></i></p><p class=3DMsoNormal><i><span = style=3D'font-size:11.0pt'>vendor-option-space = ntp56;<o:p></o:p></span></i></p><p class=3DMsoNormal><span = style=3D'font-size:11.0pt'><o:p> </o:p></span></p><p = class=3DMsoNormal><span style=3D'font-size:11.0pt'>This one does not = generate any Option 56 structure, invalid or otherwise. It is strange to = me, since I know the syntax is correct and follows ISC documentation, = but for some reason the Option 56 is not being generated here. Why, I am = clueless. Any hints would be really appreciated. = <o:p></o:p></span></p><p class=3DMsoNormal><span = style=3D'font-size:11.0pt'><o:p> </o:p></span></p><p = class=3DMsoNormal><span = style=3D'font-size:11.0pt'>M<o:p></o:p></span></p><p = class=3DMsoNormal><span = style=3D'font-size:11.0pt'><o:p> </o:p></span></p><div><div = style=3D'border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in = 0in 0in'><p class=3DMsoNormal><b><span = style=3D'font-size:11.0pt'>From:</span></b><span = style=3D'font-size:11.0pt'> Marek Hajduczenia = <[email protected]> <br><b>Sent:</b> Thursday, January 18, = 2024 3:20 PM<br><b>To:</b> Users of ISC DHCP = <[email protected]><br><b>Subject:</b> Re: DHCPv6 Option 56 = configuration<o:p></o:p></span></p></div></div><p = class=3DMsoNormal><o:p> </o:p></p><p class=3DMsoNormal><span = style=3D'font-size:11.0pt'>Thank you, Milo, but the DHCPv6 clients = explicitly request option 56 and happily ignore the vale passed in the = sntp option. I dug through all documents I can find online, including = this mailing list, and found nothing showing how this Option could be = implemented. Why is it defined at all if it is not being = used?<o:p></o:p></span></p><p class=3DMsoNormal><span = style=3D'font-size:11.0pt'><o:p> </o:p></span></p><p = class=3DMsoNormal><span = style=3D'font-size:11.0pt'>M<o:p></o:p></span></p><p = class=3DMsoNormal><span = style=3D'font-size:11.0pt'><o:p> </o:p></span></p><div = id=3Dmail-editor-reference-message-container><div><div = style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in = 0in 0in'><p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><b><span = style=3D'font-size:12.0pt;font-family:"Aptos",sans-serif;color:black'>Fro= m: </span></b><span = style=3D'font-size:12.0pt;font-family:"Aptos",sans-serif;color:black'>dhc= p-users <<a = href=3D"mailto:[email protected]">dhcp-users-bounces@lists= .isc.org</a>> on behalf of Miloslav H=C5=AFla <<a = href=3D"mailto:[email protected]">[email protected]</a>><b= r><b>Date: </b>Thursday, January 18, 2024 at 3:14</span><span = style=3D'font-size:12.0pt;font-family:"Arial",sans-serif;color:black'>=E2= =80=AF</span><span = style=3D'font-size:12.0pt;font-family:"Aptos",sans-serif;color:black'>PM<= br><b>To: </b><a = href=3D"mailto:[email protected]">[email protected]</a> = <<a = href=3D"mailto:[email protected]">[email protected]</a>>= <br><b>Subject: </b>Re: DHCPv6 Option 56 = configuration<o:p></o:p></span></p></div><div><p class=3DMsoNormal><span = style=3D'font-size:11.0pt'>Dne 18.01.2024 v 19:54 Marek Hajduczenia = napsal(a):<br>> Dear mailing list users,<br>> I have been trying = to define NTPv6 option to use with ISC-DHCPD6 daemon <br>> (4.4.1 = running on Ubuntu 22.04 server) as follows<br><br>Hi,<br><br>I think = there is an integrated option:<br><br>option dhcp6.sntp-servers = fc00:6ce4:40:146::1;<br><br>Milo<br>-- <br>ISC funds the development of = this software with paid support subscriptions. Contact us at <a = href=3D"https://www.isc.org/contact/">https://www.isc.org/contact/</a> = for more information.<br><br>dhcp-users mailing list<br><a = href=3D"mailto:[email protected]">[email protected]</a><br>= <a = href=3D"https://lists.isc.org/mailman/listinfo/dhcp-users">https://lists.= isc.org/mailman/listinfo/dhcp-users</a><o:p></o:p></span></p></div></div>= </div></div></body></html> ------=_NextPart_000_0336_01DA4A2B.393D51A0-- --===============2734520369000039299== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information. dhcp-users mailing list [email protected] https://lists.isc.org/mailman/listinfo/dhcp-users --===============2734520369000039299==--