Maintaining accurate camera times on an isolated subnet?

AndrewNorCal

Getting the hang of it
Joined
Mar 23, 2023
Messages
52
Reaction score
36
Location
Northern California
I have my cameras on their own private subnet and the gateway is inactive.

Clocks on devices eventually wander.

What do most folks do to keep their cameras "on time" when they can't "call out" and automatically sync time with a time server?

Do you just manually reset the camera times on a regular schedule? (If so, what have you found is a good schedule? Twice a year? Probably varies by model, eh?)

Thanks!
Andrew
 

AndrewNorCal

Getting the hang of it
Joined
Mar 23, 2023
Messages
52
Reaction score
36
Location
Northern California
Thanks, guys, super helpful!

I found this from a post here too:

So, Flintstone61, in your screenshot, the last change to make would be to change the Amcrest checked "Sync with NTP Server" from "0.nettime.pool.ntp.org" to the static IP address of the local computer hosting the cameras, correct?

Oh, and I need to set the cameras to a working gateway for this to work, right?
(Right now, some are even set to 0.0.0.0!)

Thanks!
Andrew
 
Last edited:

Flintstone61

Known around here
Joined
Feb 4, 2020
Messages
6,650
Reaction score
11,019
Location
Minnesota USA
IP of PC yes. I think that'll work.....
Not sure about the gateway, IF the B. I. PC is physically attached to the same switch as the cams. Probably not.
If the BI pc connection to the cams is thru the router, then yes.
I'm noticing that my cams are not saving the changes I make in Daylight savings time or NTP settings.
I think the NVR's are running the show on time stamps.....those are also point to the net time server pool 1.
I can't know unless I unplug an NVR, or two.
 

Flintstone61

Known around here
Joined
Feb 4, 2020
Messages
6,650
Reaction score
11,019
Location
Minnesota USA
Checking my one NVR to see how it interacts with my PC at 192.168.0.43 ( BI PC address)
It auto "unsaves" my new parameters on the cams, as if Something is saying,,,"Nothing to see here, you are the slave, we got the NVR as Master and is synced to the Atomic Clock at NORAD. Go lay by your console."
 
Last edited:

Flintstone61

Known around here
Joined
Feb 4, 2020
Messages
6,650
Reaction score
11,019
Location
Minnesota USA
Whatever LOL all my cams are with 1/2 second the Console. Saving parameters in the NVR's seems to take, so they must "serve" time out to the Cams. I guess.
 

Mike A.

Known around here
Joined
May 6, 2017
Messages
3,837
Reaction score
6,412
Oh, and I need to set the cameras to a working gateway for this to work, right?
(Right now, some are even set to 0.0.0.0!)
Don't need to change the gateway (assuming cams/NTP server are on the same subnet at least).

You may need to allow UDP 123 through the Windows firewall. Also may need to disable the W32time service if it's already running on the server and has grabbed port 123.
 

AndrewNorCal

Getting the hang of it
Joined
Mar 23, 2023
Messages
52
Reaction score
36
Location
Northern California
Don't need to change the gateway (assuming cams/NTP server are on the same subnet at least).
Thanks, Mike. The BI Box (NTP server) has the NIC in it that hosts the camera subnet, but box (172.) and subnet (192.) have different IP prefixes.

Think that'll still work?

You may need to allow UDP 123 through the Windows firewall. Also may need to disable the W32time service if it's already running on the server and has grabbed port 123.
Oooo, good advice. I'll have to check on that.

Thanks!
Andrew
 

Mike A.

Known around here
Joined
May 6, 2017
Messages
3,837
Reaction score
6,412
Thanks, Mike. The BI Box (NTP server) has the NIC in it that hosts the camera subnet, but box (172.) and subnet (192.) have different IP prefixes.

Think that'll still work?
The BI/NTP server has a 192.168.x.x address in order to access the cameras on that side so as long as you've not restricted the cams from seeing the BI/NTP server, should be OK. The cams aren't going beyond their subnet so don't need a gateway to get out anywhere.
 

AndrewNorCal

Getting the hang of it
Joined
Mar 23, 2023
Messages
52
Reaction score
36
Location
Northern California
In case anyone stumbles on this thread, I found this thread which covers the topic in good detail:

Andrew
 
Top