Re: again, nic driver order

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Mon, Nov 23, 2009 at 2:38 AM, Gordon McLellan <gordonthree@xxxxxxxxx> wrote:
> The archives seem to suggest fiddling with udev to
> be the answer.  So I modify /etc/udev/rules.d/60-net (or something)
> and add a few rules found in an ancient example (those aren't my mac
> addresses):
> KERNEL=="eth?", SYSFS{address}=="00:37:e9:17:64:af", NAME="eth0"  #
> MAC of first NIC in lowercase
> KERNEL=="eth?", SYSFS{address}=="00:21:e9:17:64:b5", NAME="eth1"  #
> MAC of second NIC in lowercase
>
> Now, all three network cards get assigned as eth0! eth1 and eth2 are
> no longer found. The pci-express nics (onboard) get detected first,
> and the pci nic is last, so it ends up "owning" the eth0 alias.

Changing SYSFS to ATTR should do it.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux