Tuesday, August 12, 2008

centos ethernet interface mac-address troubleshooting

Want to find out what is the mac-address of your Dell 2950 upon boot to fix/bind the mac-address to an interface in the "/etc/sysconfig/network-scripts/ifcfg-ethX" files ?

[root@centos ~]# dmesg | grep -i eth | grep PCI
0000:00:04.0: eth0: (PCI Express:2.5GB/s:Width x4) 00:15:17:66:d3:7a
0000:00:04.0: eth1: (PCI Express:2.5GB/s:Width x4) 00:15:17:66:d3:7b
0000:00:06.0: eth2: (PCI Express:2.5GB/s:Width x4) 00:15:17:66:d3:9c

0000:00:06.0:
eth3: (PCI Express:2.5GB/s:Width x4) 00:15:17:66:d3:9d
eth4: Broadcom NetXtreme II BCM5708 1000Base-T (B2) PCI-X 64-bit 133MHz found at mem f8000000, IRQ 16, node addr 001e4f249407
eth5: Broadcom NetXtreme II BCM5708 1000Base-T (B2) PCI-X 64-bit 133MHz found at mem f4000000, IRQ 16, node addr 001e4f249409

[root@centos ~]# uname -a
Linux centos 2.6.18-92.1.10.el5xen #1 SMP Tue Aug 5 08:46:32 EDT 2008 i686 i686 i386 GNU/Linux