I need to set up an NTP server to test the NTP functionality of some power meters (PXM2000), gateways (PXG900), and MOXAS in a switchgear application. For my application I do not care about precise time as I am working without an internet connection, and I am hoping that I can just use the local time on the computer. I simply want to see the time change and sync on all the devices that use NTP for time synchronization as it is my job to confirm the communication of all devices.
This is my first attempt at setting up a server and I am hoping that someone can fill in the gaps as to where I have gone wrong. I have been trying to make this happen using a Rpi 4, a computer running ubuntu 20.04, and I have also tried using a windows machine.
For the Linux based machines I have followed the steps provided in the highest rated answer shown in: How do I setup a local NTP server?
As this didn't quite work straight across for the Rpi I have also gone both directions as a server and client via both machines following the steps provided here: https://medium.com/@rishabhdevyadav/how-to-install-ntp-server-and-client-s-on-ubuntu-18-04-lts-f0562e41d0e1
The windows machine I simply followed: http://techtips.tv/windows/configure-ntp-server-on-windows-10-client-or-windows-server-2019/
clearly there is more todo than this as it didn't work when the devices in the switchgear were directed towards the computers IP address.
Without internet access I have yet to see the Linux NTP server say it is synchronized on the server or client side.
I will be starting again with fresh installs on both Linux machines, and I am wondering if what I am trying to accomplish is possible or if it does not work the way I am trying to run it. If not, what is the easiest way to set this up because everything I have read sounds simple, but it is not working.