VMware

ESXTOP troubleshoot VM network connectivity

ESXTOP is a tremendously valuable tool in troubleshooting. With ESXTOP troubleshoot VM network connectivity quickly and easily to find the problem...

ESXTOP is one of the best all around troubleshooting tools in the toolbox of a VMware administrator and it is a built in commandline tool available as soon as you install ESXi. ย It is an extraordinarily valuable tool to use in all areas of troubleshooting including computer, storage, as well as network performance/connectivity. ย Recently, I ran into an issue with troubleshooting network connectivity on a VM. ย This was related to a situation I had written a post about troubleshooting the management network on an ESXi host in particular where there were problems induced fromย breaking a distributed switch configuration playing around with NSX in a lab environment. ย Withย ESXTOP troubleshoot VM network connectivity quickly and easily – let’s see how.

ESXTOP troubleshoot VM network connectivity

After breaking my distributed switches in the lab and then recreating the management network on a standard vSwitch, I still had issues with the connectivity to my vCenter VM. ย Even though the VM was on the VM Network of vSwitch0 that I had recreated, it still had no connectivity.

Using ESXTOP, we can easily troubleshoot what was going on with the connectivity to the virtual machine. To take a look at your virtual machine networking in ESXTOP, you simply hitย n when launching the app.

Notice when looking at the vCenter appliance in ESXTOP, the PNIC is showingย void.

unused03

If we look at theย networking config on the particular ESXi host housing the vCenter VM, we see that the status ofย vmnic0 isย unused.

unused02

Now looking at theย VM Network Properties and then theย NIC Teaming tab, notice the state of the active and standby adapters for the port group. ย The only vmnic that is listed, vmnic0, is set asย unused.

unused01

All we have to do is check the boxย Override switch failover order and then moveย vmnic0 up to theย Active Adapters selection.

After doing that, rechecking ESXTOP shows us the following. ย Notice how now we have a PNIC defined for the virtual machine.

unused04

After setting the Active adapter, I could now ping as well as access my vCenter appliance.

Final Thoughts

Without ESXTOP, it would be much harder to have this kind of visibility so quickly and easily when troubleshooting issues such as these. ย Withย ESXTOP troubleshoot VM network connectivity without any other tools or troubleshooting which makes life much easier. ย Do yourself a favor and learn the capabilities of ESXTOP as it will be worth its weight in gold to keep an environment running healthily and happily!

Subscribe to VirtualizationHowto via Email ๐Ÿ””

Enter your email address to subscribe to this blog and receive notifications of new posts by email.



Brandon Lee

Brandon Lee is the Senior Writer, Engineer and owner at Virtualizationhowto.com, and a 7-time VMware vExpert, with over two decades of experience in Information Technology. Having worked for numerous Fortune 500 companies as well as in various industries, He has extensive experience in various IT segments and is a strong advocate for open source technologies. Brandon holds many industry certifications, loves the outdoors and spending time with family. Also, he goes through the effort of testing and troubleshooting issues, so you don't have to.

Related Articles

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.