ESXTOP troubleshoot VM network connectivity
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.
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.
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.
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.
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!