Introduction to Oracle® Solaris 11.2 Network Services

Exit Print View

Updated: December 2014

Precision Time Protocol (PTP)

The PTP software is used to synchronize system time across multiple systems in a broadcast domain, such as a Local Area Network (LAN). Oracle Solaris 11.2 PTP software is implemented as the ptpd daemon which is based on the public domain software available at http://ptpd.sourceforge.net It implements PTP Version 2 as defined in the IEEE standard 1588-2008.

The ptpd daemon can use the hardware assistance capability provided by any compatible Network Interface Card (NIC) and its driver to timestamp the PTP packets.

You can use the svc:/network/ptp:default service to start the ptpd daemon. You can configure a system as a PTP slave or a PTP master.

  • PTP slave: Runs the ptpd daemon in slave mode. A PTP slave synchronizes the system clock to a master clock present in the subnet.

  • PTP master: Runs the ptpd daemon in master mode. Other systems in the slave mode can synchronize their clock to the PTP master.

The state of the ptpd daemon can be slave, master, or initializing.

By default, the service management facility starts the PTP service as a slave and binds the PTP service to the first interface that is up and running. For more information about the Service Management Facility, see the smf (5) man page.

The ptpd daemon uses the /var/log/ptp.log file to record the following information:

  • Timestamp of the PTP log entry

  • State of the ptpd daemon

  • Clock ID