Page 1 of 1

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

Posted: Thu Sep 14, 2017 8:45 am
by 999masks
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 ! :(

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

Posted: Thu Sep 14, 2017 11:19 am
by Jotne
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

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

Posted: Thu Sep 14, 2017 11:46 am
by karlisi
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?

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

Posted: Thu Sep 14, 2017 4:14 pm
by strods
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.

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

Posted: Fri Sep 15, 2017 5:55 am
by 999masks
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

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

Posted: Fri Sep 15, 2017 5:58 am
by 999masks
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..

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

Posted: Fri Sep 15, 2017 8:26 am
by ErfanDL
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

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

Posted: Mon Sep 18, 2017 4:38 am
by 999masks
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?

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

Posted: Mon Sep 18, 2017 8:58 am
by ErfanDL
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

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

Posted: Sun Nov 05, 2017 11:02 pm
by 999masks
I am still struggling,
no solution?
I need to sync my router time, any way. Please help us.

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

Posted: Mon Nov 06, 2017 12:25 am
by Jotne
Did you try the NTP package?

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

Posted: Thu Nov 09, 2017 11:50 pm
by 999masks
Did you try the NTP package?
not yet, what is the NTP package, to create NTP server?

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

Posted: Fri Nov 10, 2017 9:39 am
by Jotne
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.

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

Posted: Mon Nov 20, 2017 7:35 am
by 999masks
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:

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

Posted: Mon Nov 20, 2017 8:15 am
by Jotne
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.

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

Posted: Tue Nov 21, 2017 3:31 pm
by tangram
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.

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

Posted: Thu Dec 07, 2017 6:05 pm
by 999masks
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

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

Posted: Sun Dec 10, 2017 2:22 am
by 999masks
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 ..

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

Posted: Sun Dec 10, 2017 9:46 am
by Jotne
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

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

Posted: Fri Dec 29, 2017 6:12 am
by 999masks
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...

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

Posted: Fri Dec 29, 2017 6:31 am
by 999masks
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

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

Posted: Thu Jan 11, 2018 1:11 pm
by paolopoz
Did you get it working?
If you need help with NAT config just drop a line.

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

Posted: Fri Jan 26, 2018 7:32 am
by 999masks
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...

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

Posted: Fri Jan 26, 2018 10:49 am
by paolopoz
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.

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

Posted: Sat Mar 03, 2018 6:17 pm
by 999masks
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