On Fri, 12 Nov 2010 16:51:58 +0100 "Stefan G. Weichinger" <li...@xunil.at>
wrote:
 
> Maybe stupid question:
> 
> How to find out which physical NIC is for example eth0 ?
> 
> If I have 2 NICs in the box, for example one e1000 and one from 3com,
> how to find out which one is eth0 ?
> 
> I looked up /etc/udev/rules.d/70-persistent-net.rules where the MAC is
> determining the devicefile ...
> 
> Is there another way? on non-udev-systems?
> Just curious!

mii-tool -w eth0

then plug in/out a cable from every interface in sequence until you see
the above command detecting a link state change; that will be eth0.
Repeat with the other interfaces.

Also look at ethtool -p (details in the man page).

Reply via email to