I am looking for the same thing. A way to make VyOS the NTP server for a local subnet.
Where do the defaults come from ? Is there a file we can edit that allows the changes in ntp.conf to persist through a reboot ? Or a way to inject the commands into the ntp.conf file before the ntp deamon is started ?
I am replying to my own post.
I know it is not the supported way to do things at all but I could probably edit the /opt/vyatta/etc/ntp.conf file to include the required commands to make it server the local network as an NTP server.
I only defined that second interface because I had a lot of device in my lab already pointing towards that address (used to be pfsense).
Rebooted a few times, and things are synchronizing nicely. So far the only clients have been a few Cisco devices and some Linux servers. Hopefully they just add this to the main branch soon, not sure why they’d restrict such a useful core-router feature. At work we point NTP to network cores all the time.
Well…I never messed with ntp settings , besides the obvious:
“set system ntp server europe.pool.ntp.org”
On another Linux appliance (edgerouter X) , I can just query ntp fine to VyOS:
(vyos=10.30.68.254)
admin@ERX:~$ sudo ntpdate 10.30.68.254
1 Apr 08:42:51 ntpdate[25266]: adjust time server 10.30.68.254 offset 0.002994 sec
What am I missing? Obvious , udp123 should be allowed on LAN_LOCAL firewall rulesets