how-to_‎ > ‎

Change kernel NIC ordering

posted Jan 19, 2011, 12:38 PM by Daniele Albrizio
You need to create this file 10-network.rules under the /etc/udev/rules.d/ directory, as root of course. In that file, add the following: 

KERNEL=="eth?", SYSFS{address}=="xx:xx:xx:xx:xx:xx", NAME="eth0" 
KERNEL=="eth?", SYSFS{address}=="xx:xx:xx:xx:xx:xx", NAME="eth1" 

Replace the xx with your ( lowercase ) MAC address.
Reboot to make sure it worked.
Comments