• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2100
  • Last Modified:

vmware ESX and NIC trunking/teaming

I have a ESX server with 6 NIC (2 Broadcom 1 Gbps) and a Intel Pro 1000VT quad port.

I want to have that 4 ports of my Intel Quad Pro VT as trunk of 4 Gbps ?  How do i setup this

Do need to put my switch ports in trunk mode ?

Thanks
0
fox54
Asked:
fox54
  • 3
  • 3
  • 2
3 Solutions
 
kumarnirmalCommented:
If you want your Virtual Machines to be in different Subnets / VLANs, you do not need to put your physical switch ports in Trunk Mode.

For example, if your VMs are all going to be in 192.168.1.X Subnet only, then simply create a new Port Group called VMs and assign all the 4 NICs of your Intel Pro 1000VT Quad Port.

You can configure all your NICs to be Active or designate some of them as Standby Adapters too (Standby Adapters will be used if any of the Active Adapters fail)

Please note that the speed and duplex setting of your NICs should be the same  at both the switch end and at the Server end.(1000 Mbps / Full Duplex I assume)

Never set the speed to Auto-Negotiate else the NIC Teaming can sometimes fail.
0
 
kumarnirmalCommented:
A small correction - "If you want your Virtual Machines to be in different Subnets / VLANs, then you need to put your physical switch ports in Trunk Mode."
0
 
fox54Author Commented:
So if i want all four nic to be grouped as a full 4 Gbps links, i just create a port group (in vswitch0 for example) and assign all nic.  But no auto-negotiate either in NIC or switch.
Is that right ?

I don't see a "port group"  But i see a NIC Teaming tab in th vSwitch properties and i could add other NIC there ?.  I tried that but it did not seem to work. It cut out communications.  Do i have something to set in the switch ???
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
kumarnirmalCommented:
You just create a vSwitch and add all the 4 NICs to the vSwitch.
Make sure that the 4 NICs connect to the same subnet if you do not want VLANs option.
0
 
aldanchCommented:
You can set up your network in a few ways.

The first is to use port groups on vSwitch0. Each port group is assigned to specific physical adapters (or no adapters)

To create a port group under the Configuration tab --> Networking --> Properties... (vSwitch0 or other vSwitch) --> Add... --> Connection Type (VM or VMkernel) --> Port Group Name

The second is to use multiple vSwitches and place your port groups and physical adapters accordingly.

Seeing as you have two NICs (Broadcom and Intel), I suggest having your VMkernel management network connected to one port on each NIC for redundancy.

Here's how your setup can look like

Broadcom --> vmnic0, vmnic1
Intel --> vmnic2, vmnic3 vmnic4, vmnic5

Setup 1
vSwitch0 - VMkernel Management and VM networks
Port group = VMkernel -> Management Network --> vmnic0, vmnic2
Port group = Virtual Machine Port Group -> Virtual Machine Network --> vmnic1, vmnic3, vmnic4, vmnic5

OR

Setup2
vSwitch0 - VMkernel Management Network
Port group = VMkernel -> Management Network --> vmnic0, vmnic2
vSwitch1
Port group = Virtual Machine Port Group -> Virtual Machine Network --> vmnic1, vmnic3, vmnic4, vmnic5
0
 
aldanchCommented:
Sorry, reposting because I accidentally clicked Submit and wasn't done posting...

Setup 1
vSwitch0 - VMkernel Management and VM networks
Port group = VMkernel -> Management Network --> vmnic0, vmnic2 (ports from each physical NIC)
Port group = Virtual Machine Port Group -> Virtual Machine Network --> vmnic1, vmnic3, vmnic4, vmnic5

OR

Setup2
vSwitch0 - VMkernel Management Network
Port group = VMkernel port -> Management Network --> vmnic0, vmnic2 (ports from each physical NIC)
vSwitch1 - Virtual Machine Network
Port group = Virtual Machine Port Group -> Virtual Machine Network --> vmnic1, vmnic3, vmnic4, vmnic5


They are both easy to setup and manage. It's up to you which way to go (port groups or vswitches).

Setup1
vSwitch0 --> Properties... --> Network Adapters --> Add... --> vmnic0, 1, 2, 3, 4, 5
vSwitch0 --> Properties... --> Ports --> Management Network --> Edit... --> NIC Teaming  
- Move up vmnic0, vmnic2 to Active Adapters
- Move all other adapters (vmnic1, 3, 4, 5) to Standby Adapters
Do the same to Virtual Machine Network, except
- Move vmnic1, 3, 4, 5 to Active Adapters
- Move vmnic0, 2 to Standby Adapters

Setup1 works well if you have segregation between your VMkernel and VM network. If you do, you would move other adapters to Unused Adapters in all steps that say move to Standby Adapters

Setup2
vSwitch0 --> Properties... --> Network Adapters --> Add... --> vmnic0, vmnic2
vSwitch0 --> Properties... --> Ports --> Management Network --> Edit... --> NIC Teaming  
- Move up vmnic0, vmnic2 to Active Adapters (if needed)
vSwitch1 --> Properties... --> Network Adapters --> Add... --> vmnic1, 3, 4, 5
vSwitch0 --> Properties... --> Ports --> Virtual Machine Network --> Edit... --> NIC Teaming  
- Move up vmnic1, 3, 4, 5 to Active Adapters (if needed)
0
 
fox54Author Commented:
ok it works.  But it seems that the 4 Gbps troughput is selected by the ESX for outgoing traffic.
For incoming traffic, it says that the load balancing is done by the physical switch.

I tried to put the 4 ports of the switch in trunk mode but it's not working.  I have a Procurve 2510G-24 switch

Any suggestion ?
0

Featured Post

Cyber Threats to Small Businesses (Part 1)

This past May, Webroot surveyed more than 600 IT decision-makers at medium-sized companies to see how these small businesses perceived new threats facing their organizations.  Read what Webroot CISO, Gary Hayslip, has to say about the survey in part 1 of this 2-part blog series.

  • 3
  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now