eth interface number changes and is not what is expected
During a recent exercise where I created a RedHat 6.3 virtual machine, clones of that virtual machine each had different numbers assigned to their respective eth device(s). I’ve run into this booger before in the past and remembered that udev creates a persistent rule in /etc/udev/rules.d that needs to be modified to obtain the desired NIC layout. The file is:
/etc/udev/rules.d/70-persistent-net.rules
After modifying that file to match MAC address to eth0, eth1, eth{N}, reboot.
Otherwise, if you’re not comfortable with editing the file or are unsure which MAC is suppose to be which eth device, simply remove the file and reboot. udev will recreate it on boot up.
Recent Comments