Community discussions

MikroTik App
 
dencostis
just joined
Topic Author
Posts: 20
Joined: Fri Mar 19, 2021 8:20 am

Date & Time from NTP Server

Wed Mar 24, 2021 2:21 pm

I need to synchronize my router with an ntp server. As I am confused. I have set the ntp server in SNTP Client. Nothing seems to happen...... Any suggestions???
 
erlinden
Forum Guru
Forum Guru
Posts: 1920
Joined: Wed Jun 12, 2013 1:59 pm
Location: Netherlands

Re: Date & Time from NTP Server

Wed Mar 24, 2021 2:42 pm

Can you please share /system ntp client export
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 19105
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Date & Time from NTP Server

Wed Mar 24, 2021 2:43 pm

Provide a screen shot of the NTP Client page.
 
dencostis
just joined
Topic Author
Posts: 20
Joined: Fri Mar 19, 2021 8:20 am

Re: Date & Time from NTP Server

Wed Mar 24, 2021 3:28 pm

Can you please share /system ntp client export
[admin@VI] > system ntp client export
# mar/24/2021 03:15:38 by RouterOS 6.48.1
# software id = V2G1-I8S1
#
# model = 951Ui-2HnD
# serial number = 45880238E3C3
/system ntp client
set enabled=yes primary-ntp=216.239.35.0 secondary-ntp=216.239.35.8
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11439
Joined: Thu Mar 03, 2016 10:23 pm

Re: Date & Time from NTP Server

Wed Mar 24, 2021 3:33 pm

What does
/system ntp client print
show?
 
WeWiNet
Long time Member
Long time Member
Posts: 592
Joined: Thu Sep 27, 2018 4:11 pm

Re: Date & Time from NTP Server  [SOLVED]

Wed Mar 24, 2021 3:34 pm

Are these IP really NTP servers?
Maybe try with the famous ntp pool names to see if your system works: 0.pool.ntp.org and 1.pool.ntp.org

once these works you know its the IP address.

If it does not work it might be you have no internet ;-) , or firewall is blocking something.
 
dencostis
just joined
Topic Author
Posts: 20
Joined: Fri Mar 19, 2021 8:20 am

Re: Date & Time from NTP Server

Wed Mar 24, 2021 3:40 pm

Are these IP really NTP servers?
Maybe try with the famous ntp pool names to see if your system works: 0.pool.ntp.org and 1.pool.ntp.org

once these works you know its the IP address.

If it does not work it might be you have no internet ;-) , or firewall is blocking something.
They are Google NTP Severs
 
WeWiNet
Long time Member
Long time Member
Posts: 592
Joined: Thu Sep 27, 2018 4:11 pm

Re: Date & Time from NTP Server

Wed Mar 24, 2021 4:17 pm

You should not use IP address. They might change without notice!
Better use time1.google.com etc. for instance

Again, please try with the pool.org to see if its an IP issue...
 
erlinden
Forum Guru
Forum Guru
Posts: 1920
Joined: Wed Jun 12, 2013 1:59 pm
Location: Netherlands

Re: Date & Time from NTP Server

Wed Mar 24, 2021 5:27 pm

216.239.35.0...
I know for sure that is not an NTP server.

[Update]
Oops...nevermind (shame)
Last edited by erlinden on Wed Mar 24, 2021 5:51 pm, edited 1 time in total.
 
mbovenka
Member
Member
Posts: 338
Joined: Mon Oct 14, 2019 10:14 am

Re: Date & Time from NTP Server

Wed Mar 24, 2021 5:49 pm

216.239.35.0...
I know for sure that is not an NTP server.

Tell Google that; it's time1.google.com. Yes, .0 is a perfectly legal address, depending on the netmask.
 
User avatar
CZFan
Forum Guru
Forum Guru
Posts: 2098
Joined: Sun Oct 09, 2016 8:25 pm
Location: South Africa, Krugersdorp (Home town of Brad Binder)
Contact:

Re: Date & Time from NTP Server

Wed Mar 24, 2021 5:49 pm

216.239.35.0...
I know for sure that is not an NTP server.

Not sure I understand your reasoning, but an IP ending with .0 is a perfectly legal IP Address. Seems also it is Google Time server
googlentp.JPG
You do not have the required permissions to view the files attached to this post.
 
User avatar
CZFan
Forum Guru
Forum Guru
Posts: 2098
Joined: Sun Oct 09, 2016 8:25 pm
Location: South Africa, Krugersdorp (Home town of Brad Binder)
Contact:

Re: Date & Time from NTP Server

Wed Mar 24, 2021 6:07 pm

Tell Google that; it's time1.google.com. Yes, .0 is a perfectly legal address, depending on the netmask.
Snap!!! :-)
 
dencostis
just joined
Topic Author
Posts: 20
Joined: Fri Mar 19, 2021 8:20 am

Re: Date & Time from NTP Server

Thu Mar 25, 2021 11:01 am

Are these IP really NTP servers?
Maybe try with the famous ntp pool names to see if your system works: 0.pool.ntp.org and 1.pool.ntp.org

once these works you know its the IP address.

If it does not work it might be you have no internet ;-) , or firewall is blocking something.
When I input 0.pool.ntp.org or any other server name Mikrotik replaces it by ip. In any case, in order to test if it is working I set the wrong time and date through system/clock. Then I enter NTPServers into Ntp Client. Date and time remain as set in system/clock. Am I doing something wrong???
 
User avatar
CZFan
Forum Guru
Forum Guru
Posts: 2098
Joined: Sun Oct 09, 2016 8:25 pm
Location: South Africa, Krugersdorp (Home town of Brad Binder)
Contact:

Re: Date & Time from NTP Server

Thu Mar 25, 2021 1:20 pm

2 things:

1. If you installed the "ntp" package, it changes the look/feel of the ntp client, and you will have to use scripts to make use of the FQDNs

2. If not, then see screenshort below for using FQDNs with ntp client
mtntpclient.JPG
You do not have the required permissions to view the files attached to this post.
 
dencostis
just joined
Topic Author
Posts: 20
Joined: Fri Mar 19, 2021 8:20 am

Re: Date & Time from NTP Server

Sat Mar 27, 2021 3:16 pm

or firewall is blocking something.
Thank you allfor your time. WeWiNet you guessed correctly. Firewall was dropping it. I reallized what was going on once I noticed that NTP Client was not synchronizing.....

Who is online

Users browsing this forum: Batterio, jaclaz and 50 guests