LS1028 switch dose not work

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

LS1028 switch dose not work

跳至解决方案
999 次查看
HingWong
Contributor III

How to configure the switch on LS1028 as a common switch, that is, self-learning type? I have now set eno2's IP address and plugged the network cable into swp0. eno2's IP cannot be pinged.

Does this configuration actually work at runtime, or does it have to be configured in the device tree?

0 项奖励
回复
1 解答
971 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Run the following configure:

# ip link add name br0 type bridge stp_state 0
# ip link set swp0 master br0 && ip link set swp0 up
# ip link set swp1 master br0 && ip link set swp1 up
# ip link set swp2 master br0 && ip link set swp2 up
# ip link set swp3 master br0 && ip link set swp3 up
# ip link set br0 up

Then ls1028a will work as an normal switch device. You can test it by connect two Ethernet devices with 2 of the swp ports and use ping to test.

在原帖中查看解决方案

0 项奖励
回复
2 回复数
972 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Run the following configure:

# ip link add name br0 type bridge stp_state 0
# ip link set swp0 master br0 && ip link set swp0 up
# ip link set swp1 master br0 && ip link set swp1 up
# ip link set swp2 master br0 && ip link set swp2 up
# ip link set swp3 master br0 && ip link set swp3 up
# ip link set br0 up

Then ls1028a will work as an normal switch device. You can test it by connect two Ethernet devices with 2 of the swp ports and use ping to test.

0 项奖励
回复
922 次查看
HingWong
Contributor III

Thanks yiping!

BTW,where can I see all methods of swtich settings?

 

looking forward to your reply!

 

0 项奖励
回复