This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software:
Hi,
I have two Ethernet ports available on my AM625 board. I would like to perform a loopback test between these Ethernet ports and transfer data between them.
Could someone guide me on how to configure the Ethernet ports for loopback? Specifically, I need to know:
Hi prince diwan,
Thanks for your query.
SDK you are working on?
Here is AM62x related documentation.
3.2.2.10. CPSW Ethernet — Processor SDK AM62x Documentation
AM62x MCU+ SDK: Examples and Demos (ti.com)
Regards
Ashwani
Hi Ashwani Goel
I go threw this document but not able to find out ethernet loopback.
i explain my doubt below can you please help me out.
i connect my 2 ethrenet port which is shown in below image
now my two ethernet ports ip is mantioned below
root@ACM1000:~# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 98:AE:71:04:8F:A4
inet addr:169.254.2.224 Bcast:169.254.255.255 Mask:255.255.0.0
inet6 addr: fe80::9aae:71ff:fe04:8fa4/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:28 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:3940 (3.8 KiB)
root@ACM1000:~# ifconfig eth1
eth1 Link encap:Ethernet HWaddr 98:AE:71:04:8F:A5
inet addr:192.168.0.225 Bcast:192.168.255.255 Mask:255.255.0.0
inet6 addr: fe80::9aae:71ff:fe04:8fa5/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:28 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:3293 (3.2 KiB)
Now i trying to ping 192.168.0.225 this ip using my eth0 port using below command
root@ACM1000:~# ping -I eth0 192.168.0.225
PING 192.168.0.225 (192.168.0.225) from 169.254.2.224 eth0: 56(84) bytes of data.
From 169.254.2.224 icmp_seq=1 Destination Host Unreachable
From 169.254.2.224 icmp_seq=2 Destination Host Unreachable
From 169.254.2.224 icmp_seq=3 Destination Host Unreachable
but not able to ping ip using this command
my doubt is its possible to ping two ethernet if its connected in loopback and if yes than how ?
Hi prince diwan ,
Thanks for the logs.
I am adding Linux networking expert here.
Please allow some time to review and provide inputs.
Regards
Ashwani
Hi Schuyler
Thank for reply
I have one more question I ask on previous thread
You can close this thread.