Community discussions

MikroTik App
 
maxpage
newbie
Topic Author
Posts: 27
Joined: Sun Jul 15, 2018 7:01 pm

Adjustable Root Diespersion on NTP Client

Fri Jun 02, 2023 10:14 am

Hello,
We are using many (~1000) MTs without internet access for telemetry purposes. On our network are only NTP servers based on Windows. They are famous for large Root Dispersion and it causes, that MTs' NTP clients not working properly
Checking peer (10.0.0.172). Peer is: NOT FIT, because rootDist(10.450385) > 1.000960
Checking peer (10.0.0.181). Peer is: NOT FIT, because rootDist(10.312271) > 1.000960

In chronyd is special option maxdistance: https://chrony.tuxfamily.org/faq.html#_ ... ntp_server
Is there similar option in ROS?
 
User avatar
krzysztofciupala
just joined
Posts: 8
Joined: Thu Aug 01, 2019 11:34 am

Re: Adjustable Root Diespersion on NTP Client

Fri Aug 18, 2023 4:20 pm

I solved this problem by running the regedit on the MS Windows server and made the following changes:
HKLM\SYSTEM\CurrentControlSet\Services\W32Time\Config
LocalClockDispersion = 0
AnnounceFlags = 0x05
then I ran CMD with admin rights:
net stop w32time
net start w32time
After these modifications, Mikrotik routers with RoS 7.xx correctly synchronize time.
Regards.
 
pe1chl
Forum Guru
Forum Guru
Posts: 10183
Joined: Mon Jun 08, 2015 12:09 pm

Re: Adjustable Root Diespersion on NTP Client

Fri Aug 18, 2023 6:56 pm

I would suggest spending a small amount of money on e.g. a LeoNTP server to have decent NTP service in your network.
 
User avatar
pcunite
Forum Guru
Forum Guru
Posts: 1345
Joined: Sat May 25, 2013 5:13 am
Location: USA

Re: Adjustable Root Diespersion on NTP Client

Thu Jan 04, 2024 7:02 am

Seeing this issue with ROS 7.12.1 between two Mikrotik devices. One is server, and the other MikroTik is client. Can't get them to sync with this same error. What's the fix?
 
piku
newbie
Posts: 48
Joined: Sat Feb 10, 2018 10:59 am

Re: Adjustable Root Diespersion on NTP Client

Sun Feb 04, 2024 7:51 am

Seeing this issue with ROS 7.12.1 between two Mikrotik devices. One is server, and the other MikroTik is client. Can't get them to sync with this same error. What's the fix?
Unfortunately, the mikrotik ntp server which uses the local clock as the time source, will stop working after about 1 week except reboot system.
no fix here, except you add a good ntp upstream

Who is online

Users browsing this forum: Cmon169, dioeyandika and 29 guests