vmware trunk NIC

I Need help for cabling. I do not know whichcables connect  to trunk

Plan: i wan to connect my HP Switch to 2xesxi Servers. I have a 2x ESXI Server each 3 physical NICs

esxi1 -         vmnic0,vmnic1,vmnic2
esxi2 -         vmnic0,vmnic1,vmnic2
on HP 3400cl Switch:

ip Routing enabled
dhcp helper on vlan 10,20 enabled

Vlan 1 -   DEFAULT                   port 1-4
vlan 10-   ISCSI                         port 6-12
vlan20-    MS DHCP Server    port 13-18
TRK1 port 19-21
TRK2 port 22-24

I am stuck here , which cable should i connect to esxi1 and 2
needs needsAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

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.

SeanSystem EngineerCommented:
You should use at least 2 of the ports to connect to the switches on each host. In vmware you will need to set both network adapters to active/active.

So Host 1 vmnic0 and vmnic1 are connected to ports 19 & 20. If you want to use all three go ahead 19, 20 and 21.

That is if you are using trunk in the sense of all three ports act as a single 3 gb port.

If you mean trunk as in it allows multiple vlans then I would use only two ports and split them across the switch. HP switches, if i remember correctly call a trunk what cisco would refer to as a port channel so it just depeneds on what exactly you mean.

I would recommend splitting across the two switches so your network is redundant if a switch fails. In vmware the process would still be the same to set both Nics as active/active or active/standby at the leas.

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
needs needsAuthor Commented:
Sorry Sean ,
i have one m ore question.
should be trunk ports 19-21   22-24 "tagged"?

TRK1 port 19-21
TRK2 port 22-24
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
You need to add (tag) the VLANS which you require on the trunk to the ESXI host.

So if you want VLAN1, VLAN10 and VLAN20 to be available to Hosts and VMs, on ESXi1 and ESXi2, then TRK1 and TRK2 will need all those VLANS1, 10 and 20 as Tagged.

You will also then need to use the tag numbers 1, 10 and 20 as VLAN numbers when creating portgroups.
needs needsAuthor Commented:
Thank you so mucht for SUPER info
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
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

From novice to tech pro — start learning today.