Summary
Add a "local-stratum" option to allow the VyOS server to operate as a standalone NTP time source, using its local system clock as the reference when no upstream time source is available.
In certain deployments, VyOS gateway servers are installed in environments where no upstream NTP servers or valid external time sources exist. In such scenarios, it remains essential for all devices within the network to maintain synchronized time against a common reference.
Useful cases:
- Maintains time synchronization across internal systems even when external NTP sources are unavailable
- Prevents clients from losing time synchronization entirely
- Ideal for isolated, air-gapped, or lab environments
Additional information
**perferrable command syntax:
set service ntp local-stratum <value>
Example
set service ntp local-stratum 10
This acts as a "fallback" to keep client systems synchronized during network outages,