In an email that doesn't seem to have made it through the mailing list (although the list is on the CC for the email, so I don't know why that would be), Kyle Manna suggested that the issue was that the neighborPropDelayThresh default was too low (800) for the latency in my multi-VM environment. Changing this to 500000 has enabled the two VMs to (attempt) to sync. The multicast bind in the VMs was not an issue.
Tweaking announceReceiptTimeout from 3 to 30 (I chose that arbitrarily) seems to have helped with the re-election frequency, but that's really not important to me; I've got what I need. There is definitely other things going on (it seems like they keep re-electing the master more often than I would expect), but it's basically running. Hopefully, this information is useful to someone else who might be googling for this in the future. FYI, doing this between a couple of VMs was *not* my first choice. But I don't have the spare hardware to setup a more 'reasonable' configuration. My end-goal here is to actually verify that a VM can function as an 802.1AS node so I can use it to test a unique piece of hardware which is on my desk (that I can't talk about). The VM-to-VM setup is just a testbed to prove that I'm not totally insane. Thanks to everyone for their help. Matt -----Original Message----- From: Richard Cochran [mailto:richardcoch...@gmail.com] Sent: Tuesday, November 26, 2019 9:04 PM To: Dharm, Matthew <matthew.dh...@avnet.com> Cc: linuxptp-users@lists.sourceforge.net Subject: Re: [Linuxptp-users] gPTP configuration On Wed, Nov 27, 2019 at 01:05:13AM +0000, Dharm, Matthew wrote: > So, it looks like the interconnect between the VMs is working fine, > but something about the 802.1AS configuration isn't right. No, it looks like the multicast bind on the raw socket does not work as expected in your virtualization environment. It is hard for me to guess why you expect gPTP to work across VMs, but I suppose you can add -4 to the command line. A much simpler way to run layer-2 PTP tests is to attach two NICs with a crossover Ethernet cable. No VMs needed. HTH, Richard _______________________________________________ Linuxptp-users mailing list Linuxptp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-users