VMware vSphere ESXi 6.x
VMware vSphere ESXi 7.x
VMware vSphere ESXi 8.x
The NIC teaming section plays a vital role when you have two or more uplinks (VMNICs). To determine the current load balancing configuration on a vSphere Standard Switch:
This is the load balancing method that is used by default on vSphere Standard and Distributed Switches. When this policy is in effect, only one VMNIC (physical NIC) is used per virtual NIC or VMkernel port. If a NIC's link goes down, the virtual NICs and VMkernel ports are reassigned to the remaining NICs that are up, and the host sends out advertisements to the physical switch to ensure the MAC address table is updated.
If all NICs in a team are set as active, they are all used for virtual machine or VMkernel traffic.
Advantages:
Disadvantages:
Route based on IP Hash works by taking the source and destination IP addresses and performing a mathematical calculation on each packet to determine which uplink in the team to use. Because the load balancing is based on the source/destination IP addresses, a single virtual machine communicating with multiple IP addresses can balance its load across all of the network adapters in the team and make better use of the available bandwidth.
Route based on IP Hash load balancing requires that the physical switch ports be combined into an EtherChannel (sometimes called an aggregation bond, port-channel). This ensures that the same hashing algorithm is used for traffic returning in the opposite direction.
Advantages:
Disadvantages:
For more information on Load Balancing Policies available for virtual switches following article can be referred:
Load Balancing Algorithms Available for Virtual Switches
If you encounter a situation where the virtual MACs are being learnt on both switch interfaces randomly causing interfaces to flap at switch level, this is a sign that a host in your environment is not properly configured. You will need to re-validate the TOR EtherChannel configuration and make sure that it matches the ESXI VDS config and the correct algorithm is selected.