# dmesg |grep eth0 udev: renamed network interface eth0 to eth2
This occurs when you clone or change the NIC hardware and the OS still retain the old interface information in /etc/udev/rules.d/70-persistent-net.rules.
Just delete /etc/udev/rules.d/70-persisitent-net.rules and reboot the system so the Linux can rebuild the /etc/udev/rules.d/70-persistent-net.rules that match the replaced NIC hardware.
# rm /etc/udev/rules.d/70-persistent-net.rules # reboot
No comments:
Post a Comment