Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

How do I add a VLAN to a trunked port on VMWare ESX servers?

Posted on 2008-10-16
4
1,934 Views
Last Modified: 2010-04-21
I have two ESX 3.5 servers that has multiple NICS with trunked ports.
This was set up by a VMWare engineer and obviously I didn't pay enough attention.

I need to add an additional VLAN/VLAN ID to the ports that are already trunked.
My network admin has added the new VLAN to the trunked ports and provided me with the VLAN ID
How do I get the NICS in the ESX server to recognize this new VLAN?

I tried doing a restart on the ESX host network service but that made no difference.
Do I need to make changes to IFCONFIG ?  If so, what/how?
0
Comment
Question by:moorejc
  • 2
  • 2
4 Comments
 
LVL 23

Expert Comment

by:that1guy15
ID: 22736486
you set the vlan information in the properties of the vswitch. Go to Configuration tab then Networking (on the left)

Click on the properties link next to the vswitch you want to configure.

You will want to add a VM port group. Make sure you set a VLAN ID the same as your network admin gave you.

Look under the networking section of the ESX admin guide for more details

http://www.vmware.com/pdf/vi3_35/esx_3/r35/vi3_35_25_3_server_config.pdf


0
 

Author Comment

by:moorejc
ID: 22737671
Maybe I'm just being dense but I assume I'll need to be able to see the new VLAN ID on the physical NIC before I can set it in the properties of a vswitch.

The reason I say this is because when I go to the physical "Network Adapters" section, as opposed to the "Networking" section, I see a list of all of the VLANS that are being presented to my physical NICs.
 I know this must be a list of VLANS being presented from the CIsco switch to me as it includes some VLANs that I haven't configured anywhere in a port group.  
0
 
LVL 23

Accepted Solution

by:
that1guy15 earned 500 total points
ID: 22741464
When you add the second vm port group the vmnic will be updated with the port groups that it passes.

If you want a little more explanation on how all this works check this short article out.

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

Author Closing Comment

by:moorejc
ID: 31506982
Thanks for the info.  it didn't occur to me that the physical NIC info would be displayed AFTER I modify the virtual settings.
0

Featured Post

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

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

Last article we focus in how to VMware: How to create and use VMs TAGs – Part 1 so before follow this article and perform the next tasks, you should read the first article how to create the TAG before using them in Veeam Backup Jobs.
Use of TCL script on Cisco devices:  - create file and merge it with running configuration to apply configuration changes
Teach the user how to configure vSphere Replication and how to protect and recover VMs Open vSphere Web Client: Verify vsphere Replication is enabled: Enable vSphere Replication for a virtual machine: Verify replicated VM is created: Recover replica…
This video shows you how easy it is to boot from ISO images for virtual machines with the ISO images stored on a local datastore on the ESXi host.

839 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