[admin@xyz] > system ntp client export
# jan/02/1970 01:01:03 by RouterOS 5.14
# software id = IPS6-N1JY
#
/system ntp client
set enabled=yes mode=unicast primary-ntp=79.136.87.162 secondary-ntp=193.11.185.39
[admin@xyz] > /system ntp client print
enabled: yes
mode: unicast
primary-ntp: 79.136.87.162
secondary-ntp: 193.11.185.39
poll-interval: 16s
active-server: 79.136.87.162
last-bad-packet-from: 192.168.112.199
last-bad-packet-before: 5h33m36s610ms
last-bad-packet-reason: zero-transmit-timestamp
[admin@xyz] > /system ntp client export
# jan/01/2002 02:00:59 by RouterOS 5.14
# software id = IPS6-N1JY
#
/system ntp client
set enabled=yes mode=unicast primary-ntp=79.136.87.162 secondary-ntp=193.11.185.39
[admin@xyz] > /system ntp client print
enabled: yes
mode: unicast
primary-ntp: 79.136.87.162
secondary-ntp: 193.11.185.39
status: started
>
[admin@xyz] /system ntp client> /system ntp client export
# jan/02/1970 01:10:00 by RouterOS 5.15
# software id = IPS6-N1JY
#
/system ntp client
set enabled=yes mode=unicast primary-ntp=79.136.87.162 secondary-ntp=\
193.11.185.39
[admin@xyz] /system ntp client> /system ntp client print
enabled: yes
mode: unicast
primary-ntp: 79.136.87.162
secondary-ntp: 193.11.185.39
poll-interval: 16s
active-server: 79.136.87.162
that is proper way to do that.When i upgraded to 5.15 I did it by uploading the package routeros-mipsbe-5.15.npk to RB and rebooted.
Then I extracted the ntp-5.15-mipsbe.npk from the all_packages-5.15.zip file, uploaded to RB and rebooted.
Is this the proper way of using the ntp package, or shall I take all packages that i need from the all_packages-5.15.zip file instead so I dont mix.
...because the ntp client does not work for me after doing this.
/system ntp server print
enabled: no
broadcast: no
multicast: no
manycast: yes
broadcast-addresses:
/system ntp client print
enabled: yes
mode: unicast
primary-ntp: 178.78.255.254
secondary-ntp: 83.177.160.188
dynamic-servers:
status: started
[admin@MikroTik] /system ntp server> print
enabled: no
broadcast: no
multicast: no
manycast: yes
broadcast-addresses:
[admin@MikroTik] /system ntp server> .. cl
[admin@MikroTik] /system ntp client> print
enabled: yes
mode: unicast
primary-ntp: 178.78.255.254
secondary-ntp: 83.177.160.188
dynamic-servers:
status: synchronized
I got the NTP server's Client part workign by switching NTP servers around.
Then when I tried to use it as a NTP server -the client says "server not synchronised"
5.19 x86 and mipsbe
Actually this was not the root cause. The NTP client stopped working after a while.....I found the cause.
I upgraded the firmware of my switch and after that the NTP synchronizes nicely in my setup.
/system ntp client set enabled=yes mode=unicast primary-ntp=<ipv6 address> secondary-ntp=<ipv4 address>
[admin@MikroTik] > /system ntp client print
enabled: yes
mode: unicast
primary-ntp: 119.252.169.31
secondary-ntp: 202.169.224.16
poll-interval: 16s
active-server: 202.169.224.16
i went to IP>Firewall>Service Ports but it is disabled for me to add more ports!? Why? or is that not where we adjust this?Make sure you allow UDP traffic in port 123 coming from your NTP servers.