VMWare vSwitch cannot support VLAN ID 1
If the VLAN ID is one it is not supported.
VMWare KB1006628
VMWare KB1006628
This is a Cisco Switch port TRUNK sample configuration.
Apply the following commands to Cisco Switch command line:
- interface GigabitEthernet1/1
- description VMware ESX - Trunk A - NIC 0 – Port Description
- switchport trunk encapsulation dot1q – ESX only supports dot1q and not ISL
- switchport trunk allowed vlan 100,200 – Allowed VLANs
- switchport mode trunk – Enables Trunk
- switchport nonegotiate – ESX/ESXi does not support DTP dynamic trunking protocol. When configuring trunk port, set it to nonegotiate.
- spanning-tree portfast trunk – Enables PortFast on the interface when it is in trunk mode.
Sample of ESX vSwitch configuration for VST mode:
- esxcfg-vswitch [options] [vswitch[:ports]]
- esxcfg-vswitch -v [VLANID] -p [port group name] [vswitch[:ports]]
- esxcfg-vswitch -v 200 -p "Virtual Machine Network 2" vSwitch1
Comments