VMs on standard switch are not reachable when moving to virtual distributed switch
search cancel

VMs on standard switch are not reachable when moving to virtual distributed switch

book

Article ID: 413934

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

  • When VMs are moved to a portgroup on a DVS they lose connection
  • VMs are on standard switch with no VLAN tagged on the portgroup
  • VLAN is configured on the portgroup of the DVS

Environment

ESXi 8.0

Cause

VLAN associated to the DVS portgroup is not present on the physical switch.

Running the below commands to check the VLAN tag stats incoming and outgoing, does not show the VLAN:

# esxcli network nic vlan stats set -n vmnic# -e true 

To enable the vlan stats on vmnic

# esxcli network nic vlan stats get -n vmnic#

To get the vlan stats on the vmnic. 

# esxcli network nic vlan stats set -e false -n vmnic#

To disable the VLAN stats on the vmnic

Resolution

Ensure that the physical switch is correctly configured with the VLAN you wish to use for the VM traffic

Additional Information