PTP layer 2
To enable PTP layer 2 support in TimeKeeper use the PTP_LAYER2 configuration parameter. When enabled the server or source communicates via 802.3 (raw Ethernet frames/Layer 2 packets).
The PTP_LAYER2 option is available to use as a server or a source parameter. Here is an example of how to configure a server:
SERVEPTP0 () { PTPSERVERVERSION='2'; PTPSERVERDOMAIN='0'; PTP_LAYER2=1; }
Here is an example of how to configure a source (that can communicate with the server above):
SOURCE0 () { PTPDOMAIN='0'; PTPCLIENTVERSION='2'; PTP_LAYER2=1; }
Please note the following limitations:
- PTP_LAYER2 is only supported on Linux.
- The PTP_LAYER2 option cannot be used with the IPV6 configuration parameter.
- In order to record layer 2 PTP packets with the VERBOSE_TCPDUMP option, the interface for capture on that server or source needs to be specified using the IFACE parameter. Only one interface can be captured with VERBOSE_TCPDUMP at a time.