This file shows how to configure sfptpd
to act as a PTP domain bridge:
- Two PTP sync modules are instantiated using the
sync_module
option. - One instance is configured to act as a PTP master by using the
ptp_mode
option. - The other instance is configured to act as a PTP slave by using the
ptp_mode
option. - Each instance is allocated to a different PTP domain using the
ptp_domain
option. - The slave also has
ptp_tx_latency
andptp_rx_latency
options that can be used to compensate for latency between the two interfaces (see PPS Measurements). - Any PTP traffic is transmitted using hybrid mode by using the
ptp_network_mode
option in the generic[ptp]
section (see Hybrid Mode)..