Community discussions

MikroTik App
 
User avatar
anav
Forum Guru
Forum Guru
Topic Author
Posts: 19323
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Setting Time in Capac from main router.

Mon May 25, 2020 5:06 am

I noticed the time and date were wrong on my capac.
I do have a System SNTP client option available.
it was not enabled and had multicast as the default type.

I changed it as follows
enabled
primary NTP - gateway of subnet the CAPAC is (ex. capac IP is 192.168.1.100 gateway entered 192.168.1.1)
I noted that multicast changed on its own to unicast.

I checked system clock and NO change. Still wrong time and date???
Is there an input fw rule I need to make if the router is providing a time service to the capac??

(router has NTP client set and has correct date and time)

I thought it would be best if all devices are synced to the same time as router...........??
 
User avatar
karlisi
Member
Member
Posts: 438
Joined: Mon May 31, 2004 8:09 am
Location: Latvia

Re: Setting Time in Capac from main router.

Mon May 25, 2020 8:58 am

I doubt your gateway works as NTP server. Set ntp server DNS name to pool.ntp.org
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11593
Joined: Thu Mar 03, 2016 10:23 pm

Re: Setting Time in Capac from main router.

Mon May 25, 2020 9:07 am

(router has NTP client set and has correct date and time)

Router has to act as NTP server ... and for that extra package ntp has to be installed.
 
User avatar
anav
Forum Guru
Forum Guru
Topic Author
Posts: 19323
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Setting Time in Capac from main router.

Mon May 25, 2020 1:56 pm

That part is done (ntp package).

So is this is correct?

ntp client set to pool and gains IP and Router time shows correct.
enable ntp server
only option is to set type of broadcast - kept default of manycast.

Thats it? no other selections seem possible?

Check capac - sntp client set to gateway of router LAN that capac is a member of, so far nothing happens.......
 
User avatar
anav
Forum Guru
Forum Guru
Topic Author
Posts: 19323
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Setting Time in Capac from main router.  [SOLVED]

Mon May 25, 2020 2:52 pm

I suggest you
a. setup NTP client on router - done, time synched on router
b. setup NTP server on router - enabled, broadcast and manycast selected.
c. Final step - add input chain rule for service ex. in-interface-list=lan protocol=udp dst-port=123 comment="Access NTP Server"
d. On any other devices (capac etc.) put the LAN gateway IP of the device as the sntp server!
 
User avatar
anav
Forum Guru
Forum Guru
Topic Author
Posts: 19323
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Setting Time in Capac from main router.

Mon May 25, 2020 2:56 pm

Why thank you. Brilliant you are!!
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11593
Joined: Thu Mar 03, 2016 10:23 pm

Re: Setting Time in Capac from main router.

Mon May 25, 2020 6:26 pm

Why thank you. Brilliant you are!!
Hail Anav, the guru of ours!
 
User avatar
anav
Forum Guru
Forum Guru
Topic Author
Posts: 19323
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Setting Time in Capac from main router.

Sun May 31, 2020 4:26 pm

hehe, dont forget he has that elusive MT designation MTUNA certificate!! Its special and rare!

Who is online

Users browsing this forum: Bing [Bot] and 35 guests