Solved

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

Posted on 2008-10-16
4
1,931 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

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

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

Suggested Solutions

If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
This is an issue that we can get adding / removing permissions in the vCSA 6.0. We can also have issues searching for users / groups in the AD (using your identify sources). This is how one of the ways to handle this issues and fix it.
Teach the user how to edit .vmx files to add advanced configuration options Open vSphere Web Client: Edit Settings for a VM: Choose VM Options -> Advanced: Add Configuration Parameters:
This video shows you how to use a vSphere client to connect to your ESX host as the root user. Demonstrates the basic connection of bypassing certification set up. Demonstrates how to access the traditional view to begin managing your virtual mac…

920 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now