Hi All, For some reason my emails seem to be losing all formatting. Is there a 
trick to sending these so that they don't become an incomprehensible mess? All 
the best, Joe ---- On Mon, 10 Dec 2018 15:58:16 +0000 billingsleyjoseph 
<j...@josephbillingsley.co.uk> wrote ---- Hi All, I'm having trouble getting a 
ptp4l slave to synchronise with a master. We have a ADVA grandmaster that is 
connected over ethernet directly into a server. The server contains a VM 
running ptp4l in slave mode. The NIC is set up to passthrough to the VM so 
there are no virtual/physical switches in the way. When I run ptp4l in the VM I 
get sudo ptp4l -m - i ens192: selected /deb/ptp0 as PTP clock port 1: 
INITIALIZING to LISTENING on INIT_COMPLETE port 0: INITIALIZING to LISTENING on 
INIT_COMPLETE selected best master clock b49691.fffe.28d7d0 selected best 
master clock b49691.fffe.28d7d0 ... Until I kill it, without it ever actual 
syncing as far as I can tell I've ran tcpdump (in promiscuous mode) and found 
what looks like PTP sync messages being directed to the IPv6 PTP multicast 
address and another message I don't recognise: Sync sample: 14:53:29.146783 
00:80:ea:36:02:88 (oui Unknown) > 01:1b:19:00:00:00 (oui Unknown), ethertype 
Unknown     0x0000: 0002 002c 1800 0028 0000 0000 079a 0000     0x0010: 0000 
0000 0000 ea3c 67a0 0001 0002 6e9e     0x0020: 00fc 0000 0005 5719 050a 9640 
0000 ??? sample: 14:53.29.201442 00:80:ea:36:02:99 (oui Unknown) > 
01:1b:19:00:00:00 (oui Unknown), ethertype Unknown     0x0000: 0b02 0040 1800 
0028 0000 0000 0000 0000     0x0010: 0000 0000 0000 ea3c 67a0 0001 0002 b534    
 0x0020: 05fd 0000 0005 5719 00d9 97e8 0000 0080     0x0030: 07fe ffff 8000 
80ea 3c67 a000 0100 0000 Running tcpdump in non-promiscuous mode stops these 
packets from appearing. If I then manually add the interface to the multicast 
PTP group they are received again but this has no effect on ptp4l. Looking 
through the source code it looks like ptp4l does this already. My problem is 
very similar to some others from previous emails: 
https://sourceforge.net/p/linuxptp/mailman/message/36161545/ 
https://sourceforge.net/p/linuxptp/mailman/message/34598120/ 
https://sourceforge.net/p/linuxptp/mailman/message/35554304/ Following those 
threads I have: - Disabled firewalld - Added net.ipv4.conf.default.rp_filter = 
0 and net.ipv4.conf.all.rp_filter = 0 to /etc/sysctl.conf But it does not 
appear to be working. I will hopefully gain access to the timing box soon so 
can check there for any issues. Any ideas? Thanks, Joe
_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users

Reply via email to