Hi Folks,
    I am trying to perform a simple experiment between 2 VMs, with 1 OC on
each VM. VM-1 in Master mode and VM-2 in Slave mode.
However, I see VM-2 OC never goes into SLAVE mode and selecting its local
clock as its BMC :  *"selected local clock 525400.fffe.9b28c6 as best
master"*
Can you please help, if I am missing something.

*Setup Used:*
VM-2 is a clone of VM-1. Both VMs have one  ens3 port each which are
interconnected.
In VM-2 Wireshark, I can see that Announce Message , Sync Message and
Follow_UP Message are reaching VM-2 on port ens3, from VM-1 ens3.
I have used all the default configurations, using the default ptp4l.conf
file.

I am using :
--CentOS Linux-7
--5.15.1-1.el7.elrepo.x86_64
--PTP version used is : 1588-v2

*Commands Used and Output : *

*VM-1*
*(root@localhost /etc) **ptp4l -S -A -l 6 -q -i ens3 -f /etc/ptp4l.conf -m*
ptp4l[77831.311]: port 1: INITIALIZING to LISTENING on INIT_COMPLETE
ptp4l[77831.311]: port 0: INITIALIZING to LISTENING on INIT_COMPLETE
ptp4l[77838.185]: port 1: LISTENING to MASTER on
ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES
ptp4l[77838.185]: selected local clock 525400.fffe.5d8331 as best master
ptp4l[77838.185]: assuming the grand master role

*VM-2:* (-s to Force it to be Slave )
*(root@localhost /etc) ptp4l -S -A -l 6 -q -i ens3 -f /etc/ptp4l.conf -s -m*
ptp4l[77768.013]: port 1: INITIALIZING to LISTENING on INIT_COMPLETE
ptp4l[77768.013]: port 0: INITIALIZING to LISTENING on INIT_COMPLETE
ptp4l[77774.209]: selected local clock 525400.fffe.9b28c6 as best master
ptp4l[77781.751]: selected local clock 525400.fffe.9b28c6 as best master
ptp4l[77788.333]: selected local clock 525400.fffe.9b28c6 as best master

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

Reply via email to