Note: Before you begin, see Restarting the Management agents on an ESX or ESXi Server (1003490) for important information on restarting the mgmt-vmware service.
In this example, the physical switch is set to use for instance ether channel and IP hash, set load balance policy using the command line interface.
-
Check the current vSwitch settings, run the command:
esxcfg-vswitch -l
-
Check the current uplink, run the command:
esxcfg-nics -l
-
Add an uplink with the command:
esxcfg-vswitch -L vmnic# vSwitch#
-
Verify teamed uplinks with the command:
esxcfg-vswitch -l
-
Set load balancing policy. The options are:
-
Refresh network settings with the command:
vimsh -n -e "/internalsvc/refresh_network"
-
Restart the management service with the command:
service mgmt-vmware restart
-
Ping the gateway to confirm connectivity:
ping x.x.x.x