Link to home
Start Free TrialLog in
Avatar of WellingtonIS
WellingtonIS

asked on

Virtual Machines and VLANs

I have a Virtual ESXI server on a specific subnet and Vlan - I built 2 virual servers one is on the same subnet and vlan the other Virtual Server is not.  How does on handle the seperate VLANS and subnets on a virual box?  Everything is on the same port on the switch.  What does one do?
Avatar of BigDeer
BigDeer

You can tag ports for specific vlans in the vSwitch. You can also configure a trunk within a port group to pass VLAN traffic just like you would to a physical switch - http://wahlnetwork.com/2012/05/07/its-a-trunk-using-portgroup-vlans-with-vsphere/
Avatar of WellingtonIS

ASKER

OK so basically this has to be done on the switch.  We unfortunately have HP switches not Cisco but I'm sure the same applies.
ASKER CERTIFIED SOLUTION
Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
this is very confusing but I'll give it a shot.
which bit, and I'll take you through it step by step....
I understand how to create the virtual adapter.  Should I use the existing switch or create a new on.  My goal is to take that one server and put it on another VLAN
Actually I think I got it!  Whew.  I used the existing switch added the VLAN in there and attached it to the VM I wanted it on.  I now have the internet back.
BIGDEER hit the nail on the head.
Great Info