Bug 121860
Summary: | configure ethernet interfaces in PCI device order | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | John Reiser <jreiser> |
Component: | kudzu | Assignee: | Bill Nottingham <notting> |
Status: | CLOSED WONTFIX | QA Contact: | David Lawrence <dkl> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | matt_domsch, rvokal |
Target Milestone: | --- | Keywords: | FutureFeature |
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Enhancement | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-08-30 20:10:21 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 150221 |
Description
John Reiser
2004-04-28 18:22:30 UTC
I'm not at all certain this can be done generically for all platform types. The PCI bus order isn't guaranteed to yield the best possible configuration. However, there are ways to get closer to what you want. 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.1.tar.gz http://linux.dell.com/files/name_eths/name_eths-0.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 What kudzu does is merely do it by kernel order, determined by udev's module loading order, any delays in network driver initialization, and the kernel's PCI probe order - I don't think this will be significantly changed in kudzu. |