Internal: Changing 'eth1' to 'eth0' on Ubuntu and Debian
For clients running on these operating systems and having the 'hostid' coming from 'eth1' you can have them remap it as per the instructions below.
For Ubuntu 7.10, 8.04, 9.10 and 10.04
Use the "udev" system to associate device files with particular hardware (i.e. to ensure a given device always starts up with the same ID).
To change the assignment of an ethernet device, one must edit (as root) the file "/etc/udev/rules.d/70-persistent-net.rules". A typical line in the file looks like this:
# PCI device 0x11ab:0x4353 (sky2)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:e0:91:32:c4:9b", ATTR{type}=="1", NAME="eth1"
So all you need to do is change "eth1" to "eth0" (and remove any other lines that attempt to claim eth0). Then reboot.