When Network Health Check is enabled on a vSphere Distributed Switch (vDS), you may observe the following behavior:
vSphere Distributed Switch VLAN trunked statusvSphere Distributed Switch MTU supported statusvSphere Distributed Switch teaming matched status
The load balancing policy on your vDS may be set to Route Based on IP Hash.
VMware vCenter Server
VMware vSphere ESXi
These alerts trigger for a variety of reasons:
A vDS connects to multiple uplinks with different VLANs permitted.
If you set the teaming/failover order on individual port groups to control which uplinks are used, and you limit each port group to using VMNICs where that VLAN is permitted, this results in a working network configuration. However, Health Check does not distinguish between uplinks and tests each VLAN enabled for a vDS on each uplink. It subsequently reports a VLAN configured on the vDS as not supported for an uplink if it is not enabled on that particular network adapter. This affects the MTU, VLAN, and Teaming & Failover test results.
The MTU configured for your vDS exceeds the MTU set on a switch or router upstream of your host.
The health check feature tests roundtrip connectivity which may transit multiple network devices. The system can detect an MTU mismatch along the path even if the switch directly connected to your host has the correct MTU.
The same alarm also occurs if you configure a port group with the VLAN type set to None. In this case, VLAN 0 shows as not supported.
These alarms trigger due to a combination of the Health Check protocol design and the Route based on IP hash load balancing algorithm. If you configure the load balancing policy for the vDS switch port as Route based on IP hash and you configure EtherChannel in the connected physical switch, the physical switch may send the unicast frame to another uplink of the host where the broadcast did not send as a result of the load balancing algorithm. This is not a bug or a design flaw in the health check protocol, load balancing algorithm, or switch, but reflects the intended behavior of EtherChannel.
You receive alerts after restoring a distributed switch configuration, where the initially created uplinks are included in the vDS restore referencing previously allocated VLAN trunks that may no longer be in use.
If this occurs, you can remove the original vDS uplinks:
This is the expected behavior with the Health Check feature in vSphere. The alarms inform you about configuration issues that you should be aware of.
To prevent the vSphere Distributed Switch Health Check from showing these reports, apply one these options:
To prevent alerts from occurring where a port group with no VLAN assigned (VLAN is set to None) is in use, apply one of these options: