Hi Darren,

thanks for the discussion!

Am 01.05.26 um 11:33 schrieb Darren Ankney:
Hi again Charly,

Just looked at the title more closely and saw that you were asking
about dhcp6.  Same two files may be of interest (different directory):

- 
https://gitlab.isc.org/isc-projects/kea/-/blob/master/doc/examples/kea6/all-keys.json
- 
https://gitlab.isc.org/isc-projects/kea/-/blob/master/doc/examples/kea6/all-options.json

sure, I've already read this information and grep-ed the Git repository, but I can't find any
examples of how to use option-56 to assign IPv6 addresses to NTP servers.

Nevertheless, I am able to deliver **one** IPv6 address for NTP servers, but only one, and the question was whether anyone has managed to assign **more than one** IPv6 address
for NTP servers and what the configuration should look like.

And that it would be extremely helpful if this were included in the documents you linked to.

My testing config snippet is:

    "option-data": [
      {
        "name": "ntp-server",
        "code": 56
        // encapsulates v6-ntp-server-suboptions
      },
      {
        "name": "ntp-server-address",
        "space": "v6-ntp-server-suboptions",
        "data": "2001:db8::1"
      }
    ],


I think there’s a misunderstanding of the RFC here. It should be clear that there **must** be a way
to provide the client with more than one IPv6 address for NTP servers.

However, within option-56, you can only use one **type** of sub-option, but you can use that selected type **multiple** times.

If you have different sub-options, you must use another option-56 for them.

In any case, I can’t seem to deliver more than one IPv6 NTP server address with ISC-KEA to the client. I think this is a bug in KEA or a misunderstanding in the interpretation of the RFC, which is really quite ambiguous in this section.

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

To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.
[email protected]

Reply via email to