Step 1 — Determine the name of the failing interface. Use any of the following commands ip a , ifconfig or nmcli device show. Step 3 — Run the following command. This deletes the MAC address to interface name association at startup.
Step 4 — Type reboot to restart the VM. This allows you to verify that the network changes persist after reboots. The following video takes you through these 4 steps. Keep in mind that there are different variations to this issue. Deploying a VM from a poorly prepared Linux template can result in virtual machines with missing or inactive network interfaces. There are a few more things you could do to prevent the issue from reoccurring. Regardless, fixing network card issues on Linux VMs is easy when you know where to look. As always, prevention is better than cure, so one should always clone from well-prepared templates.
If you liked this post, have a look at the remaining list of VMware posts or drop us a comment if you have any questions. Have any questions or feedback? Leave a comment below!
Welcome to an Improved Knowledge Base
An IT veteran for over 23 years, I covered various roles throughout my career. Prior to joining Altaro as a blog writer and QA tester, I was employed as an infrastructure engineer at a cloud services provider working exclusively with VMware products. The Altaro VMware blog enables me to share the experience and knowledge gained and, much to my surprise, is what got me the vExpert award.
Besides being a techie and a science buff, I like to travel and play guitars. I also do some photography and love having a go at playing the occasional XBOX game, Halo being my absolute favourite. I am also a proud father of two and parent to a crazy Dachshund called Larry. Click here to cancel reply. For these systems, do you care about keeping the device persistence stuff at all? No not for the network interface.
Since device persistence stuff is just getting in the way for these VMs, rip it out: Stefan Lasiewski 15k 31 Hm, this seems to work. StefanLasiewski Ahh, yes, you should.
Best Practice in Cloning RHEL VMs in VMWare