vSphere Networking 101 – Renaming VMnics – Backup and Restore

This is a super simple tutorial that I wanted to do on how to rename VMnics. This is great for network card replacement and is just a good thing to know in case something does go south on a hardware replacement. Let’s move on.

SSH to your host and try to keep in mind to use a DRAC or ILO just in case. There should be no need to do this if you are not touching the management or service console uplinks for ESX or ESXi.

  1. run:
  2. cp -p /etc/vmware/esx.conf /etc/vmware/esx.conf.backup (This will backup the current configuration seek kb here)
  3. VI /etc/vmware/esx.conf
  4. scroll down and locate the Dev/ids and these will be followed with a =vmnic#
  5. Type i
  6. go over to the VMnic you wish to modify
  7. delete of backspace
  8. Type in the right name
  9. Hit “ESC”
  10. Type “:wq” yes that is a colon wq.

You can either reboot or try cycling services but that is pretty much all that really to it. Enjoy and thinks for stopping by!

Youtube video:


About Chad King

I am an IT professional working in the industry for over 10 years. Starting in Microsoft Administration and Solutions I was also a free lance consultant for small businesses. Since I first saw virtualization I have always been fascinated by the concept. I currently specialize in VMware technology. I consult daily on many different types of VMware Solutions. I have experience in all domains related to virtualization and cloud solutions. From help desk, administration, engineering, implementation, and design allowing me to provide creative solutions with the understanding and gaps at all levels.

Posted on March 30, 2012, in Troubleshooting. Bookmark the permalink. 2 Comments.

  1. I would not recommend tweaking esx.conf usually as corruption of the same would let you do the reinstallation of ESX/ESXi host at your leisure.


    • Tweaking or changing it I wouldn’t recommend either. I always perfer defaults as defaults. However, when you replace cards or mezzanine cards it messes up your standards. Most people don’t think about backing up configs and such and most companies don’t even have procedures in place when that happens. This is more of a FYI and something not clearly documented. The process is still pretty straightforward.

      Thanks for the comment!


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: