How to remove old NICs in RHEL / CentOS 6 or 5

Evilware 5 years ago 0 894

Removing old NICS from your virtual machines is typical when moving virtual machines to different hyper visors. Ie, moving a VMware Virtual Machine to to Hyper-V or VirtualBox.

Using your favorite editor, edit the following

/etc/udev/rules.d/70-persistent-net.rules (CentOS 6 only)

The first device will be the old NIC, comment it out with a # and change the name=””

to your old NIC value, typically eth0

then save the file and restart networking. This in most cases will solve the issue.

For CentOS / RHEL 5.X

remove the following


then reboot

#reboot -t now

Then run  system-config-network

This will allow the creation of the new device with the network settings you provide.

finally restart networking.

/etc/init.d/network restart

Written By

Leave a Reply

Leave a Reply

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