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. DHCPv6 Option 56 configuration (Marek Hajduczenia)
   2. Re: DHCPv6 Option 56 configuration (Miloslav H?la)
   3. Re: DHCPv6 Option 56 configuration (Marek Hajduczenia)


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

Message: 1
Date: Thu, 18 Jan 2024 11:54:55 -0700
From: Marek Hajduczenia <mxhajducze...@gmail.com>
To: dhcp-users@lists.isc.org
Subject: DHCPv6 Option 56 configuration
Message-ID:
        <CAEoryJcT=3fmk612od3peueijjkmzzfngkqvrhe8ir1c7km...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

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

# ntp option 56
option space ntp code width 2 length width 2 hash size 2;
option ntp.address code 1 = array of ip6-address;
option opt56 code 56 = encapsulate ntp;

and then use it in a subnet as follows

shared-network enp7s0 {
    authoritative;
    # deny bootp;
    subnet6 fc00:6ce4:40:146::/64 {
        pool6 {
            # vendor-option-space ntp;
            option ntp.address fc00:6ce4:40:146::1;
            default-lease-time 600;
            min-lease-time 450;
            max-lease-time 900;
            allow all clients;
            range6 fc00:6ce4:40:146::10 fc00:6ce4:40:146::ffff;
        }
    }
}

but no matter what I do, the ISC does not seem to include Option 56 in the
Reply / Advertise messages, even though the client does request Option 56.
I have spent probably 48 hrs in total already, resulting in discovering
that the only thing that seems to be working is a brute force hex encoded
string (example below)

option dhcp6.ntp-servers code 56 = string;
option dhcp6.ntp-servers
00:01:00:10:20:01:0d:b8:0c:a2:00:02:00:00:00:00:00:00:00:01;

Is there any trick to forcing the ISC daemon to include the encapsulation
option?

Thank you in advance

M
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<https://lists.isc.org/pipermail/dhcp-users/attachments/20240118/07bbaa80/attachment-0001.htm>

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

Message: 2
Date: Thu, 18 Jan 2024 23:14:10 +0100
From: Miloslav H?la <miloslav.h...@gmail.com>
To: dhcp-users@lists.isc.org
Subject: Re: DHCPv6 Option 56 configuration
Message-ID: <167c8871-7a0f-4b04-91c6-319927bab...@gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed

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


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

Message: 3
Date: Thu, 18 Jan 2024 22:20:14 +0000
From: Marek Hajduczenia <mxhajducze...@gmail.com>
To: Users of ISC DHCP <dhcp-users@lists.isc.org>
Subject: Re: DHCPv6 Option 56 configuration
Message-ID:
        
<dm6pr20mb2332723739d7421529df45a4f8...@dm6pr20mb2332.namprd20.prod.outlook.com>
        
Content-Type: text/plain; charset="utf-8"

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-boun...@lists.isc.org> on behalf of Miloslav H?la 
<miloslav.h...@gmail.com>
Date: Thursday, January 18, 2024 at 3:14?PM
To: dhcp-users@lists.isc.org <dhcp-users@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@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/d66fd3d1/attachment.htm>

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

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 2
******************************************

Reply via email to