[CentOS] ethernet interfaces swapped around

Peter Farrow peter at farrows.org
Mon Aug 15 20:09:43 UTC 2005


You can specify the Hardware (MAC) address in the network config 
(ifcfg-ethn) for each card to prevent this from happening, especially if 
the cards use the same driver....

P.


Doug Zeman wrote:

> you can use netdevice=(eth*) and/or ksdevice=(eth*) in the kernel 
> command line when kickstarting....  you can also set the MAC in 
> /etc/sysconfig/network-scripts/ifcfg-eth* to whatever port you want...
> ... thanks
>
> - doug
>
> ************************************************************************
> Doug Zeman            \     \    |   __ \   ____  |   Phone: 408 7747674
> CAD Sys Eng II      /  \   |  _/ |  |    |        |   Cell : 408 7187466
> CA MicroProc Div   ____ \  |     |  |    |   |    |   Fax  : 408 7747811
> Sunnyvale, CA    _/     _\_|    _| _____/  ____/ \|   doug.zeman at amd.com
> ************************************************************************
>
>
> sudo Yang wrote:
>
>> One of my systems have two onboard NICs which uses the e100 and e1000
>> drivers (yes, the interfaces are not the same).  This system kickstart
>> fine with CentOS 3.x.  I recently tried to rekick it with CentOS 4.x
>> but was unsuccessful in doing so.  When kicking CentOS 4.1, the
>> interfaces are swapped around, i.e. eth0 becomes eth1 and eth1 becomes
>> eth0 (as described at
>> http://marc.theaimsgroup.com/?l=linux-kernel&m=104888957013124&w=2).
>> Is there a way to fix the interface during kickstart?
>>
>> Unfortunately, because we have so many different types of systems,
>> simply swapping the cables is not a good idea because it complicates
>> management.
>> _______________________________________________
>> CentOS mailing list
>> CentOS at centos.org
>> http://lists.centos.org/mailman/listinfo/centos
>>
>>
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos





More information about the CentOS mailing list