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
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.
MTU Inconsistency in the Data Path
The health check probes fail if there is an MTU mismatch at any point in the path.
This occurs if the MTU configured for your vDS exceeds the MTU set on an upstream switch/router, or if the vDS (or a specific port group) has a lower MTU than the packets being originated by the virtual infrastructure (e.g., NSX TEPs).
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 of which you should be aware.