On Fri, Jun 10, 2022 at 06:21:38AM +0000, Kirchhoff, Philip wrote:
> Actually, it is not PTP over PRP, but PTP over two networks, on which PRP is 
> also running.

> However, as you can see, the PRP driver assigns an identical MAC
> address for both network interfaces. We wondered if this would be a
> problem for the ptp4l.

No problem for ptp4l.

> Also, the question arises whether one ptp4l instance can handle two
> network interfaces, or whether we should have two ptp4l and two
> phc2sys processes.

Both are possible.  The correct choice depends on what you are trying
to accomplish.

one ptp4l process = Boundary Clock (BC)
two processes     = two separate Ordinary Clocks (OC)

For BC you need to keep the two ports in sync.  If they share the same
PTP Hardware Clock (PHC) then there is nothing to do.  If each port
has its own PHC, then you can use phc2sys or ts2phc to synchronize
them.

> And finally another question: Is it necessary for the PTP protocol
> that the interfaces have IP addresses?

No, you can use layer 2 transport with the '-2' command line option.

HTH,
Richard


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

Reply via email to