Community discussions

MikroTik App
 
smilem
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 52
Joined: Tue Jun 26, 2012 10:16 pm

do I need NTP package for time, SNTP doesnt sync anything

Sat Jun 30, 2012 1:49 am

Hello, do I need to install NTP client to sync time for my router as shown here?

http://community.wispmgr.com/showthread.php?t=1
http://dumbpcs.blogspot.com/2011/09/mik ... setup.html

Then why SNTP is installed by default istn't it the same thing as NTP?
I enabled SNTP and it doesn't sync anything
[admin@MikroTik] > /system ntp client print
        enabled: yes
           mode: unicast
    primary-ntp: 216.229.0.179
  secondary-ntp: 206.246.122.250
  poll-interval: 16s
  active-server: 216.229.0.179
 
ditonet
Forum Veteran
Forum Veteran
Posts: 835
Joined: Mon Oct 19, 2009 12:52 am
Location: Europe/Poland/Konstancin-Jeziorna
Contact:

Re: do I need NTP package for time, SNTP doesnt sync anythin

Sat Jun 30, 2012 2:01 am

RouterOS built-in NTP client works properly.
Try different time servers clesest to you:
http://support.ntp.org/bin/view/Servers/NTPPoolServers

HTH,
 
smilem
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 52
Joined: Tue Jun 26, 2012 10:16 pm

Re: do I need NTP package for time, SNTP doesnt sync anythin

Sat Jun 30, 2012 2:48 am

Stupid me, I should have created firewall rule to allow ntp packet to be received by router.
Same goes for pings if you want to use Mikrotik router ping utility, :) This router is very smart.

For anyone else having this problem you should:

Create new firewall rule to accept NTP replies above the deny all trafic rule:

chain: input
protocol: udp
dst port : 123
in interface: wan1 (your WAN interface)
conn state: established

Acction: accept
 
jandafields
Forum Guru
Forum Guru
Posts: 1515
Joined: Mon Sep 19, 2005 6:12 pm

Re: do I need NTP package for time, SNTP doesnt sync anythin

Sat Jun 30, 2012 5:50 am

Stupid me, I should have created firewall rule to allow ntp packet to be received by router.
Same goes for pings if you want to use Mikrotik router ping utility, :) This router is very smart.

For anyone else having this problem you should:

Create new firewall rule to accept NTP replies above the deny all trafic rule:

chain: input
protocol: udp
dst port : 123
in interface: wan1 (your WAN interface)
conn state: established

Acction: accept
The router is not "smart". On the contrary, it only does EXACTLY what you tell it to do. If you tell it to drop all, then it will drop all. It doesn't use any intelligence to try to figure out what you want to do. YOU are the "smarts" of the router. It does only what you allow it to do.