NIC teaming in ESXi and ESX and process to configure
search cancel

NIC teaming in ESXi and ESX and process to configure

book

Article ID: 315432

calendar_today

Updated On:

Products

VMware vCenter Server VMware vSphere ESXi

Issue/Introduction

This article provides information NIC teaming, its advantage, choosing correct NIC Teaming policy and process to configure.

A NIC team can share the load of traffic between physical and virtual networks among some or all of its members, as well as provide passive failover in the event of a hardware failure or network outage.


Environment

VMware ESX 4.0.x
VMware ESXi 3.5.x Installable
VMware ESXi 4.0.x Installable
VMware ESX Server 3.5.x
VMware ESX Server 3.0.x
VMware ESX 4.1.x
VMware vCenter Server 6.5.x
VMware ESXi 4.1.x Installable
VMware vSphere ESXi 6.5
VMware vSphere ESXi 6.0
VMware ESXi 4.1.x Embedded
VMware vSphere ESXi 5.5
VMware ESXi 3.5.x Embedded
VMware vSphere ESXi 6.7
VMware ESXi 4.0.x Embedded
VMware vSphere ESXi 5.0
VMware vSphere ESXi 5.1

Resolution

Advantages of NIC Teaming:

To utilize NIC teaming, two or more network adapters must be uplinked to a virtual switch. The main advantages of NIC teaming are:

  • Increased network capacity for the virtual switch hosting the team.
  • Passive failover in the event one of the adapters in the team goes down.

Guidelines while choosing NIC Teaming policy:

Observe these guidelines to choose the correct NIC Teaming policy:

  • Route based on the originating port ID: Choose an uplink based on the virtual port where the traffic entered the virtual switch.
  • Route based on an IP hash: Choose an uplink based on a hash of the source and destination IP addresses of each packet. For non-IP packets, whatever is at those offsets is used to compute the hash.
  • Route based on a source MAC hash: Choose an uplink based on a hash of the source Ethernet.
  • Use explicit failover order: Always use the highest order uplink from the list of Active adapters which passes failover detection criteria.
  • Route based on physical NIC load (Only available on Distributed Switch): Choose an uplink based on the current loads of physical NICs.
Before you begin :

Configuring NIC teaming:

Process to configure NIC teaming for standard vSwitch using the vCenter client:

  1. Highlight the host and click the Configure tab.
  2. Click the Virtual Switches link.
  3. Select the virtual switch then select Edit.  
  4. Under the Teaming and Failover tab, select the appropriate drop down for Load Balancing.
  5. Ensure the appropriate network adapter(s) are set to active.  Use the arrow to move the adapter(s) to Active Adapters if necessary.
  6. Save by clicking OK.
  7. Test the load balancing by adding a test VM to the port group and ensure the VM can ping its gateway.

Process to configure NIC teaming for Distributed portgroup for VMware vSphere Distributed Switch (VDS) using the vSphere/VMware Infrastructure Client:

  1. From Inventory, go to Networking.
  2. Click on the Distributed switch.
  3. Click the Configure tab then the Topology option.
  4. Click on the port group's additional options and Edit Settings
  5. Click Teaming and Failover.
  6. Select the correct Teaming policy under the Load Balancing field.
  7. Click OK.
  8. Test the load balancing by adding a test VM to the port group and ensure the VM can ping its gateway.
NOTE: If the VM cannot reach its default gateway, please see Troubleshooting virtual machine default gateway connection issues for more troubleshooting steps.

Additional Information

Video on NIC teaming- the video shows an older host but the concept is the same:



For more information, see: