In ESX/ESXi 4.0 Update 2, this issue occurs if a pointer to the VLAN bit map is assigned a wrong value when VLAN RX hardware capability is activated. As a result, the VLAN bit map with an incorrect value is passed to the device driver. For cards which take advantage of VLAN filter function, a wrong VLAN ID is set and the uplink loses external connectivity.
To resolve this issue, you can either apply the ESX/ESXi 4.0 patch or upgrade to ESX/ESXi 4.1.
To apply the ESX/ESXi 4.0 patch, see:
To workaround this issue and restore connectivity until the next reboot:
- Remove the uplink from the vDS with the command:
esxcfg-vswitch -Q <vmnic> -V <dvPort ID of vmnic> <dvSwitch> #unlink a vDS uplink
- Re-add the uplink with the command:
esxcfg-vswitch -P <vmnic> -V <unused dvPort ID> <dvSwitch> #add a vDS uplink