Hi Timo,

not sure if I understand your setup correctly, but could it be that you have an 
issue with reverse path filtering on the client!?

You could check that by setting the following on the client side:

sysctl -w net.ipv4.conf.<if_name>.rp_filter=2

cheers,
Christian

Von: Timo Korthals <korthals.t...@gmail.com>
Gesendet: Montag, 14. Juni 2021 15:58
An: Richard Cochran <richardcoch...@gmail.com>
Cc: linuxptp-users@lists.sourceforge.net
Betreff: Re: [Linuxptp-users] ptp4l on NIC with multiple IP addresses

Dear Richard,

thank you for your answer.
The client is a Livox LiDAR 
(https://github.com/Livox-SDK/Livox-SDK/wiki/Livox-SDK-Communication-Protocol) 
which operates in the 192.168.1.x/24 subnet.
It definetly synchronizes if the PTP grandmaster's source IP address is in the 
same subnet.
But PTP sync does not work if the grandmaster is in another subnet.
Just for clarification: Grandmaster and client are directly connected.
However, I will forward the issue to the manufacturer since it seems to be an 
issue on their side.

Greetings,
Timo


Am Mo., 14. Juni 2021 um 08:41 Uhr schrieb Richard Cochran 
<richardcoch...@gmail.com<mailto:richardcoch...@gmail.com>>:
On Fri, Jun 04, 2021 at 11:05:43PM +0200, Timo Korthals wrote:
> How do I configure ptp4l to send announce messages using all addresses
> configured on eth0?

Why would you want to do that?

After all, the PTP uses multicast.  The source address is
uninteresting from the client POV.

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

Reply via email to