• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 624
  • Last Modified:

How To Setup Multiple VLANS on ESXi Host

I have a Dell PE server with two NICs running ESXi5.  I want to create a VLAN that I can put some additional VMs into and keep them separate from the management network and existing VMs.  The NICs are currently setup for fail-over.  Should I setup the VLANs within the vSphere console, or on the switch that the NICs are plugged into, or both?
0
slattdog
Asked:
slattdog
2 Solutions
 
AmonPereiraCommented:
Hi,

It would be better to setting up your VLANs into your switches and setting the switch ports  which ESXi hosts are connected to TRUNK Ports.

Configure your trunk ports to pass the VLANs you want in your VCenter environmento

Then create Port Groups in your virtual switches to mime the VLANs you have in your network.

Follow the links below to accomplished that:

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

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

http://pubs.vmware.com/vsphere-50/topic/com.vmware.ICbase/PDF/vsphere-esxi-vcenter-server-50-networking-guide.pdf
0
 
mcsweenSr. Network AdministratorCommented:
At the switch you need to setup the ports that ESXi is plugged into as trunk ports.

In VI Client:
1. Click the ESXi Server, Configuration Tab
2. Networking
3. Click Properties on the vswitch you are using for VM Network Access (not your iSCSI vswitch if you have one)
4. On the ports tab click Add
5. Virtual Machine, Next
6. Fill in Network Label (this is just a friendly name like VLAN 10 - Servers)
7. Enter the VLAN ID (This is the actual VLAN #), Next, Finish

Now go to the Virtual Machine you want to put on this VLAN, Right Click, Edit Settings
Click Network Adapter and select the correct Network Label under Network Connection.  Your System is now on the new VLAN (remember to set IP addresses and configure routing somewhere for this VLAN, preferably at the switch.)
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

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