Which Nic is in which PCI slot ?

Les Mikesell lesmikesell at gmail.com
Thu Jul 21 06:05:39 UTC 2005


On Wed, 2005-07-20 at 23:06, William Hooper wrote:

> > Does anyone know of a single command I can use to list which nic is in
> > which slot in multi-nic machines ?
> >
> > lspci and cat /proc/pci list the type of card (and in the /proc/pci case,
> > the interrupt) and ifconfig lists the nics and their other details,
> > incluing interrupt, so I can figure it out.
> 
> ifconfig also lists MAC address.  You might have to put a visible label on
> the NIC with the MAC, though, because most any more seem to be labeled on
> the PCB.

If you are at the machine you can always plug one nic at a time into a
hub/switch and run mii-tool to tell you which device link is up.

-- 
  Les Mikesell
   lesmikesell at gmail.com





More information about the fedora-list mailing list