Hi experts,
I am now working on testing the tsn functionality on felix switch of nxp-ls1028, and I find that
the ping fail with two boards(board A and board B) connected by swp0s with the switch configs as LSDK2004 user manual:
ifconfig eno2 up
ip link add name switch type bridge
ip link set switch up
ip link set swp0 master switch && ip link set swp0 up
ip link set swp1 master switch && ip link set swp1 up
ip link set swp2 master switch && ip link set swp2 up
ip link set swp3 master switch && ip link set swp3 up
Set switch ip on two board, and ping each other:
$ ifconfig switch 192.168.1.2 /* On board A */
$ ifconfig switch 192.168.1.3 /* On board B */
$ ping 192.168.1.3 /* On board A */
ping shows:
root@localhost:~/tsntest/linuxptp-configs# ping 192.168.1.3
PING 192.168.1.3 (192.168.1.3) 56(84) bytes of data.
From 192.168.1.2 icmp_seq=1 Destination Host Unreachable
From 192.168.1.2 icmp_seq=2 Destination Host Unreachable
From 192.168.1.2 icmp_seq=3 Destination Host Unreachable
and on board A, it did not get the mac of board B
root@localhost:~/tsntest/linuxptp-configs# arp -a
? (192.168.1.1) at <incomplete> on switch
? (192.168.1.3) at <incomplete> on switch
on board B, it got the mac of board A successfully:
root@localhost:~/tsntest/linuxptp-configs# arp -a
? (192.168.1.2) at 6a:1f:1e:02:cc:69 [ether] on switch
the kernel version on these two boards is the same:
Linux localhost 5.4.3 #3 SMP PREEMPT Tue Jun 9 17:17:31 CST 2020 aarch64 aarch64 aarch64 GNU/Linux
Is there any known issues on switch ports?
Thanks,
Zhantao
Hi Yiping,
Thanks for your reply.
The script and log you give me are no bridge mode,
is there any logs of bridge mode like my question and the LSDK20.04 user manual show?
Thanks,
Zhantao
Hi Yiping,
Thanks for your reply.
I will check it.
Thanks,
Zhantao