[CentOS] future modprobe.conf

Lamar Owen lowen at pari.edu
Thu Nov 11 16:34:09 UTC 2010

On Thursday, November 11, 2010 11:20:47 am Jerry Geis wrote:
> So I used to grep for eth0 and eth1 do get the module names from 
> modprobe.conf.
> How do I get that information in RHEL 6 since it doesnt seem to be there.
> Thanks, (just trying to prepare)

I would think it would work like Fedora 12+; load a F12/13/14 up and start looking.  For that matter, CentOS 5 also, as HWADDR has been supported for a long time (in the ifcfg-ethX files in /etc/sysconfig/network-scripts).

Using a recursive grep for eth0 in /etc on my F14 laptop, I find:
udev/rules.d/70-persistent-net.rules:SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:15:c5:aa:bb:cc", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

So it looks like udev is doing these assignments, and by MAC address rather than bus enumeration (a mixed blessing!).

I also see:
so that mechanism is still there.

More information about the CentOS mailing list