I don't know if this is an OPNSense bug or not - so I thought I would post here and get comments before reporting as a bug (if appropriate) on Github.
In short: NTP is not working for devices on my Wifi Mesh network that are assigned dynamic addresses, however it does work if I assign them a static address.
Question: is this an OPNSense bug or just the way things should work?
Additional background and detail:
I am running OPNSense (current community version) with various interfaces, including:
LAN
LAN_IOT
Master_Clock
I have two separate physical Wi-Fi networks. One is attached to LAN the other to LAN_IOT.
Both the Wi-Fi LAN and LAN_IOT are running in Access Point mode.
The Wi-Fi LAN device is a TP-Link Deco mesh system (with three TP-Link Deco connected in the Mesh).
The Wi-Fi LAN_IOT is a legacy TP-Link Access Point with also connects to a legacy TP-Line Extender.
OPNSense is running the Network Time Service.
The Network Time Service runs on the Master_Clock interface.
The Network Time Service gets its time from an ESP32 - GPS based Stratum 1 Time Server I developed and released in 2023.
The Network Time Service delivers NTP date/time data to all other interfaces.
This setup has been working very well for me since 2023, however almost all my devices connected on all interfaces have been set up, via OPNSense, with static IP addresses.
Recently I have been programming another set of ESP32 projects and noticed that while there could connect to either the LAN Wi-Fi network or the LAN_IOT Wi-Fi network they would not retrieve the NTP date/time data.
I spent several days trying to resolve this; but most of this time was chasing down the rabbit hole that my ESP32 code was bad / bad board configurations / etc (non of which seemed to be the issue in the end).
Also, in debugging this, at one point I stopped the OPNSense Time Service, and with it stopped my other device could get NTP date/time data but my ESP32 projects could not. So that was not it.
However, late yesterday I found that if in OPNSense I set the ESP32 project device up with a static IP address it was able to get the NTP date/time date just fine. However when it ran as with a dynamic IP address the problem returned.
In conclusion:
In any case, I am reporting it here.
I don't know if its an issue with OPNsense, TP-Link, both. or simply how things work.
If it is an as of yet unknown/unreported issue with OPNSense, the above offers a work around.
Also, if the comments here so indicate, I will open it up as a bug on the OPNSense Github page.
With thanks.
In short: NTP is not working for devices on my Wifi Mesh network that are assigned dynamic addresses, however it does work if I assign them a static address.
Question: is this an OPNSense bug or just the way things should work?
Additional background and detail:
I am running OPNSense (current community version) with various interfaces, including:
LAN
LAN_IOT
Master_Clock
I have two separate physical Wi-Fi networks. One is attached to LAN the other to LAN_IOT.
Both the Wi-Fi LAN and LAN_IOT are running in Access Point mode.
The Wi-Fi LAN device is a TP-Link Deco mesh system (with three TP-Link Deco connected in the Mesh).
The Wi-Fi LAN_IOT is a legacy TP-Link Access Point with also connects to a legacy TP-Line Extender.
OPNSense is running the Network Time Service.
The Network Time Service runs on the Master_Clock interface.
The Network Time Service gets its time from an ESP32 - GPS based Stratum 1 Time Server I developed and released in 2023.
The Network Time Service delivers NTP date/time data to all other interfaces.
This setup has been working very well for me since 2023, however almost all my devices connected on all interfaces have been set up, via OPNSense, with static IP addresses.
Recently I have been programming another set of ESP32 projects and noticed that while there could connect to either the LAN Wi-Fi network or the LAN_IOT Wi-Fi network they would not retrieve the NTP date/time data.
I spent several days trying to resolve this; but most of this time was chasing down the rabbit hole that my ESP32 code was bad / bad board configurations / etc (non of which seemed to be the issue in the end).
Also, in debugging this, at one point I stopped the OPNSense Time Service, and with it stopped my other device could get NTP date/time data but my ESP32 projects could not. So that was not it.
However, late yesterday I found that if in OPNSense I set the ESP32 project device up with a static IP address it was able to get the NTP date/time date just fine. However when it ran as with a dynamic IP address the problem returned.
In conclusion:
In any case, I am reporting it here.
I don't know if its an issue with OPNsense, TP-Link, both. or simply how things work.
If it is an as of yet unknown/unreported issue with OPNSense, the above offers a work around.
Also, if the comments here so indicate, I will open it up as a bug on the OPNSense Github page.
With thanks.
"