VMWare and VLAN

HI all,

I'm trying to create a home lab Windows 2012 network using virtual machines in VMware.

In order to create a network environment where the Server 2012 acts as DHCP and DNS server (without conflicting with my home router), I purchased a cheap smart switch that allows for VLAN. This switch allows me to create:

1. Port Based VLAN
2. 802.1Q VLAN

Which should I choose? 802.1Q appears to be more involved and difficult, but I don't mind wrestling with it if it's a better solution for the real world.

Thanks in advance.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
The real world uses 802.1Q VLAN or VLAN Tags.

So create a two port trunk, present this to ESXi, and then create different VLANs. e.g. a virtual machine portgroup where you add a Tag number.

Have a look here (this has not changed, much in all vSphere versions!)

Pages 13 - 73 Discuss Networking in Detail, iuncluding trunks, VLANs, switches, and load balancing

ESXi Configuration Guide ESXi 4.1


Virtual Networking


Virtual Networking Concepts



Sample configuration of virtual switch VLAN tagging (VST Mode)



How to Setup VLANs


VMware ESX Server 3: 802.1Q VLAN Solutions





Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Go-BruinsAuthor Commented:
Thanks so much.

So in the real world, network admins use smart switches (albeit much more expensive, of course) to do what I'm trying to do?
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
We call them managed switches. (Layer 2 or Layer 3)

you can read up on the definitions hew


But yes.
Go-BruinsAuthor Commented:
Thank you!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.