force NIC cards to eth1 or eth0

Jeff Vian jvian10 at charter.net
Wed Nov 2 22:51:37 UTC 2005


On Wed, 2005-11-02 at 17:28 -0500, Tom Diehl wrote:
> On Wed, 2 Nov 2005, plabonte at gmail.com wrote:
> 
> > I have a box with two nic cards.
> > 
> > Ex:
> > NIC card 1, eth0, static ip 10.10.0.1
> > NIC card 2, eth1, static ip 192.168.0.1
> > 
> > Now it has been this way for a while...
> > 
> > I have rebooted recently and now
> > 
> > and the NIC/eth assignements are flipped...
> > 
> > Is there a way to force NIC1 to remain as eth0 and NIC2 as eth1?
> 
> Add the mac address to /etc/sysconfig/network-scripts/ifcfg-eth? in the form of
> HWADDR=00:D0:C7:B9:6F:5A
> 

Are they identical cards?  
If not, then the lines in modprobe.conf can be used to specify which is
which as well.

    alias eth0 driver-module
    alias eth1 another-driver-module

> Regards,
> 
> Tom Diehl		tdiehl at rogueind.com		Spamtrap address mtd123 at rogueind.com
> 




More information about the fedora-list mailing list