How to know which Nic is eth0,1 or 2 ?

Greg Cope greg.cope at e-dba.net
Thu Aug 31 06:12:27 CDT 2006


On Thu, 2006-08-31 at 12:40 +0200, Florent Gilain wrote:
> Hi Greg,
> 
> I know it, but how to associate Mac address with physical nic ?

Look in the bios?

Configure one ifconfig output gives the mac address of each interface.

Greg

> 
> Florent 
> 
> -----Message d'origine-----
> De : Greg Cope [mailto:greg.cope at e-dba.net] 
> Envoyé : jeudi 31 août 2006 12:29
> À : Florent Gilain
> Cc : linux-poweredge at dell.com
> Objet : Re: How to know which Nic is eth0,1 or 2 ?
> 
> Check /etc/sysconfig/network-scripts/ifcfg-ethX
> 
> Most redhat installs understand a line that has;
> 
> HWADDR=00:06:5B:02:9B:F1
> 
> Which is the MAC address of the interface.
> 
> Greg
> 
> 
> On Thu, 2006-08-31 at 12:20 +0200, Florent Gilain wrote:
> > Hi all,
> > 
> > I have a PE2950 with RHEL4, using the 2 onboard nics + 1 more PCI Nic
> Card.
> > 
> > I know this has already been asked, but can't find the finally
> conclusion...
> > 
> > How could i be sure that :
> > 
> > Eth0 = onboard1
> > Eth1 = onboard2
> > Eth2 = pci1
> > 
> > Thanks
> > 
> > Florent
> > 
> > _______________________________________________
> > Linux-PowerEdge mailing list
> > Linux-PowerEdge at dell.com
> > http://lists.us.dell.com/mailman/listinfo/linux-poweredge
> > Please read the FAQ at http://lists.us.dell.com/faq
> --
> Greg Cope
> Systems Administrator
> 
> e-DBA Ltd.
> 37 Ship Street, Brighton, E.S. BN1 1AB
> Office Phone:  0870 366 7800
> Direct Phone:  0870 366 9900, ext 306
> greg.cope at e-dba.com
> www.e-dba.com
> 
> _______________________________________________
> Linux-PowerEdge mailing list
> Linux-PowerEdge at dell.com
> http://lists.us.dell.com/mailman/listinfo/linux-poweredge
> Please read the FAQ at http://lists.us.dell.com/faq
-- 
Greg Cope
Systems Administrator

e-DBA Ltd.
37 Ship Street, Brighton, E.S. BN1 1AB
Office Phone:  0870 366 7800
Direct Phone:  0870 366 9900, ext 306
greg.cope at e-dba.com
www.e-dba.com



More information about the Linux-PowerEdge mailing list