Force CentOS 6 to Re-Detect Network Devices

Edit the interface that “doesn’t seem to be present”:

vi /etc/sysconfig/network-scripts/ifcfg-eth0 and remove the HWADDR line.

Remove the old 70-persistnet-net.rules file: rm  /etc/udev/rules.d/70-persistent-net.rules

Removing this file will force udev to probe for network interfaces at boot and create a new 70-persistent-net.rules with the appropriate MAC address.

Reboot

This entry was posted in Linux. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *