Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How To Setup Multiple VLANS on ESXi Host

Posted on 2013-05-17
2
Medium Priority
?
609 Views
Last Modified: 2016-11-23
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
Comment
Question by:slattdog
2 Comments
 
LVL 4

Accepted Solution

by:
AmonPereira earned 1000 total points
ID: 39175755
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
 
LVL 22

Assisted Solution

by:mcsween
mcsween earned 1000 total points
ID: 39175771
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

Threat Trends for MSPs to Watch

See the findings.
Despite its humble beginnings, phishing has come a long way since those first crudely constructed emails. Today, phishing sites can appear and disappear in the length of a coffee break, and it takes more than a little know-how to keep your clients secure.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The use of stolen credentials is a hot commodity this year allowing threat actors to move laterally within the network in order to avoid breach detection.
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question