Ethernet Probe Order 2006-01-06 - By Matt Domsch
Back On Thu, Jan 05, 2006 at 05:09:29PM -0500, Ed Griffin wrote: > I am curious, as I have googled this to death, how to force a system to > have the motherboard card be eth0 and eth1. My configuration is as > follows, a Dell PowerEdge 1850 with an add-on Intel Pro 1000 Quad Port > card. The quad port card gets found first and becomes eth0 through eth3 > and the motherboard cards end up as eth4 and eth5. This has caused some > problems during kickstarts and the like. I am sure there is something I > can pass via grub to the initrd to get this to go to the motherboard > first but I just can't seem to decipher it. The weird thing is that on > a RHEL4 box it seems to behave the opposite, or to be more specific the > way I want it to.
This thread came up on linux-poweredge a month ago. Here was my response then: http://lists.us.dell.com/pipermail/linux-poweredge/2005-December/023685.html
There you'll also find a script I wrote, name_eths, which does its best to assign ethX names in ascending order, first choosing the LAN ports on the motherboard, then ascending by slot number, and if you've got a multiport card in a slot, then by ascending MAC addresses on that card. It rewrites the HWADDR lines in the /etc/sysconfig/network-scripts/ifcfg-ethX files to then match this ordering.
http://linux.dell.com/files/name_eths/name_eths-0 (See http://ths-0.ora-code.com).1.tar.gz http://linux.dell.com/files/name_eths/name_eths-0 (See http://ths-0.ora-code.com).1.tar.gz.sign
As always, this isn't Dell-supported, or by anyone else for that matter. It appears to do what you're looking for.
Thanks, Matt
-- Matt Domsch Software Architect Dell Linux Solutions linux.dell.com & www.dell.com/linux Linux on Dell mailing lists @ http://lists.us.dell.com
-- Taroon-list mailing list Taroon-list@(protected) https://www.redhat.com/mailman/listinfo/taroon-list
|
|