troubleshooting Question

Can i use a guest VM to trunk/connect ESXi vswitch port group vlans?

Avatar of fourlightson
fourlightson asked on
2 Comments1 Solution2680 ViewsLast Modified:
Hi everyone,

At the moment i have:

4 x Windows 2003 guest vm's each on their own subnet.
4 x port groups on vswitch0 each assigned a unique VLAN ID and then one of the above guest VM's allocated to each port group.

The idea is to have each guest VM in it's own VLAN, which i think the above achieves using Virtual Switch Tagging.

My question is do i really need a physical switch to perform the trunking or is it possible for me to install a linux vm or a pfense vm and have it be aware of the four vlan port groups and then perform the routing between the four windows vm subnets?

I know pfsense supports 802.1q vlans but what i get stuck at is understanding how the pfsense guest VM on the same ESXi host as the windows vm's will see traffic from all 4 of the vlan port groups.

I don't know if the default 'VM Network' port group which has no VLAN ID automatically trunks with all it's sub port groups so any VM in there will see all VLANS ?

Apologies if this doesn't make a whole lot of sense. If anyone can offer some pointers id appreciate it. I'd rather not have to go out and buy a switch to trunk four VM's if possible.

Many thanks


Our community of experts have been thoroughly vetted for their expertise and industry experience.

Log in to continue reading
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform for $9.99/mo
View membership options
Unlock 1 Answer and 2 Comments.
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
The Value of Experts Exchange in My Daily IT Life

Experts Exchange (EE) has become my company's go-to resource to get answers. I've used EE to make decisions, solve problems and even save customers. OutagesIO has been a challenging project and... Keep reading >>


Owner of Outages.IO
Phoenix, Arizona, United States
Member Since 2016
Join a full scale community that combines the best parts of other tools into one platform.
Unlock 1 Answer and 2 Comments.
View membership options
“All of life is about relationships, and EE has made a virtual community a real community. It lifts everyone's boat.”
William Peck

Member since 2004