1. mii 模式接入2路phy lan8710,phy地址phy1 为0 ,phy2为1,dual mac模式;
2.2路ip配置分别为192.168.0.8 192.168.1.8;
3.当2路都接入交换机时不停的up down;
[ 4082.624549] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
root@
ARM:/lib# [ 4084.602947] phy->addr = 1,slave_port = 2phy->addr = 1,slave_port = 2
[ 4085.616926] cpsw 4a100000.ethernet eth1: Link is Up - 100Mbps/Half - flow control off
[ 4085.649686] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 4087.183188] phy->addr = 0,slave_port = 1phy->addr = 1,slave_port = 2
[ 4087.665679] cpsw 4a100000.ethernet eth1: Link is Up - 100Mbps/Full - flow control rx/tx
[ 4089.222960] phy->addr = 0,slave_port = 1
[ 4089.226767] cpsw 4a100000.ethernet eth0: Link is Down
[ 4089.713149] phy->addr = 1,slave_port = 2phy->addr = 0,slave_port = 1
[ 4090.225759] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[ 4091.762943] phy->addr = 1,slave_port = 2
[ 4091.766751] cpsw 4a100000.ethernet eth1: Link is Down
[ 4092.293187] phy->addr = 0,slave_port = 1phy->addr = 1,slave_port = 2
[ 4092.785896] cpsw 4a100000.ethernet eth1: Link is Up - 100Mbps/Full - flow control rx/tx
[ 4095.332954] phy->addr = 0,slave_port = 1
[ 4095.336761] cpsw 4a100000.ethernet eth0: Link is Down
[ 4095.833229] phy->addr = 1,slave_port = 2phy->addr = 0,slave_port = 1
[ 4096.335757] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow con
trol rx/tx
4 down掉eth1 开始恢复正常,也能ping通;
root@arm:/lib# ping 192.168.0.1
PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
64 bytes from 192.168.0.1: icmp_seq=1 ttl=128
time=0.419 ms
64 bytes from 192.168.0.1: icmp_seq=2 ttl=128 time=0.442 ms
64 bytes from 192.168.0.1: icmp_seq=3 ttl=128 time=0.427 ms
64 bytes from 192.168.0.1: icmp_seq=4 ttl=128 time=0.417 ms
64 bytes from 192.168.0.1: icmp_seq=5 ttl=128 time=0.392 ms
64 bytes from 192.168.0.1: icmp_seq=6 ttl=128 time=0.416 ms
5 比较奇怪的是我把这一路网口的ip改到192.168.1.8,竟然能ping竟然还是能ping通
同样的现象在eth1上也一样;
感觉像是交换层面的问题,请ti的专家们指导一下;