Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 372
  • Last Modified:

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?
0
WellingtonIS
Asked:
WellingtonIS
1 Solution
 
BigDeerCommented:
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/
0
 
WellingtonISAuthor Commented:
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.
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
You will need to create at least two new Virtual Machine Network Port Groups

e.g. VLAN22, VLAN23

and then Associated those networks with the VMs, network interface.

and make sure you present a trunk to the ESXi server, with Tagged VLANs, 22 and 23.

Have a look here

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

ESXi Configuration Guide ESXi 4.1

http://www.vmware.com/pdf/vsphere4/r41/vsp_41_esxi_server_config.pdf

Virtual Networking

http://www.vmware.com/technical-resources/virtual-networking/virtual-networks.html

Virtual Networking Concepts

http://www.vmware.com/files/pdf/virtual_networking_concepts.pdf

http://en.wikipedia.org/wiki/Virtual_LAN

http://en.wikipedia.org/wiki/IEEE_802.1Q
Sample configuration of virtual switch VLAN tagging (VST Mode)

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1004074

http://blog.scottlowe.org/2006/04/17/vlans-and-port-groups/

How to Setup VLANs

http://www.vladan.fr/great-kb-on-how-to-configure-vlans-on-vswitches-pswitches-and-vms/

VMware ESX Server 3: 802.1Q VLAN Solutions

http://www.vmware.com/pdf/esx3_vlan_wp.pdf

http://kb.vmware.com/kb/1004127

http://kb.vmware.com/kb/1004074

http://kb.vmware.com/kb/1004252
0
Transaction-level recovery for Oracle database

Veeam Explore for Oracle delivers low RTOs and RPOs with agentless transaction log backup and transaction-level recovery of Oracle databases. You can restore the database to a precise point in time, even to a specific transaction.

 
WellingtonISAuthor Commented:
this is very confusing but I'll give it a shot.
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
which bit, and I'll take you through it step by step....
0
 
WellingtonISAuthor Commented:
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
0
 
WellingtonISAuthor Commented:
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.
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Excellent, any issues, post back...
0
 
Black_FlagCommented:
BIGDEER hit the nail on the head.
0
 
WellingtonISAuthor Commented:
Great Info
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now