Isolated Network Configuration

William Bergen <[email protected]> Tue, 21 Jan 2025 16:28:00 -0500
Newsgroups gmane.comp.time.chrony.user
Message-ID <CALESSrjKx+cjP1OWAB=mVaA7prQxMhwLDnUMRZDrZSEH_4Ygtg@mail.gmail.com>
Hello,
I have an isolated network with the following topology:

   - 2 “servers”, each with a serial GPS refclock
   - N “clients” that are configured to use the 2 servers

None of the computers are connected to the internet and thus there is no
NTP connection. All computers have an RTC. Server A will be powered on at
all times and the other computers will be powered on and off as needed
(this is an embedded environment). The diagram below shows the setup in a
little more detail.
[image: network.png]
I’ve been spending quite a bit of time trying to configure the system to
meet my needs but I can’t seem to satisfy every scenario simultaneously. I
know this is complicated by the fact that there are only 2 servers in the
network. I’ve tried to compile my requirements into a table of scenarios
and desired outcomes.
[image: scenarios.png]
So far, my biggest trouble has been meeting SC04 AND SC06 with the same
configuration. This is where I’m at right now with the relevant sections of
the configuration:
Server A

rtcsyncallow 192.168.5
local stratum 10 orphan
makestep 1 -1
refclock SHM 0 refid GPS delay 0.2 trust
server 192.168.5.1
peer 192.168.5.4 iburst minpoll 4

Server B

rtcsyncallow 192.168.5
local stratum 10 orphan
makestep 1 -1
refclock SHM 0 refid GPS delay 0.2
server 192.168.5.4
peer 192.168.5.1 iburst minpoll 4 trust

Client X

rtcsync
makestep 1 -1
server 192.168.5.1 iburst minpoll 4 trust
server 192.168.5.4 iburst minpoll 4

This config setup is the closest I have gotten to achieving my desired
outcomes. I thought that the orphan option for the local refclock was
correct in this scenario but I keep receiving an error when testing
SC05: Unknown
local refid in orphan mode. I’m happy to provide more information and I
would appreciate all the help I can get at this point!
network.png (image/png, 31 KB) - not displayed
scenarios.png (image/png, 245.9 KB) - not displayed