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.
On Mon, 1 Aug 2005, 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? >For real fun, add a PCI based dual port card. Then the first onboard NIC will probably be (but not for sure) eth2!!! The short answer is there is no guaranteed way. The long answer is you may be able to add module loading commands to the kernel invocation line in your kickstart file and get the old behavior. Does not work for all servers. I've got notes at work about it, but can't seem to find them from home. ------------------------------------------------------------------------ Jim Wildman, CISSP, RHCE jim at rossberry.com http://www.rossberry.com "Society in every state is a blessing, but Government, even in its best state, is a necessary evil; in its worst state, an intolerable one." Thomas Paine
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 > >