Hi everyone, Let's assume I have the following setup using three Linux machines each one equipped with the 2 port SFN7042Q PTP enabled 40G NIC cards.
[eth1 <PC1=GM> eth0]---192.168.2.100---------> >---------192.168.2.105---[eth0 <PC2=TC> eth1]---192.168.1.104---------> >--------192.168.1.107---[eth0 <PC3=OC> eth1] I am trying to give the three PCs the following roles: PC1=Grandmaster, GM PC2=Transparent Clock, TC PC3=Ordinary Clock, OC As I indicated in the drawing I am using IPv4 and like to use the unicast mode. The main question is, how should I configure the routing from PC3 to PC1 via PC2? I tried using IP tables on GM to route to OC using [ip route add 192.168.1.107 via 192.168.2.100 dev eth0] and on OC to route to GM using [ip route add 192.168.2.100 via 192.168.1.107 via eth0] and added a virtual bridge on PC2 to provide the route. I was able to ping GM from OC and OC from GM. Then I started the PTP4L on grandmaster mode on GM and on slave mode on OC. The PTP stack works although with bad time sync (about 50us). Then I tried to run the PTP4L on transparent clock mode on PC2. I was unable to get it working. What am I doing wrong? Is my approach to route from GM to OC via TC correct by using bring and route tables? I really appreciate your input. Thank you
_______________________________________________ Linuxptp-users mailing list Linuxptp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-users