How to configure Trunk Mode with VLAN tagging in VMWare on ESXi host

Hello EE,

I am being asked on ESX Host, to configure the "trunk mode" with VLAN tagging and add the VLAN into ESX Host and match it to the right network adapter.
Ultimately what I am trying to do is add a secondary route so my VM can sync with a stand alone server and I can configure the physical switch, but have not done it on VMWare yet.
operationsITAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
First you need to create the trunk on the physical switch, usually with two or more ports.

When you have created this trunk port, you will then add Tagged VLANs onto these ports or trunk.

Create a vSwitch, with two physical uplinks (nics), these nics will be connected to the physical network ports.

You then need to create Network Machine Portgroups, with a number, which represents the Tag number, and then give the network a label, e.g. VLAN 10.

On the management interface, you will want to include the VLAN Number.
0
operationsITAuthor Commented:
I have added the second NIC to the VM server
I have gone into the network configuration of the host and created a
         vSWITCH
         Virtual Machine Port Group                                    Physical Adapters
         Sync                                                                            

         1 virtual machine(s) | VLAN ID: 4
         VMSRVNAME

1. I need to add the vmnic, but do these need to be on separate NICs from the other switches/Nics?
2. Am I missing anything else on the VM side?
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
2. Am I missing anything else on the VM side?

that's the VM side done.

1. I need to add the vmnic, but do these need to be on separate NICs from the other switches/Nics?

nics, physical needed to be added to the vSwitch which are configured as a trunk on the physical switch. (with the vLANS)
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

operationsITAuthor Commented:
is there anything special on the physical side or just add this vlan to the existing configuration as it's working now.
Are there any good documents on this?
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
operationsITAuthor Commented:
Great information.  When/why would NIC teaming be required?
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
if you require fault tolerance, resilience, avoid a single point of failure!
0
operationsITAuthor Commented:
great feedback thanks for taking the time
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
VMware

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.