DHCPv6 Option 56 configuration
mxhajduczenia at gmail.com
mxhajduczenia at gmail.com
Thu Jan 18 23:27:26 UTC 2024
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;
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.
M
From: Marek Hajduczenia <mxhajduczenia at gmail.com>
Sent: Thursday, January 18, 2024 3:20 PM
To: Users of ISC DHCP <dhcp-users at lists.isc.org>
Subject: Re: DHCPv6 Option 56 configuration
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?
M
From: dhcp-users <dhcp-users-bounces at lists.isc.org <mailto:dhcp-users-bounces at lists.isc.org> > on behalf of Miloslav Hůla <miloslav.hula at gmail.com <mailto:miloslav.hula at gmail.com> >
Date: Thursday, January 18, 2024 at 3:14 PM
To: dhcp-users at lists.isc.org <mailto:dhcp-users at lists.isc.org> <dhcp-users at lists.isc.org <mailto:dhcp-users at lists.isc.org> >
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
> (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
--
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 at lists.isc.org <mailto:dhcp-users at lists.isc.org>
https://lists.isc.org/mailman/listinfo/dhcp-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20240118/00cd16ef/attachment.htm>
More information about the dhcp-users
mailing list