I was facing the same issue. The slave always chose its own clock as the
best master clock.

In my case, that was because the UDP ports 319 and 320 required for ptp4l
were not open on the master and slave.

After adding the iptables entry for ports 319 and 320 in both master and
slave, the slave was able to sync its time from the master clock as
expected.

# *iptables -I INPUT -p udp -m udp --dport 319 -j ACCEPT*
# *iptables -I INPUT -p udp -m udp --dport 320 -j ACCEPT*

You can refer to this link for details:
https://docs.oracle.com/cd/E37670_01/E41138/html/section_kpy_1gh_pp.html

Thanks.
_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users

Reply via email to