Networking Forums

Networking Forums > Computer Networking > Linux Networking > How do I determine which eth i/f is which?

Reply
Thread Tools Display Modes

How do I determine which eth i/f is which?

 
 
delphinuscadmus@yahoo.com
Guest
Posts: n/a

 
      03-25-2006, 08:10 PM
How do I determine which eth i/f is which?

I need a way to determine which interface is assigned to which eth*.
For example,
which NIC i/f is assigned to eth0 ... and
which NIC i/f is assigned to eth1.

Can I physically disable eth0 (or eth1) from a terminal and then look
at the LED's on the back to determine which is which?

Thanks!

 
Reply With Quote
 
 
 
 
delphinuscadmus@yahoo.com
Guest
Posts: n/a

 
      03-25-2006, 08:18 PM
.............. OK, I figured it out...
I just had a "eureka"
moment........

To solve this problem.....

Just ping the interface and watch the LED's blink 'like a christmas
tree'.

The NIC interface that has LED's blinking will be the one that is
related to the IP and MAC address (and eth number).

I haven't tried it yet, but it should work to solve this problem.

Thanks!

 
Reply With Quote
 
Douglas Mayne
Guest
Posts: n/a

 
      03-25-2006, 08:23 PM
On Sat, 25 Mar 2006 13:10:04 -0800, (E-Mail Removed) wrote:

> How do I determine which eth i/f is which?
>
> I need a way to determine which interface is assigned to which eth*.
> For example,
> which NIC i/f is assigned to eth0 ... and
> which NIC i/f is assigned to eth1.
>
> Can I physically disable eth0 (or eth1) from a terminal and then look
> at the LED's on the back to determine which is which?
>
> Thanks!
>

ethtool -i eth0
ethtool -i eth1
lspci

--
Douglas Mayne

 
Reply With Quote
 
Michael Heiming
Guest
Posts: n/a

 
      03-26-2006, 08:33 AM
In comp.os.linux.networking (E-Mail Removed) <(E-Mail Removed)>:
> How do I determine which eth i/f is which?


> I need a way to determine which interface is assigned to which eth*.
> For example,
> which NIC i/f is assigned to eth0 ... and
> which NIC i/f is assigned to eth1.


> Can I physically disable eth0 (or eth1) from a terminal and then look
> at the LED's on the back to determine which is which?


If supported by nic/driver run this and unplug the cable while
running and you should know:

mii-tool -w eth2
10:30:28 eth2: negotiated 100baseTx-FD, link ok
10:30:37 eth2: no link

BTW
Please try below URL(s) before answering, most people aren't
using a browser here to read/write, this is usenet.

http://www.safalra.com/special/googlegroupsreply
http://cfaj.freeshell.org/google


--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo (E-Mail Removed) | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 180: ether leak
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
determine which DC is used for login MSUTech Windows Networking 2 06-08-2007 02:26 PM
how to determine the wwn name. Spin Windows Networking 4 09-19-2006 11:25 AM
Determine Causes of Slowdown benpjohnson@gmail.com Linux Networking 3 03-15-2006 12:40 AM
How to determine if my NIC's are up? dkelly6@nospam.gmail.com Linux Networking 5 11-03-2005 07:45 AM
how to determine next hop ip at Router? cranium.2003@gmail.com Linux Networking 2 05-08-2005 04:36 PM



1 2 3 4 5 6 7 8 9 10 11