Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-09-2016, 07:19 AM   #1
LQ Newbie
Registered: Sep 2016
Posts: 18

Rep: Reputation: Disabled
Perform loopback test on ethernet interface

Hello All,

Can someone pls tell, how can I conduct a loopback test on a given ethernet interface. I have phy, and phy supports a loopback test where, you can set it up so that it will loopback what ever it receives.

I tried iperf, what I am seeing is Linux is just internally looping it back. Packets out of iperf dont seem to hit the PHY.

Can i force kernel to not internally loop it back ?

Last edited by newhorizons009; 11-09-2016 at 10:11 AM.
Old 11-10-2016, 01:41 AM   #2
LQ Guru
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,231

Rep: Reputation: 1006Reputation: 1006Reputation: 1006Reputation: 1006Reputation: 1006Reputation: 1006Reputation: 1006Reputation: 1006
The routing table will prevent the packets from hitting the interface. The simplest way the achieve the testing would be to use another NIC with a suitable IP address assigned.

Similar discussions here...


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
what is loopback interface ? Volcano Linux - Newbie 4 04-16-2012 09:29 AM
Program to perform loopback test on serial port sacbravo Linux - Newbie 6 12-16-2011 09:49 PM
Serial loopback test (uart) shankar.489 Linux - Newbie 1 11-09-2011 09:22 AM
[SOLVED] problem with ethernet loopback test using loopback plug/stub: receiving socket not se mcha Linux - Kernel 3 08-26-2010 11:28 AM
Using loopback interface... ozymandias Linux - Newbie 2 10-28-2005 01:37 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:03 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration