Hello,

This is more complex than I originally thought. However, I think I
might be getting a handle on what I want to do. I have a lab setup
where locally I want to synchronize several hosts each with two
Ethernet interfaces. For eth1 I would like the PHC to be correct, but
I don't want ptp traffic on eth1.

Here is a clock tree that I think would work:
-NTP time server
    -Host A (PTP server)
        *system clock (via NTP w/ chrony)
            *eth1 (via phc2sys -c eth0 -s CLOCK_REALTIME, no ptp traffic)
            *eth0 (via phc2sys -c eth1 -s CLOCK_REALTIME, also ptp4l
grand master)
                -Host B
                   *eth0 (via ptp4l)
                       *system clock (via phc2sys)
                           *eth1 (via phc2sys -c eth1 -s
CLOCK_REALTIME, no ptp traffic)

My first question is: does this seem like a reasonable setup? My
second question is around phc2sys, as can be seen above each host
needs to have phc2sys for each interface. Is there a way to configure
one instance of phc2sys for this? Or do I need to run two instances?
If it's the latter does this mean I need to create another systemd
service file? I should say this is on Debian, where it comes with
/lib/systemd/system/phc2sys.service by default.

Any input would be appreciated.

thanks,
Paul


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

Reply via email to