ethernet controller order
Matthew Crocker
mcrocker at crocker.com
Mon Apr 21 08:44:22 CDT 2008
Put the MAC address in the Interface configuration file (/usr/
sysconfig/network-scrips/ifcfg-eth0) and it will come up with the same
eth0 every time.
On Apr 21, 2008, at 9:39 AM, Grafel, Wayne wrote:
> I installed a dual port pci adapter in this server as well and found
> that the ports on this adapter show up as eth0 and eth3 which seemed
> to
> be inconsistent with a normal build. I am bonding these interfaces and
> was not convinced this order would not change given that the 2850's I
> have deployed don't display this behavior.
> I did find that the IRQ interrupt setting on the pci adapter were
> set to
> separate interrupt ID's. Once I changed this setting so they share the
> same interrupt ID the problem cleared up. The pci adapter now displays
> as eth0 and eth1, the integrated adapter displays as eth2 and eth3.
> This
> was a concern to me as I am planning a large deployment and need these
> builds to remain consistent.
>
> Thank you for your input on this issue.
>
>
>
> -----Original Message-----
> From: linux-poweredge-bounces at dell.com
> [mailto:linux-poweredge-bounces at dell.com] On Behalf Of Peter Grandi
> Sent: Saturday, April 19, 2008 6:56 AM
> To: Linux Dell
> Subject: Re: ethernet controller order
>
>
>>> I have installed opensuse 10.3 on a dell power edge 2950 and
>>> find that the integrated adapters show up as eth1 and eth2
>>> rather than eth0 and eth1. Any ideas on how to change this
>>> order?
>
> Well, the order does not matter, and device names are arbitrary.
>
> The Linux kernel designers make no guarantees as to the order in
> which discovered devicess are enumerated, because they cannot
> make such guarantees, as by now device locations can be dynamic
> as hotplugging is very common.
>
> So for those devices that have a kind of unique id or serial
> number it is better to refer to them with that rather than
> position.
>
> For example I have switched back to LILO from GRUB because it
> names disk volume by id rather than location, as that often
> changes in my case, and then boot fails.
>
> Ethernet devices have unique MAC addresses and there are several
> schemes by which you can name them with a label dependent on the
> MAC address. A regrettably popular one is this:
>
>> No, /etc/udev/rules.d/*-net_persistent_names.rules is the
>> right place to adjust.
>
> Well, only if one uses 'udev' which is a really ugly and badly
> misdesigned piece of unnecessary complication. But then GKH is a
> skilful salesman.
>
> _______________________________________________
> Linux-PowerEdge mailing list
> Linux-PowerEdge at dell.com
> http://lists.us.dell.com/mailman/listinfo/linux-poweredge
> Please read the FAQ at http://lists.us.dell.com/faq
>
> _______________________________________________
> Linux-PowerEdge mailing list
> Linux-PowerEdge at dell.com
> http://lists.us.dell.com/mailman/listinfo/linux-poweredge
> Please read the FAQ at http://lists.us.dell.com/faq
More information about the Linux-PowerEdge
mailing list