xl4-shiro / excelfore-gptp

gPTP, IEEE 802.1AS-REV implementation
GNU General Public License v2.0
63 stars 38 forks source link

how to run gptp in two linux? #8

Open uestcgxh opened 3 years ago

uestcgxh commented 3 years ago

Hello, I am synchronizing two Linux hosts over gPTP. But I ran into some problems. I changed the local IP and destination IP to my own case in "ix_gptpnet.c". But when I run the GPTP process on two Linux hosts, I don't seem to see them talking to each other and synchronizing. I don't know how to solve this problem, looking forward to your answer, thank you! In Linux1, my command is: $./gptp2d -d eno1 eno1 is my NIC and supports PTP in linux1

In Linux2, my command is: $./gptp2d -d eno1 eno1 is my NIC and supports PTP in linux2