What the "Timeservers" field (in the general setup) does?
-
Hello,
I have two XG-1541. In System > General Setup, I have added my internal NTP server's IP in the "Timeservers" field.
After 4 days of uptime, I saw a time drift of 30 secs with the reality on one of my XG, 55 secs on the another. I ran ntpdate from ssh: it corrected the drift.
After 9 days of uptime (and 5 days from the last manual ntpdate), I saw a time drift of 11 secs and 13 secs. I executed ntpdate from ssh (it corrected the drift).
After 11 days (and 2 days), I saw 2 secs.
After 19 days (and 10 days), I saw 24 secs.I think I need to run ntpd from Services > NTP.
But I wonder what the "timeservers" field is for in general setup? It runs ntpdate at boot time? It runs ntpdate periodically?
I have read the doc (https://docs.netgate.com/pfsense/en/latest/config/general.html) but it does not answer my question.
Bye.
-
Where are you getting this time drift from? The ntp monitoring graph? Or like the gui time on the dashboard?
I see drift in fractions of ms.. Is ntp server running?
-
"Where are you getting this time drift from?"
=> 1) "ntpdate <internal NTP server>" from SSH shell ; or 2) "date" from SSH shell and compare its output with my desktop (my desktop is synced on my internal NTP server by ntpd)."Is ntp server running?"
=> On pfSense? No. As I wrote, I know I probably need to enable it, but before doing that I'm asking what the "timeservers" field in general setup does (running ntpdate at boot? or running ntpdate periodically? or configure ntpd without enable it? or…) -
Hmmm - not exactly sure on that.. Have never run pfsense without running the ntp server portion. I don't point my clients to pfsense either since I run my own local stratum 1 ntp server as well. Pfsense points to this along with all my other clients.
I just point ntp in pfsense towards it. But I am not exactly sure what that entry does if you don't have ntp server actually enabled on pfsense..
-
@lucasg said in What the "Timeservers" field (in the general setup) does?:
I have two XG-1541. In System > General Setup, I have added my internal NTP server's IP in the "Timeservers" field.
What are your internal servers using for a source? I have pfsense configured to use 3 stratum 1 servers and 1 stratum 2.