Hi all,

in our embedded device we try to get ptp running on a prp network.

When I enable prp, ifconfig looks like ...
ip netns exec process ifconfig
eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500  metric 1
        inet6 fe80::2d0:93ff:fe37:758e  prefixlen 64  scopeid 0x20<link>
        ether 00:d0:93:37:75:8e  txqueuelen 1000  (Ethernet)
        RX packets 9827  bytes 883796 (863.0 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 7324  bytes 1119153 (1.0 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device base 0xa000

eth2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500  metric 1
        inet6 fe80::2d0:93ff:fe37:758e  prefixlen 64  scopeid 0x20<link>
        ether 00:d0:93:37:75:8e  txqueuelen 1000  (Ethernet)
        RX packets 4141  bytes 372857 (364.1 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 6554  bytes 1074997 (1.0 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device base 0xc000

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536  metric 1
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 2615  bytes 232732 (227.2 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 2615  bytes 232732 (227.2 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

prp1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1494  metric 1
        inet 192.168.2.2  netmask 255.255.255.0  broadcast 0.0.0.0
        inet6 fe80::2d0:93ff:fe37:758e  prefixlen 64  scopeid 0x20<link>
        ether 00:d0:93:37:75:8e  txqueuelen 1000  (Ethernet)
        RX packets 13967  bytes 1061018 (1.0 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 6587  bytes 987621 (964.4 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


So the first question is: is it possible to use ptp in such a configuration at 
all?
If so, what would be the right configuration: one ptp4l listening on both eth 
devices like
  ptp4l -l 5 -f /var/run/timemaster/ptp4l.0.conf -H -i eth1 -i eth2
or one ptp4l and phc2sys for each eth device?

Is there some kind of documentation describing the correct configuration of ptp 
on prp?

Thank you very much in advance

  Alex

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

Reply via email to