Run the following commands to list all of the network adapters and associate a vmnic which has a link status of up:
esxcfg-nics -l esxcfg-vswitch -L vmnic1 vSwitch0
Run the following command to verify that the vmnic is associated with the vSwitch:
esxcfg-vswitch -l
Ping an IP address to check for network connectivity.If the ping fails remove the previous vmnic from the vSwitch and try another adapter that has a link status of up.