Community discussions

MikroTik App
 
999masks
just joined
Topic Author
Posts: 15
Joined: Sun Mar 06, 2016 4:33 am

SNTP client, unable to synchronize time, error: server-ip-mismatch

Thu Sep 14, 2017 8:45 am

hi all,
I have been struggling with this issue since I set up my router.
SNTP client cannot synchronize time, error server-ip-mismatch.
so far I have tried:
1. disable in dhcp client "use peer ntp option"
2. tried to get synchronized with IP cloud
3. ping ntp servers, got ping
4. revised firewall settings, to make sure UDP 123 port is not blocking
5. installed (removed later) sntp server package ...
from somewhere I found, that issue can cause, if there is two subnets (I have two 192.168.88... and 192.168.90...).
currently using MikroTik RouterOS 6.38.7 version, hardware platform is RB2011UiAS-2hnd
Please help ! :(
 
User avatar
Jotne
Forum Guru
Forum Guru
Posts: 3300
Joined: Sat Dec 24, 2016 11:17 am
Location: Magrathean

Re: SNTP client, unable to synchronize time, error: server-ip-mismatch

Thu Sep 14, 2017 11:19 am

I did try SNTP, did not get it to work.
So I added the NTP pacage and use full NTP instead of Simple NTP

https://wiki.mikrotik.com/wiki/Manual:System/Packages
 
User avatar
karlisi
Member
Member
Posts: 440
Joined: Mon May 31, 2004 8:09 am
Location: Latvia

Re: SNTP client, unable to synchronize time, error: server-ip-mismatch

Thu Sep 14, 2017 11:46 am

SNTP client cannot synchronize time, error server-ip-mismatch.(
This error is on router? Or You are using router as NTP server and this error is on clients?
 
User avatar
strods
MikroTik Support
MikroTik Support
Posts: 1625
Joined: Wed Jul 16, 2014 7:22 am
Location: Riga, Latvia

Re: SNTP client, unable to synchronize time, error: server-ip-mismatch

Thu Sep 14, 2017 4:14 pm

Are you sure that ISP is not doing something with NTP packets? It is very popular complaint at support - that NTP does not work, but almost always simply ISP is, for example, dropping such packets.
 
999masks
just joined
Topic Author
Posts: 15
Joined: Sun Mar 06, 2016 4:33 am

Re: SNTP client, unable to synchronize time, error: server-ip-mismatch

Fri Sep 15, 2017 5:55 am

SNTP client cannot synchronize time, error server-ip-mismatch.(
This error is on router? Or You are using router as NTP server and this error is on clients?
This error on router , I am not running any NTP servers
 
999masks
just joined
Topic Author
Posts: 15
Joined: Sun Mar 06, 2016 4:33 am

Re: SNTP client, unable to synchronize time, error: server-ip-mismatch

Fri Sep 15, 2017 5:58 am

Are you sure that ISP is not doing something with NTP packets? It is very popular complaint at support - that NTP does not work, but almost always simply ISP is, for example, dropping such packets.
yes, because I had RB951G-2HND, on same ISP (ATT) works fine..
 
User avatar
ErfanDL
Member
Member
Posts: 366
Joined: Thu Sep 29, 2016 9:13 am

Re: SNTP client, unable to synchronize time, error: server-ip-mismatch

Fri Sep 15, 2017 8:26 am

Check port 123 udp is not closed by your isp. I have the same problem last week from ISP.

Sent from my C6833 using Tapatalk
 
999masks
just joined
Topic Author
Posts: 15
Joined: Sun Mar 06, 2016 4:33 am

Re: SNTP client, unable to synchronize time, error: server-ip-mismatch

Mon Sep 18, 2017 4:38 am

Check port 123 udp is not closed by your isp. I have the same problem last week from ISP.

Sent from my C6833 using Tapatalk
hi, how I can check?.
I did some research, (even though I dont beleive, that problem on ISP side) they said use telnet to ISP to specific port, but seems it does not work well. Unable to test even regular SMTP , POP ports.
Any other solution?
 
User avatar
ErfanDL
Member
Member
Posts: 366
Joined: Thu Sep 29, 2016 9:13 am

Re: RE: Re: SNTP client, unable to synchronize time, error: server-ip-mismatch

Mon Sep 18, 2017 8:58 am

Check port 123 udp is not closed by your isp. I have the same problem last week from ISP.

Sent from my C6833 using Tapatalk
hi, how I can check?.
I did some research, (even though I dont beleive, that problem on ISP side) they said use telnet to ISP to specific port, but seems it does not work well. Unable to test even regular SMTP , POP ports.
Any other solution?
It seems like a problem with the routeros. Because I found the same problem again

Sent from my C6833 using Tapatalk
 
999masks
just joined
Topic Author
Posts: 15
Joined: Sun Mar 06, 2016 4:33 am

Re: SNTP client, unable to synchronize time, error: server-ip-mismatch

Sun Nov 05, 2017 11:02 pm

I am still struggling,
no solution?
I need to sync my router time, any way. Please help us.
 
User avatar
Jotne
Forum Guru
Forum Guru
Posts: 3300
Joined: Sat Dec 24, 2016 11:17 am
Location: Magrathean

Re: SNTP client, unable to synchronize time, error: server-ip-mismatch

Mon Nov 06, 2017 12:25 am

Did you try the NTP package?
 
999masks
just joined
Topic Author
Posts: 15
Joined: Sun Mar 06, 2016 4:33 am

Re: SNTP client, unable to synchronize time, error: server-ip-mismatch

Thu Nov 09, 2017 11:50 pm

Did you try the NTP package?
not yet, what is the NTP package, to create NTP server?
 
User avatar
Jotne
Forum Guru
Forum Guru
Posts: 3300
Joined: Sat Dec 24, 2016 11:17 am
Location: Magrathean

Re: SNTP client, unable to synchronize time, error: server-ip-mismatch

Fri Nov 10, 2017 9:39 am

Download extra packages fro your hardware here:
https://mikrotik.com/download
it does contain full NTP support.
PS It may be for the smal home router that there are no NTP package. For the 750Gv3 there is one.
 
999masks
just joined
Topic Author
Posts: 15
Joined: Sun Mar 06, 2016 4:33 am

Re: SNTP client, unable to synchronize time, error: server-ip-mismatch

Mon Nov 20, 2017 7:35 am

I tried that one too. Even though I dont see anywhere IP mismatch message, but issue is still there.
I dont understand one thing, is this issue is so hard, that no one can figure it out, or i posted in wrong place? :shock:
 
User avatar
Jotne
Forum Guru
Forum Guru
Posts: 3300
Joined: Sat Dec 24, 2016 11:17 am
Location: Magrathean

Re: SNTP client, unable to synchronize time, error: server-ip-mismatch

Mon Nov 20, 2017 8:15 am

It may be a bug, some you have done wrong...
Try to upgrade you box to latest version.
Do a full reset to default config.
Configure minimum to get it to work.
Install NTP package (if it exists for this model)
Try to test it then.
 
tangram
Member Candidate
Member Candidate
Posts: 132
Joined: Wed Nov 16, 2016 9:55 pm

Re: SNTP client, unable to synchronize time, error: server-ip-mismatch

Tue Nov 21, 2017 3:31 pm

I had this problem too. In my case I've just added more servers and one of them finally synchronized.
I've noticed that the ones added with ip don't always work, but between all of them you can get one to sync.

/system ntp client
set enabled=yes primary-ntp=98.175.203.200 secondary-ntp=66.219.116.140 \
server-dns-names="roc.nipne.ro,ntp.zyx.ro"

At first I also thought it was the isp blocking, turns out something isn't quite right with mikrotik or with some ntp servers.
 
999masks
just joined
Topic Author
Posts: 15
Joined: Sun Mar 06, 2016 4:33 am

Re: SNTP client, unable to synchronize time, error: server-ip-mismatch

Thu Dec 07, 2017 6:05 pm

I had this problem too. In my case I've just added more servers and one of them finally synchronized.
I've noticed that the ones added with ip don't always work, but between all of them you can get one to sync.

/system ntp client
set enabled=yes primary-ntp=98.175.203.200 secondary-ntp=66.219.116.140 \
server-dns-names="roc.nipne.ro,ntp.zyx.ro"

At first I also thought it was the isp blocking, turns out something isn't quite right with mikrotik or with some ntp servers.
thanks let me try that one
 
999masks
just joined
Topic Author
Posts: 15
Joined: Sun Mar 06, 2016 4:33 am

Re: SNTP client, unable to synchronize time, error: server-ip-mismatch

Sun Dec 10, 2017 2:22 am

I had this problem too. In my case I've just added more servers and one of them finally synchronized.
I've noticed that the ones added with ip don't always work, but between all of them you can get one to sync.

/system ntp client
set enabled=yes primary-ntp=98.175.203.200 secondary-ntp=66.219.116.140 \
server-dns-names="roc.nipne.ro,ntp.zyx.ro"

At first I also thought it was the isp blocking, turns out something isn't quite right with mikrotik or with some ntp servers.
thanks let me try that one
Same problem ..
 
User avatar
Jotne
Forum Guru
Forum Guru
Posts: 3300
Joined: Sat Dec 24, 2016 11:17 am
Location: Magrathean

Re: SNTP client, unable to synchronize time, error: server-ip-mismatch

Sun Dec 10, 2017 9:46 am

I did have another strange problem with NTP that is still not fixed.
If my ISP gives me a non working NTP using DHCP, it prevents NTP from working, even if I add valid NTP servers.
viewtopic.php?t=116106
 
999masks
just joined
Topic Author
Posts: 15
Joined: Sun Mar 06, 2016 4:33 am

Re: SNTP client, unable to synchronize time, error: server-ip-mismatch

Fri Dec 29, 2017 6:12 am

filed tech support ticket, almost 2 weeks we are exchanging with emails, no results so far.
Last try was to eliminate problem causing devices, but after that, error causing IP/device changed to another device.
As my understanding it nothing to do with device config...
 
999masks
just joined
Topic Author
Posts: 15
Joined: Sun Mar 06, 2016 4:33 am

Re: SNTP client, unable to synchronize time, error: server-ip-mismatch

Fri Dec 29, 2017 6:31 am

i got problem solution explained here, trying to figure it out how to implement
quote from https://www.scribd.com/document/7887721 ... l-Mikrotik
Server ip mismatch
In routed network router can have multiple interfaces and ip addresses and NTP server running on such router cananswer on different ip address then it received request. Then source NAT should be configured to solve this kind of problem which can result in
Bad packet reason = server-ip-mismatch
on client side.
/ip firewall nat add action=src-nat chain=srcnat comment="NTP" disabled=no \protocol=udp src-port=123 to-addresses=192.168.0.1
Where 192.168.0.1 is desired NTP server address. But this rule apply source NAT to all traffic going through soevery other NTP server traffic will be SNATed to one address too. Then this rule can be more closely specified withsrc-address parameter configured to all other ip address which router have on other interfaces. Then if router havethree addresses then two SNAT rules should be added like:
/ip firewall nat add action=src-nat chain=srcnat src-address="192.168.0.2" \comment="NTP interface ether2" disabled=no protocol=udp src-port=123 to-addresses=192.168.0.1/ip firewall nat add action=src-nat chain=srcnat src-address="192.168.0.3" \comment="NTP interface ether3" disabled=no protocol=udp src-port=123 to-addresses=192.168.0.1
 
User avatar
paolopoz
Frequent Visitor
Frequent Visitor
Posts: 77
Joined: Thu Oct 31, 2013 6:38 pm

Re: SNTP client, unable to synchronize time, error: server-ip-mismatch

Thu Jan 11, 2018 1:11 pm

Did you get it working?
If you need help with NAT config just drop a line.
 
999masks
just joined
Topic Author
Posts: 15
Joined: Sun Mar 06, 2016 4:33 am

Re: SNTP client, unable to synchronize time, error: server-ip-mismatch

Fri Jan 26, 2018 7:32 am

Did you get it working?
If you need help with NAT config just drop a line.
thanks for wiling to help.
problem still exist. I am chatting with mikrotik support almost 2 months. There is no solution yet, he mentioned that some of my home devices causing this issue...
 
User avatar
paolopoz
Frequent Visitor
Frequent Visitor
Posts: 77
Joined: Thu Oct 31, 2013 6:38 pm

Re: SNTP client, unable to synchronize time, error: server-ip-mismatch

Fri Jan 26, 2018 10:49 am

I doubt this can be caused by some device on the local network, however you test this hypothesis by unplugging the LAN and let the router plugged only to the WAN.

Another thing that I suggest to check is the source IP address of the server-ip-mismatch. Is it the one you configured? Maybe those wrong packets comes from other sources and that is not the cause of your missed synchronization.
 
999masks
just joined
Topic Author
Posts: 15
Joined: Sun Mar 06, 2016 4:33 am

Re: SNTP client, unable to synchronize time, error: server-ip-mismatch

Sat Mar 03, 2018 6:17 pm

hey guys,
update from my end..
problem fixed!!!
so IP mismatch issue was caused by my EOP (ethernet over power) adapters, but........ that was not a bottleneck..
my ISP(ATT) blocks NTP request on UDP 123 port, when my router runs at DMZ plus mode (PACE router), even though I have 0 firewall rules.
how it solved, with simple NAT masquerade rule to translate port 123 to some different port
chain srcNAT src port 123 protocol UDP action masquerade to port 10000-20000

THATS IT !!!
server IP mismatch is still there, but time is synced now...

Thanks everyone

Who is online

Users browsing this forum: dvdlss, k6ccc and 133 guests