Redetect Network Cards in CentOS 6
avatar

CentOS 6 keeps all of the information about the networking cards in udev.  To have the system redetect the NIC cards all you need to do is delete the persistent-net.rules file and reboot.  During boot the file will be regenerated with the new information.

rm /etc/udev/rules.d/70-persistent-net.rules

Next you should update the /etc/sysconfig/network-scripts/ifcfg-<adapter> scripts to contain the new MAC addresses and remove the UUID entries that will nto match if the cards changed.

This entry was posted in CentOS, Linux. Bookmark the permalink.

Leave a Reply