VMware Cloud Community
BalaKiD
Contributor
Contributor
Jump to solution

VLAN Distributed Switch configuration

Hi,

This a configuration problem, and I am not really sure on how to configure it.

I have created a distributed switch, and ESXi1 and ESXi2 are members. I created a distributed portgroup named A_01 and is a member of VLAN 101.

I created a VM XP1 in ESXi1 that is in A_01 and I created a VM XP2 on ESXi2 that is in A_01.

They won't communicate.

I have a switch in between them and the uplink for the distributed switch of ESXi1 is connected to port1 and ESXi2 uplink is connected to port2

I "tagged" port1 and port2 to vlan 101.

They won't communicate.

I both change the network of the VM XP1 and VM XP2 to a portgroup with no VLAN they communicate.

What am I doing wrong.

Thanks!

Reply
0 Kudos
1 Solution

Accepted Solutions
rh5592
Hot Shot
Hot Shot
Jump to solution

"I both change the network of the VM XP1 and VM XP2 to a portgroup with no VLAN they communicate"

--> its because your physical switch is configured as access port. Tagging is being done at the  physical switch level. It is the expected behavior.

If you want to tag the VLAN at the vSwitch level, then you have to set the physical switch as a trunk port and allow VLAN 101.

Regards. ================================================= "If found useful, kindly mark answers Correct or Helpful " http://rh5592.com =================================================

View solution in original post

Reply
0 Kudos
1 Reply
rh5592
Hot Shot
Hot Shot
Jump to solution

"I both change the network of the VM XP1 and VM XP2 to a portgroup with no VLAN they communicate"

--> its because your physical switch is configured as access port. Tagging is being done at the  physical switch level. It is the expected behavior.

If you want to tag the VLAN at the vSwitch level, then you have to set the physical switch as a trunk port and allow VLAN 101.

Regards. ================================================= "If found useful, kindly mark answers Correct or Helpful " http://rh5592.com =================================================
Reply
0 Kudos