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 -10.0.10.3/24         vmnic0,vmnic1,vmnic2
esxi2 -10.0.10.4/24         vmnic0,vmnic1,vmnic2
on HP 3400cl Switch:


created:
ip Routing enabled
dhcp helper on vlan 10,20 enabled

Vlan 1 -   DEFAULT                   port 1-4      192.168.0.2/24
vlan 10-   ISCSI                         port 6-12     10.0.10.2/24
vlan20-    MS DHCP Server    port 13-18    10.0.20.2/24
created:
TRK1 port 19-21
TRK2 port 22-24

I am stuck here , which cable should i connect to esxi1 and 2
Thanks
needs needsAsked:
Who is Participating?
 
SeanConnect With a Mentor System 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.
0
 
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
0
 
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.
1
 
needs needsAuthor Commented:
Thank you so mucht for SUPER info
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
np
0
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.

All Courses

From novice to tech pro — start learning today.