I am setting up NTP Server/Client environment - how should I configure the local client ROS devices? ROS requires 2nd NTP server in client settings, so I was thinking to just enter 1st local client, and 2nd one external client.
(Or should I simply just forget about this, and configure all to update externally?)
Server:
/system ntp server set enabled=yes
/system ntp client set enabled=yes primary-ntp=216.239.35.0 secondary-ntp=216.239.35.4
Client:
/system ntp client set enabled=yes primary-ntp=SERVERIP secondary-ntp=???
I normally set one address on internet and one on the local network.
Of course this means you need to have another server or router on the local network that is NTP server.
Unfortunately MikroTik allows only 2 servers in this mode. So it is not going to know. The 2 different servers can only solve the case where one is not responding and the other is.
To get evaluation of valid time you need at least 3 servers.
I don’t know what version of NTP they are using and how it is working when the times are different, you will have to try that yourself.
(I normally use NTP servers that have several sources as a reference so this case does not happen for me)