Loopback Ethernet Test on i.MX8MP with Two Ethernet Ports Using Static IPs

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Loopback Ethernet Test on i.MX8MP with Two Ethernet Ports Using Static IPs

1,030件の閲覧回数
Dheeraj_8
Contributor I

Hello all,

I am working on an i.MX8MP processor and need to perform a loopback Ethernet test between its two Ethernet ports using static IPs. The goal is to verify connectivity by sending packets from one port and receiving them on the other port.(via connecting cable)

Here are the details of my setup:

  • Processor: i.MX8MP
  • Ethernet Ports: eth0 and eth1
  • Static IPs:
    • eth0: 192.168.0.1
    • eth1: 192.168.0.2

      ping fails with the following error:
      PING 192.168.0.2 (192.168.0.2) from 192.168.0.1 eth0: 56(84) bytes of data.
      From 192.168.0.1 icmp_seq=1 Destination Host Unreachable
      ping: sendmsg: No route to host
      From 192.168.0.1 icmp_seq=2 Destination Host Unreachable
      From 192.168.0.1 icmp_seq=3 Destination Host Unreachable
      --- 192.168.0.2 ping statistics ---

    • Is there any specific configuration I need to enable to allow communication between the two Ethernet interfaces?
    • Are there any routing rules or kernel configurations required to make this work?
    • Is there a way to confirm if the Ethernet ports are properly initialized for this test?

      I would appreciate guidance or suggestions to resolve this issue.

      Thank you!

0 件の賞賛
返信
1 返信

963件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

Hi Dheeraj:

 

To test loop back , you need to make your own ethernet loopback connector, or your can order one

Make your own Ethernet Loopback connector | TikkiWeb

https://ipwithease.com/creating-ethernet-loopback-cable-with-rj45-connector/

 

 

Regards

Daniel

0 件の賞賛
返信