Sorry, since you were talking about two servers I assumed i could go for the short version !
So network cards are managed by a helper program called "udev". Udev is great because it can managed dynamically the removal/addition of hardware, but it's attributing names to devices in it's own kind of way. For network cards names need to be consistent from one boot to the next, so udev is associating the conventional interface name (eth*) to it's unique MAC address (MAC address is build inside the device itself).
Those associations are stored in the folder
/etc/udev/rules.d/ where you will find a "
yx_persistent-net.rules" file ("yx" are random numbers, depends on your system).
The "rules" udev use to name the devices are of the form :
Code:
SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="xx:xx:xx:xx:xx:xx", NAME="eth0"
(the xx:xx:xx... pattern will be replaced by a MAC address)
All you need to do is reading your actual network card MAC address with :
Code:
sudo /sbin/ifconfig -a
("-a" option lists even non configured devices) , it will look like "HWaddr 00:1d:20:55:cf:67", and write this MAC address in the udev rule corresponding to the conventional name that suites you (eth0 for instance). You can delete old rules, add new ones for other cards.
You will need root privileges to edit the "yx_persistent-net.rules" file.
Reboot when done (restarting the network should be enough though...)
Hope it's more understandable this time !