Portal Home > Knowledgebase > VMware Knowledge Base > NIC teaming using EtherChannel leads to intermittent network connectivity in ESXi

NIC teaming using EtherChannel leads to intermittent network connectivity in ESXi

Solution

Workaround
 
Note: To reduce the chance of network connection loss please change the vSwitch load balancing to Route based on IP hash using this method
  1. Shutdown all ports in the team from the physical switch leaving a single port as active.
  2. Change the load balancing to Route based on ip hash on the vSwitch and Management Portgroup.
  3. Configure the port channel on the physical switch.
  4. Enable the ports on the physical switch.
Notes: Using this method will prevent a connection loss when changing to a port channel. Also make sure that under the portgroup properties for vmk# used for management network you check mark the box "Enabled".  
 
 
If you have already changed the vSwitch load balancing to Route based on IP hash, then set the same for Management Network portgroup. 
  1. Login to Virtual Center/vCenter Server using VI/ vSphere Client.
  2. Select the ESXi Server host.
  3. Click the Configuration tab.
  4. Click the Networking link.
  5. Click Properties link for the management network portgroup.
  6. Highlight the virtual switch in the Ports tab and click Edit.
  7. Click the NIC Teaming tab.
  8. Choose Route based on IP hash from the Load Balancing dropdown menu.
  9. Verify that there are two or more network adapters listed under Active Adapters.

Use these commands if the host does not stay connected to vCenter Server after the vSwitch load balancing policy change:

# vim-cmd hostsvc/net/vswitch_setpolicy --nicteaming-policy=loadbalance_ip vSwitch0
# vim-cmd hostsvc/net/portgroup_set --nicteaming-policy=loadbalance_ip vSwitch0 "Management Network" 

Based on VMware KB 1022751

Also Read

Language: