force NIC cards to eth1 or eth0

Tom Diehl tdiehl at rogueind.com
Wed Nov 2 22:28:02 UTC 2005


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

Regards,

Tom Diehl		tdiehl at rogueind.com		Spamtrap address mtd123 at rogueind.com




More information about the fedora-list mailing list