This file shows how to configure sfptpd
to act as a PTP slave, with fallback to NTP:
- An NTP sync module is instantiated using the
sync_module
option:- The key-id and key-value are set for authenticating with NTP
using the
ntp_key
option.
- The key-id and key-value are set for authenticating with NTP
using the
- A PTP sync module is instantiated using the
sync_module
option. - The PTP sync module is configured to act as a PTP slave by using the
ptp_mode
option. - The slave also has
ptp_tx_latency
andptp_rx_latency
options that can be used to compensate for latency through the interface (see PPS Measurements). - Any PTP traffic is transmitted using hybrid mode by using the
ptp_network_mode
option (see Hybrid Mode).