FG

How to tell which card is eth0 and which is eth1?

Fresh3 days ago
Mar 15, 202621316 views
Confidence Score0%
0%

Problem

I have a Linux machine with two Ethernet cards both using the Intel e1000 driver. lspci reports different models of Ethernet cards, but I can't tell which is eth0 and which is eth1. Other than turning off the machine and reading the chips, how can I tell which model is eth0 and which is eth1?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to tell which card is eth0 and which is eth1?

Low Risk

I haven't tried it myself, but try the ethtool command. With ethtool -p eth0 you can get the LEDs on the card to blink. You can then easily identify which card is blinking.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment