10G MAC3 ping MAC4 can not work

cancel
Showing results for 
Search instead for 
Did you mean: 

10G MAC3 ping MAC4 can not work

59 Views
muaxi8
Contributor V

Lx2160ardb, I connect 10G MAC3 and 10G MAC4 with network cable, and then configure IP address respectively, the status is up, but dpMac.3 and dpMAC.4 cannot ping, but pingipv6 address is through

 

root@TinyLinux:~# ls-listni
dprc.1/dpni.1 (interface: eth0, end point: dpmac.2)
dprc.1/dpni.0 (interface: eth1, end point: dpmac.17)
root@TinyLinux:~#
root@TinyLinux:~# ls-addni dpmac.3
[ 48.761029] fsl_mc_allocator dpbp.2: Adding to iommu group 11
[ 48.767895] fsl_mc_allocator dpmcp.36: Adding to iommu group 11
[ 48.773999] fsl_mc_allocator dpcon.47: Adding to iommu group 11
[ 48.779988] fsl_mc_allocator dpcon.46: Adding to iommu group 11
[ 48.785991] fsl_mc_allocator dpcon.45: Adding to iommu group 11
[ 48.791977] fsl_mc_allocator dpcon.44: Adding to iommu group 11
[ 48.797968] fsl_mc_allocator dpcon.43: Adding to iommu group 11
[ 48.803954] fsl_mc_allocator dpcon.42: Adding to iommu group 11
[ 48.809947] fsl_mc_allocator dpcon.41: Adding to iommu group 11
[ 48.815932] fsl_mc_allocator dpcon.40: Adding to iommu group 11
[ 48.821927] fsl_mc_allocator dpcon.39: Adding to iommu group 11
[ 48.827914] fsl_mc_allocator dpcon.38: Adding to iommu group 11
[ 48.833905] fsl_mc_allocator dpcon.37: Adding to iommu group 11
[ 48.839890] fsl_mc_allocator dpcon.36: Adding to iommu group 11
[ 48.845879] fsl_mc_allocator dpcon.35: Adding to iommu group 11
[ 48.851861] fsl_mc_allocator dpcon.34: Adding to iommu group 11
[ 48.857851] fsl_mc_allocator dpcon.33: Adding to iommu group 11
[ 48.863833] fsl_mc_allocator dpcon.32: Adding to iommu group 11
[ 48.870075] fsl_dpaa2_eth dpni.2: Adding to iommu group 11
[ 49.022167] fsl_dpaa2_eth dpni.2: Probed interface eth2
Created interface: eth2 (object:dpni.2, endpoint: dpmac.3)
root@TinyLinux:~#
root@TinyLinux:~#
root@TinyLinux:~# ls-addni dpmac.4
[ 53.075119] fsl_mc_allocator dpbp.3: Adding to iommu group 11
[ 53.082006] fsl_mc_allocator dpmcp.37: Adding to iommu group 11
[ 53.088117] fsl_mc_allocator dpcon.63: Adding to iommu group 11
[ 53.094115] fsl_mc_allocator dpcon.62: Adding to iommu group 11
[ 53.100116] fsl_mc_allocator dpcon.61: Adding to iommu group 11
[ 53.106115] fsl_mc_allocator dpcon.60: Adding to iommu group 11
[ 53.112103] fsl_mc_allocator dpcon.59: Adding to iommu group 11
[ 53.118092] fsl_mc_allocator dpcon.58: Adding to iommu group 11
[ 53.124078] fsl_mc_allocator dpcon.57: Adding to iommu group 11
[ 53.130074] fsl_mc_allocator dpcon.56: Adding to iommu group 11
[ 53.136061] fsl_mc_allocator dpcon.55: Adding to iommu group 11
[ 53.142048] fsl_mc_allocator dpcon.54: Adding to iommu group 11
[ 53.148037] fsl_mc_allocator dpcon.53: Adding to iommu group 11
[ 53.154023] fsl_mc_allocator dpcon.52: Adding to iommu group 11
[ 53.160013] fsl_mc_allocator dpcon.51: Adding to iommu group 11
[ 53.166000] fsl_mc_allocator dpcon.50: Adding to iommu group 11
[ 53.171988] fsl_mc_allocator dpcon.49: Adding to iommu group 11
[ 53.177978] fsl_mc_allocator dpcon.48: Adding to iommu group 11
[ 53.184450] fsl_dpaa2_eth dpni.3: Adding to iommu group 11
[ 53.337865] fsl_dpaa2_eth dpni.3: Probed interface eth3
Created interface: eth3 (object:dpni.3, endpoint: dpmac.4)

root@TinyLinux:~# ifconfig eth2 10.0.1.12

[ 75.925852]dpaa2_mac dpmac.3 (unnamed net_device) (uninitialized): Link is Up - 10Gbps/Full - flow control off
[ 75.945975] fsl_dpaa2_eth dpni.2 eth2: Link Event: state up
[ 75.951620] IPv6: ADDRCONF(NETDEV_CHANGE): eth2: link becomes ready
root@TinyLinux:~#
root@TinyLinux:~# ifconfig eth3 10.0.1.13
root@TinyLinux:~# [ 103.563203] dpaa2_mac dpmac.3 (unnamed net_device) (uninitialized): Link is Down
[ 103.572238] fsl_dpaa2_eth dpni.2 eth2: Link Event: state down
[ 108.348109] dpaa2_mac dpmac.3 (unnamed net_device) (uninitialized): Link is Up - 10Gbps/Full - flow control off
[ 108.348298] dpaa2_mac dpmac.4 (unnamed net_device) (uninitialized): Link is Up - 10Gbps/Full - flow control off
[ 108.368478] fsl_dpaa2_eth dpni.2 eth2: Link Event: state up
[ 108.383222] fsl_dpaa2_eth dpni.3 eth3: Link Event: state up
[ 108.388856] IPv6: ADDRCONF(NETDEV_CHANGE): eth3: link becomes ready

root@TinyLinux:~#
root@TinyLinux:~#
root@TinyLinux:~# ifconfig
eth2 Link encap:Ethernet HWaddr 00:04:9f:06:fb:bc
inet addr:10.0.1.12 Bcast:10.255.255.255 Mask:255.0.0.0
inet6 addr: fe80::204:9fff:fe06:fbbc/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:836 (836.0 B)

eth3 Link encap:Ethernet HWaddr 00:04:9f:06:fb:bd
inet addr:10.0.1.13 Bcast:10.255.255.255 Mask:255.0.0.0
inet6 addr: fe80::204:9fff:fe06:fbbd/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:516 (516.0 B)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

root@TinyLinux:~#
root@TinyLinux:~# ls-listni
dprc.1/dpni.3 (interface: eth3, end point: dpmac.4)
dprc.1/dpni.2 (interface: eth2, end point: dpmac.3)
dprc.1/dpni.1 (interface: eth0, end point: dpmac.2)
dprc.1/dpni.0 (interface: eth1, end point: dpmac.17)
root@TinyLinux:~#
root@TinyLinux:~# ping 10.0.1.13 -I eth2
PING 10.0.1.13 (10.0.1.13): 56 data bytes

root@TinyLinux:~# ping6 fe80::204:9fff:fe06:fbbd -I eth2
PING fe80::204:9fff:fe06:fbbd (fe80::204:9fff:fe06:fbbd): 56 data bytes
64 bytes from fe80::204:9fff:fe06:fbbd: seq=0 ttl=64 time=0.338 ms
64 bytes from fe80::204:9fff:fe06:fbbd: seq=1 ttl=64 time=0.092 ms
64 bytes from fe80::204:9fff:fe06:fbbd: seq=2 ttl=64 time=0.116 ms
^C
--- fe80::204:9fff:fe06:fbbd ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.092/0.182/0.338 ms

0 Kudos
0 Replies