How can I advertise an NTP server with DHCPv6?

Hello,

if I want to configure a DHCP server for IPv4, I can make the following entry in dnsmasq:

config dhcp 'dmz'
    # some stuff
    list dhcp_option '42,192.168.1.1'

How do I do this for IPv6? There also seems to be an option (number 56) for an NTP server, but I can't see anywhere in the documentation where I could enter this in OpenWrt.

Use the list ntp 'fd00:…' option under your dhcp section. See the odhcpd README.

https://openwrt.org/docs/techref/odhcpd#dhcp_section

4 Likes

Scroll to the latest line of the table
https://openwrt.org/docs/techref/odhcpd#dhcp_section

2 Likes

Damn, you answered before, while I was scrolling the same doc :wink:

3 Likes

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.