Assigning eth0 and eth1 to specific NICs
From K12LTSP Wiki
From the K12LTSP mailing list (a proper re-write of this info should be done):
I've got one other question. The box I'm working on has an on-board Gigabit NIC and I added a 3Com 10/100 NIC. I would like for the on-board nic to be eth0 and serve the terminals and the 3Com to be eth1 and connect to our lan. But, when I installed the OS, it defaulted the other way. Is there a fairly simple way to switch them?
In /etc/sysconfig/network-scripts/ you'll find ifcfg-eth0 and ifcfg-eth1. In each of those you can specify the MAC address of the card you want the script to control. The syntax is
HWADDR=00:08:54:4F:49:1D
Using the respective address for each card, add the above line to ifcfg-eth0 and ifcfg-eth1.
