Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

How can i fix the network interfaces problem when i clone the Redhat/CentOS VM and the MAC address changes?

When a clone is a created MAC address changesand a problem occurs and every associated configurations to the interface are not applied

user-image
Question added by Abubakr Mohammed Abbas Mohammed , IT Instructor , Aptech Computer Education Sudan
Date Posted: 2017/10/02
waqas bashir
by waqas bashir , senior Engineer , Interactive group of companies

you need to mannually edit the MAC address of your new NIC card

nano /etc/sysconfig/network-scripts/ifcfg-eth0

LUCKY SONI Soni
by LUCKY SONI Soni , System Administrator- Applications , Infosense Pvt Ltd

With CentOS 6 everthing is handled by udev now. Go into /etc/udev/rules.d and delete the 70-persistent-net.rules file and reboot. If you open it berfore hand you will most likey see the original NIC MAC listed as eth0 and the new one as eth1.

 

Now you need to edit /etc/sysconfig/network-scripts/ifcfg-eth0 and manually update to the MAC of your new NIC card.

 

If network adaptor icon not show

#service NetworkManager start

More Questions Like This