Hello all,

I'm trying to use a device with ptplinux v2.0 running ptp4l in Ordinary Clock 
Master Unicast UDPv4 E2E connecting the ethernet interface of that device 
(eth0.0) to the Calnex equipment (PTP1588v2 tester) in Slave mode (Master test 
mode).
I configured the eth0.0 interface of the Master device with IP 192.168.4.100/24 
and Calnex Slave interface with 192.168.4.101/24, and checked connectivity 
(ARPs and PINGs are working good).
Then I changed the "default.cfg" file only these parameters:

[global]
dataset_comparison G.8275.x
G.8275.defaultDS.localPriority 128
masterOnly 0
G.8275.portDS.localPriority 128
hybrid_e2e 1
inhibit_multicast_service 1
unicast_listen 1
unicast_req_duration 60

Then I run the ptp4l process with the following arguments:

ptp4l -E -4 -H -f /etc/default.cfg -i eth0_0 -l 6

When I start the Calnex Slave and capture packets exchanged I see only "Delay 
Request" and "Delay Response" Unicast packets. "Sync" and "Announce" packets 
are not transmitted by the device running ptpt4l. I saw that  "Sync" and 
"Announce" packets are transmitted by the device if I change 
"inhibit_multicast_service" to 0 value in "default.cfg" file, but in that case 
they are multicast packets, not unicast (I need Unicast).

If I add a "[unicast_slave_table]" to "default.cfg" like this:

[unicast_slave_table]
table_id 1
logQueryInterval -4
UDPv4  192.168.4.101

[eth0_0]
unicast_slave_table 1


When I run the ptp4l process it seems doesn't recognise that type of table:

ptp4l -E -4 -H -f /etc/default.cfg -i eth0_0 -l 6
unknown option table_id at line 103 in unicast_slave_ta section
failed to parse configuration file /etc/default.cfg

So...
What is missing to "ptp4l" works as PTP Master Unicast UDPv4 E2E and all 
PTP1588v2 "Sync", "Announce", "Del Req" and "Del_Resp" are exchanged between 
Master and Slave devices in Unicast packets, not Multicast?

Thanks for any help!
Alberto

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

Reply via email to