[RESOLVED] Interface swap still in CentOS 5.3?

Issues related to configuring your network
Post Reply
sudoyang
Posts: 41
Joined: 2005/05/19 19:03:40

[RESOLVED] Interface swap still in CentOS 5.3?

Post by sudoyang » 2010/05/20 17:23:11

I'm runing CentOS 5.3 64-bit on a system with two onboard NIC and two external NICs. I'm seeing that interfaces are still being swapped around which I thought was resolved by the HWADDR variable in the interface config file.

Here's the modprobe.conf file after installation:

alias eth0 igb
alias eth1 igb
alias eth2 e1000
alias eth3 e1000

The /etc/sysconfig/network-scripts/ifcfg-eth0 contain this:

DEVICE=eth0
ONBOOT=yes
BOOTPROTO=static
IPADDR=192.168.1.10
NETMASK=255.255.255.0
GATEWAY=192.168.1.1
HWADDR=00:15:17:D2:E1:CE

After boot, eth0 is set correctly with the IP configuration but ethtool shows eth0 to contain no link. On the other hand, eth2 has a link even though the interface config file has that interface disabled:

# Intel Corporation 82576 Gigabit Network Connection
DEVICE=eth2
HWADDR=00:25:90:00:F6:52
ONBOOT=no

So interfaces are still being swapped! Only one interface has a link. Is there any way to guarantee the interface with a link is eth0? Perhaps this is caused by module load order?

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: interface swap still in CentOS 5.3?

Post by gerald_clark » 2010/05/20 17:37:07

Try disabling kudzu.

sudoyang
Posts: 41
Joined: 2005/05/19 19:03:40

Re: interface swap still in CentOS 5.3?

Post by sudoyang » 2010/05/20 18:09:01

kudzu is already off

# chkconfig --list kudzu
kudzu 0:off 1:off 2:off 3:off 4:off 5:off 6:off

We usually disable kudzu.

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: interface swap still in CentOS 5.3?

Post by gerald_clark » 2010/05/20 18:14:26

CentOS is at 5.5 now. I suggest you upgrade and re-test.

sudoyang
Posts: 41
Joined: 2005/05/19 19:03:40

Re: interface swap still in CentOS 5.3?

Post by sudoyang » 2010/05/20 18:42:29

Damn! I wasted a couple of hours. We rely on our server vendors to put the mac addresses on a label affixed to the server. I just found out they had the mac addresses swapped around on the label. Taught me to not trust anyone but to find out for myself.

Consider this issue resolved. Thanks for your help.

User avatar
AlanBartlett
Forum Moderator
Posts: 9324
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

Re: [RESOLVED] interface swap still in CentOS 5.3?

Post by AlanBartlett » 2010/05/20 18:52:26

Thank you for reporting back. As per your recommendation, I'll mark this thread as [RESOLVED].

Post Reply

Return to “CentOS 5 - Networking Support”