Hello everybody,
I have a server with 9 physical nics and esxi 5.5 in it. Only 5 virtual machines are running.
I've configured NIC Teaming with Virtual Port ID balancing. All help documents show each VM will use one different nic until there is no free NIC.
But in my case, 2 VMs use same nic and other 2 VMs use another nic.
Better with images:
As you can see in the last image, the VMs JuanWebMoodle and AlexMoodle use same vmnic6 although they have different port ID. The same occurs with LauraMoodle and ManoloMoodle and vmnic7.
As you can see the order of the active adapters configured doesn't work, VMs should use vmnic1, vmnic2, etc...
I hope anyone can help me. Thank you very much in advance.
Best regards.
Can you remove the network adapter (vmnic3, that was down) from the vswitch 0 and then check again on esxtop?
OK. It's done. Bad news, it remains the same.
Anyway, thank you very much.
as I know the switch port is allocated on the startup of a VM.
So you probably have to shut down and start the vms again to "loadblanace" it...
ok, I have turned VMs off, and start again. Bad news. VMs use a new vmnic, but they repeat it again.
Thank you for trying it.
I want you to try another thing that is just keep only 8 vmnics in team.. remove vmnic8 from teaming and thn try the same..
btw. in the portgroup options you can also define which vmnics he should use...not only in the vswitch options.
Thank you everybody for keep trying it.
But..... bad news. I've removed the last vmnic, that is vmnic9. Now, I have 1 nic for management and 7 nics for VMs. Total 8 nics.
At least the vmnics order seems to work.
Thank you again.
Yes bruno, I know it, but I don't want to force vmnics for each port group. It should works well with one configuration for the whole vswitch.
Thank you.
on this you are right
Not sure but was reading the networking document of VMware and found below:
• Route based on the originating virtual switch port ID — Choose an uplink based on the virtual port where the traffic entered the virtual switch. This is the default configuration and the one most commonly deployed. When you use this setting, traffic from a given virtual Ethernet adapter is consistently sent to the same physical adapter unless there is a failover to another adapter in the NIC team. Replies are received on the same physical adapter as the physical switch learns the port association. This setting provides an even distribution of traffic if the number of virtual Ethernet adapters is greater than the number of physical adapters.
Can you ensure you have virtual Ethernet greater than physical adapters?
Thank you bruno and vickey,
VickeyOrana, I don't understand very well that paragraph, for my english it is a little bit complicated, but I'm going to explain you my NICs.
I have a DELL 2950 server, with ESXi 5.5. The server has 10 RJ45 ports 1000Mbps plus 1 DRAC RJ45 port (remote server management). Total 11 ethernet ports.
One of those 10 ports or nics (they are synonymous, right?) seems to be broken. Therefore only 9 nics work for ESXi.
I installed ESXi 5.5 and it recognized every nic in the server, and vmnics (0-9) appeared.
I configurated Nic teaming creating portgroups (same number than vmnics) to get load balancing. And now, one hour ago, I removed vmnic3 because it was the broken port.
It is supposed that putting each virtual machine in each portgroup I should get load balancing. That is, each virtual machine will use one nic of 1000Mbps. All of this without I configure manually each portgroup with each vmnic.
I don't know if I've get explain it well. I hope it.
Best regards. Thank you very much.
as I said VMWare recomends also to configure it on the portgroup:
There's something quite odd there - the esxtop output shows vmk0 on vmnic0 (on vSwitch0), but the screenshot shows that vmnic0 is unused in vSwitch0.
jwalsh,
I think it's the correct behavior. When I configure vmnic0 only for management network it shows as unused.
Bruno,
I will read the article later. Thank you.
Thanks to everybody.
Bruno,
I've already read the article. It just indicate select "Override vSwitch Failover order" in every portgroup. I've done that, but everything stays the same.
I've just reboot the server, but equal. Now it repeats vmnic5 and 6, and the order does not work, again.
If we don't find anything more, only I can force one nic per virtual machine, manually, but esxi configuration would lose "the automation".
Thank you very much.
Thank you for explaining the scenario:
As per my understanding on the article given in my last post, it says it will distribute the load in case Virtual Ethernet (vnics) is greater than Physical Ethernet (vmnics).
So would recommend you to keep any 4-5 physical NICs in vSwitch and remove remaining NICs, then bounce the VMs Network settings from vCenter and check esxtop again.