Simultaneously use eth0 and eth1 imx8mp

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Simultaneously use eth0 and eth1 imx8mp

1,389 Views
A_M01
Contributor I

we are building the image via Yocto in evk
When we try to ping after making the interface (eth0)up and eth1 (up)
Able to ping from eth0 to same domain and eth1 to its same domain
eth1 is connected to laptop and iam able to ping to laptop via shared network

but if i try to ping to 8.8.8.8

root@imx8mp-lpddr4-evk:~#
root@imx8mp-lpddr4-evk:~#
root@imx8mp-lpddr4-evk:~# ping -I eth0 8.8.8.8
PING 8.8.8.8 (8.8.8.8) from 192.168.1.100 eth0: 56(84) bytes of data.
^C
--- 8.8.8.8 ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms

root@imx8mp-lpddr4-evk:~# ping -I eth1 8.8.8.8
PING 8.8.8.8 (8.8.8.8) from 10.42.0.47 eth1: 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=113 time=45.2 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=113 time=66.3 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=113 time=31.3 ms


root@imx8mp-lpddr4-evk:~# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
From 192.168.1.100 icmp_seq=1 Destination Host Unreachable
From 192.168.1.100 icmp_seq=2 Destination Host Unreachable
From 192.168.1.100 icmp_seq=3 Destination Host Unreachable
^C

its pinging from eth0
seems a routing difference

could you please share the patch for kernel version 6.1.36+gce06d21637ef

0 Kudos
Reply
3 Replies

1,364 Views
Chavira
NXP TechSupport
NXP TechSupport

Hi @A_M01!

Thank you for contacting NXP Support!

 

That is a normal behavior due to both networks are independent.

 

You should configure a bridge between the networks or something like that to interconnect via software becase in hardware are independent each one.

 

Best regards!

Chavira

0 Kudos
Reply

1,319 Views
A_M01
Contributor I

Could you provide steps / command which should be implemented to configure bridge since im new to sdk .

0 Kudos
Reply

1,309 Views
Chavira
NXP TechSupport
NXP TechSupport

Hi @A_M01!

For the moment we don´t have examples for that.


Best Regards!

Chvaira

0 Kudos
Reply