Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
20.1 Legacy Series
»
[Solved] Strange NTP time sync problem
« previous
next »
Print
Pages: [
1
]
Author
Topic: [Solved] Strange NTP time sync problem (Read 2935 times)
gunnarf
Jr. Member
Posts: 91
Karma: 4
[Solved] Strange NTP time sync problem
«
on:
May 12, 2020, 01:09:29 pm »
I have two firewalls running OPNsense. On both of them I have set up ntp time syncronization. On box number 1 I get, if turning off ntp service)
root@OPNsense:~ # ntpdate 193.182.111.12
12 May 12:59:40 ntpdate[13215]: no server suitable for synchronization found
and on this box the service does not work!!!
And when staring NTP service I get "No active peers available"
On the other:
root@OPNsense:~ # ntpdate 193.182.111.12
12 May 13:08:27 ntpdate[97654]: adjust time server 193.182.111.12 offset +0.002239 sec
Works as expected.
No strange own rules on neither box!
Gunnar
«
Last Edit: June 15, 2020, 03:40:44 pm by gunnarf
»
Logged
gunnarf
Jr. Member
Posts: 91
Karma: 4
Re: [Solved] Strange NTP time sync problem
«
Reply #1 on:
June 15, 2020, 03:47:21 pm »
This is how I solved the problem. I have working ipv6 on both boxes, just as a reminder.
If any of the servers in the list of wanted servers, can return an ipv6 address, NTP will stop working. So problem solved by taking away for instance sth1.ntp.se and using the resolved ipv4 address in the list. Even if I had the 2 first servers as ipv4 addresses and the two next as gbg1.ntp.se and mmo1.ntp.se, NTP would fail to find any servers. I replaced all 4 lines with their ipv4 addresses, and NTP is working.
If the error lies within the NTP daemon or the way OPNsense addresses the daemon, is something I won't dig into. But it's sad that using ipv6 causes so many strange errors!
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
20.1 Legacy Series
»
[Solved] Strange NTP time sync problem