Re: [Linuxptp-users] Test fails with tap interfaces and UDP protocol

2018-04-16 Thread OLIVA VENEGAS Yaset - Subcontractor
Hi Jake,

Finally, the test over Ethernet was enough for me.
Thanks for your prompt reply.

Yaset

-Original Message-
From: Keller, Jacob E <jacob.e.kel...@intel.com> 
Sent: jeudi 12 avril 2018 19:26
To: OLIVA VENEGAS Yaset - Subcontractor 
<yaset.oliva-venegas.subcontrac...@crf.canon.fr>; 
linuxptp-users@lists.sourceforge.net
Subject: RE: Test fails with tap interfaces and UDP protocol

> -Original Message-
> From: OLIVA VENEGAS Yaset - Subcontractor [mailto:yaset.oliva- 
> venegas.subcontrac...@crf.canon.fr]
> Sent: Thursday, April 12, 2018 5:17 AM
> To: linuxptp-users@lists.sourceforge.net
> Subject: [Linuxptp-users] Test fails with tap interfaces and UDP 
> protocol
> 
> Hello,
> 
> 
> 
> I've been trying to test without success ptp4l with virtual tap 
> interfaces using UDP.
> 
> The symptom is that no foreign clock is seen and then the slave 
> auto-select as BM. However using Ethernet the foreign clock is seen and 
> selected.
> 
> 
> 
> My network is composed of two tap interfaces and one switch in-between.
> 
> Traffic analysis (using Wireshark) on the slave interface shows the 
> UDP packets as expected.
> 
> However,  debugging ptp4l demonstrates that no UDP packet is received 
> at application level (printing the FD on events is always FD_ANNOUNCE_TIMER).
> 
> 

Common problems could include (a) firewalld or iptables interfering? (b) did 
you make sure ptp4l is configured to use UDP?

Thanks,
Jake

> 
> I'd appreciate any comment on this.
> 
> 
> 
> Thanks,
> 
> 
> 
> Yaset


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users


[Linuxptp-users] Test fails with tap interfaces and UDP protocol

2018-04-12 Thread OLIVA VENEGAS Yaset - Subcontractor
Hello,

I've been trying to test without success ptp4l with virtual tap interfaces 
using UDP.
The symptom is that no foreign clock is seen and then the slave auto-select as 
BM. However using Ethernet the foreign clock is seen and selected.

My network is composed of two tap interfaces and one switch in-between.
Traffic analysis (using Wireshark) on the slave interface shows the UDP packets 
as expected.
However,  debugging ptp4l demonstrates that no UDP packet is received at 
application level (printing the FD on events is always FD_ANNOUNCE_TIMER).

I'd appreciate any comment on this.

Thanks,

Yaset
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users