[CentOS] future modprobe.conf

Thu Nov 11 21:01:57 UTC 2010
Robert Heller <heller at deepsoft.com>

At Thu, 11 Nov 2010 18:32:28 +0200 CentOS mailing list <centos at centos.org> wrote:

> 
> Jerry Geis wrote:
> > centos 5 had modprobe.conf entries for eth0 and if present eth1.
> > something like:
> > alias eth0 forcedeth
> > alias eth1 e1000e
> > 
> > For the new centos 6 (I have the rhel 6 client installed on my laptop)
> > the modprobe.conf file is gone. Which is fine. I understand files can be
> > created in /etc/modprobe.d and server the same purpose.
> > 
> > My question is I dont see (doing a grep) any eth0 alias's in the files 
> > in /etc/modprobe.d/*
> > 
> > My reason is when I have a system with 2 ethernet cards I used to have 
> > to specify the order
> > of loading. Like:
> > install e1000e /sbin/modprobe forcedeth; /sbin/modprobe --ignore-install 
> > e1000e
> > 
> > So I used to grep for eth0 and eth1 do get the module names from 
> > modprobe.conf.
> 
> You should specify the MAC address of the NIC in 
> /etc/sysconfig/network-scripts/ifcfg-ethX like this:
> 
> HWADDR=90:E6:BA:74:E5:E6
> 
> This is the proper way to do it since at least CentOS 5. Also works in 

Since at least RH 7.3 actually...

> case you use 2 NICs that use the same driver.
> 
> HTH,
> Deyan
> 

-- 
Robert Heller             -- 978-544-6933 / heller at deepsoft.com
Deepwoods Software        -- http://www.deepsoft.com/
()  ascii ribbon campaign -- against html e-mail
/\  www.asciiribbon.org   -- against proprietary attachments