VMware Cloud Community
Flaviomcs
Contributor
Contributor
Jump to solution

Network configuration on physical switch side.

If i have a esxi host that will host Vm´s on vlan 10, 20, 30, 40, 50, etc etc, what configuration do i need on the physical port on the switch side, that this esxi host connects ?

Does it need to be a trunk accessing these vlans ?

example;

switch# configure terminal

switch(config)# interface ethernet 3/1

switch(config-if)# switchport mode trunk

switch(config-if)# switchport trunk allowed vlan add 10-20-30-40-50 etc etc ?


??


thank you.

0 Kudos
1 Solution

Accepted Solutions
a_p_
Leadership
Leadership
Jump to solution

Yes, in order to run VM's in different VLANs, configure the port as a trunk port (for Cisco), or tagged port (for other switches).

see Sample configuration of virtual switch VLAN tagging (VST Mode) (1004074) | VMware KB

When you configure the virtual port groups, make sure that in case you are also going to create one for the physical switch port's native/default VLAN, that you don't assign the VLAN-ID on this port group.

André

View solution in original post

0 Kudos
1 Reply
a_p_
Leadership
Leadership
Jump to solution

Yes, in order to run VM's in different VLANs, configure the port as a trunk port (for Cisco), or tagged port (for other switches).

see Sample configuration of virtual switch VLAN tagging (VST Mode) (1004074) | VMware KB

When you configure the virtual port groups, make sure that in case you are also going to create one for the physical switch port's native/default VLAN, that you don't assign the VLAN-ID on this port group.

André

0 Kudos