Send dhcp-users mailing list submissions to
        dhcp-users@lists.isc.org

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.isc.org/mailman/listinfo/dhcp-users
or, via email, send a message with subject or body 'help' to
        dhcp-users-requ...@lists.isc.org

You can reach the person managing the list at
        dhcp-users-ow...@lists.isc.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of dhcp-users digest..."


Today's Topics:

   1. RE: DHCPv6 Option 56 configuration (Marek Hajduczenia)


----------------------------------------------------------------------

Message: 1
Date: Fri, 19 Jan 2024 12:05:11 -0700
From: "Marek Hajduczenia" <mxhajducze...@gmail.com>
To: "'Users of ISC DHCP'" <dhcp-users@lists.isc.org>
Subject: RE: DHCPv6 Option 56 configuration
Message-ID: <00a301da4b0a$6db3b160$491b1420$@gmail.com>
Content-Type: text/plain; charset="utf-8"

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. 

 

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

 



 

Much appreciated!

 

M

 

-----Original Message-----
From: dhcp-users <dhcp-users-boun...@lists.isc.org> On Behalf Of Miloslav Hula
Sent: Friday, January 19, 2024 12:25 AM
To: dhcp-users@lists.isc.org
Subject: Re: DHCPv6 Option 56 configuration

 

Dne 19.01.2024 v 0:27  <mailto:mxhajducze...@gmail.com> mxhajducze...@gmail.com 
napsal(a):

> Just to build some more in here ?

> 

> I tried to create a fake option 56 using the following config

> 

> /option dhcp6.ntp-servers code 56 = text;/ /option dhcp6.ntp-servers 

> "This is a test";/

> 

> and it does causes Option 56 to show up, but obviously, it is 

> malformed, as expected.

> 

> Then I go with a proper definition of Option 56 as an encapsulation 

> option as shown below

> 

> /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 opt56 code 56 = encapsulate ntp56;/ /option 

> ntp56.address ::1;/ /vendor-option-space ntp56;/

 

Oh, I'm sorry. The sntp-servers is option 31.

 

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:

 

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;

 

ntp56.address = fc00:6ce4:40:146::1;

ntp56.fqdn = "ntp.example.com";

 

 

Would like to test, but none of our of thousands clients does not require this 
option.

 

Milo

--

ISC funds the development of this software with paid support subscriptions. 
Contact us at  <https://www.isc.org/contact/> https://www.isc.org/contact/ for 
more information.

 

dhcp-users mailing list

 <mailto:dhcp-users@lists.isc.org> dhcp-users@lists.isc.org

 <https://lists.isc.org/mailman/listinfo/dhcp-users> 
https://lists.isc.org/mailman/listinfo/dhcp-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<https://lists.isc.org/pipermail/dhcp-users/attachments/20240119/9d438059/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 436621 bytes
Desc: not available
URL: 
<https://lists.isc.org/pipermail/dhcp-users/attachments/20240119/9d438059/attachment.png>

------------------------------

Subject: Digest Footer

_______________________________________________
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
dhcp-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/dhcp-users


------------------------------

End of dhcp-users Digest, Vol 182, Issue 4
******************************************

Reply via email to