ESX 3.5 NIC Teaming Issue

Posted on 2010-09-22
Last Modified: 2012-05-10
Hopefully this is an easy one for the ESX experts. I have a Dell R900 running ESX 3.5 U4. It was using only one NIC at the time of build. I now connected the other three (total of 4) NIC's and wanted to use all under same IP. Once plugged in, I see all four NIC's under "Network Adapters", however, when under "Netorking - Properties - vSwitch(Edit) - NIC Teaming" none of the three newly connected NIC's show. Back to Network Adapters the three list as none under vSwitch, whereas the first NIC lists vSwitch0. Am I doing something wrong here?
Additional information. I have another server exactly the same only it uses DHCP, they detect and show up under NIC Teaming. Any help is greatly appreciated.
Question by:hcalbre
  • 5
  • 3
  • 2
LVL 22

Expert Comment

by:Luciano Patrão
ID: 33736675

Using one or more nics on a vswitch is the same. Dhcp or Ip Is no used on the settings in tye virtual switch
Regarding the teaming you need to link the nics then enable teaming
Teaming needs 2 or more nics

LVL 22

Expert Comment

by:Luciano Patrão
ID: 33736880

Writing this on mobile is dificult, so now i can copy past a answer that i have give some days ago

I use post install scripts to create the portgroups and team etc. I will add an example

lets create an example for vSwitch2

Create vSwitch
esxcfg-vswitch -a vSwitch2

Add/link the vmnics to vSwitch
esxcfg-vswitch -L vmnic1 vSwitch2
esxcfg-vswitch -L vmnic2 vSwitch2

Create teaming and load balance for this vSwitch
vmware-vim-cmd hostsvc/net/vswitch_setpolicy --nicorderpolicy-active=vmnic1,vmnic2 --nicteaming-policy=loadbalance_ip vSwitch2
vmware-vim-cmd hostsvc/net/vswitch_setpolicy --securepolicy-promisc=true vSwitch2

Enable Cisco Discovery
esxcfg-vswitch -B both vSwitch2

Create 2 portgroups with different VLANs as an example
esxcfg-vswitch -A "PortGroup01" vSwitch2
esxcfg-vswitch -p "PortGroup01" -v 64 vSwitch2

esxcfg-vswitch -A "PortGroup02" vSwitch2
esxcfg-vswitch -p "PortGroup02" -v 84 vSwitch2

service mgmt-vmware restart

Any question, just ask


Author Comment

ID: 33737133
Not sure I follow everything above. I already have a vSwitch0 with vmnic0 added. I just want to add vmnic1, vmnic2 and vmnic3 to vSwitch0, which can be done through the NIC Teaming tab. However, these three other NIC's do not display under Nic Teaming, but DO display under network adapters.
How can I make them appear to add to vSwitch0?
LVL 22

Accepted Solution

Luciano Patrão earned 500 total points
ID: 33737330

OK you need to add this nics to that vSwitch

This command add the nic to the vSwitch that you want:

esxcfg-vswitch -L vmnic1 vSwitch0
esxcfg-vswitch -L vmnic2 vSwitch0
esxcfg-vswitch -L vmnic3 vSwitch0

Now all the nics are in the vSwitch0

No you need to enable Teaming and load balancing for that vSwitch with that nics.

This command do that:

vmware-vim-cmd hostsvc/net/vswitch_setpolicy --nicorderpolicy-active=vmnic1,vmnic2,vmnic3 --nicteaming-policy=loadbalance_ip vSwitch0

vmware-vim-cmd hostsvc/net/vswitch_setpolicy --securepolicy-promisc=true vSwitch0

This will enable teaming and loadbalancing for that nics in that vSwtich0

LVL 26

Expert Comment

ID: 33738017
Here is the step by step instruction:

- On your virtual center, highlight the host and click the Configuration tab.
- Click the Networking link.
- Click Properties next to the virtual switch.
- In VSwitch# Properties window, click on Network Adapters tab
- Click on Add button
- Select the appropriate network adapter
- Ensure the selected adapters are under Active Adapters.
- Click Next.
- Click Finish.
- On the Ports tab, highlight the name of the virtual switch and click Edit.
- Click the NIC Teaming tab.
The default load balancing policy is Route based on the originating virtual port ID. If the physical switch is using link aggregation, Route based on IP hash load balancing must be used.

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

LVL 26

Expert Comment

ID: 33738118
If you want to configure link aggregation, you need to configure it on your Cisco router then you go to change the load balancing option to IP hash load. Otherwise, you can just choose Route based on the orig...
if link aggregation is not existed.

Other options are: Link status only, Yes, and Yes. For each of the Vlan that you create, highlight and click edit then choose the same options on Nic Teaming tab.

LVL 22

Expert Comment

by:Luciano Patrão
ID: 33738184

lnkevin, all that can be done only with that 3 lines on the console


Author Closing Comment

ID: 33738305
Running thouse commands did it, added the nics and set the teaming/load balancing.
Thank you
LVL 26

Expert Comment

ID: 33738338
lnkevin, all that can be done only with that 3 lines on the console...

I understand that. Just give another option for some one who is not familiar with Linux. I would prefer scripting, too. :)

LVL 22

Expert Comment

by:Luciano Patrão
ID: 33738613

Since is 3 simples lines there is no problem :)

But unfortunately the VMware is changing, and many things will not work the same, even this small lines just to set small settings. In wrong way in my opinion.

Glade to help


Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
2 VGA on VM 3 40
vmware 4 65
PowerCli Script Automating the customization of several VMs 7 25
VMware 6.0 second VCenter question 3 27
In this article, I will show you HOW TO: Suppress Configuration Issues and Warnings Alert displayed in Summary status for ESXi 6.5 after enabling SSH or ESXi Shell.
Is your company's data protection keeping pace with virtualization? Here are 7 dynamic ways to adapt to rapid breakthroughs in technology.
Teach the user how to convert virtaul disk file formats and how to rename virtual machine files on datastores. Open vSphere Web Client: Review VM disk settings: Migrate VM to new datastore with a thick provisioned (lazy zeroed) disk format: Rename a…
Teach the user how to use configure the vCenter Server storage filters Open vSphere Web Client:  Navigate to vCenter Server Advanced Settings: Add the four vCenter Server storage filters: Review the advanced settings: Modify the values of the four v…

895 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

19 Experts available now in Live!

Get 1:1 Help Now