on a physical server I am able to create a NIC team in windows but when adding this team to a hyperV virtual switch for my VM i get the message that adding a virtual switch to an LBFO team is deprecated.

I am unable to find how to use the "AllowNetLBFOTEAMS’ option with New-VMSwitch

I have tried a few different ways of creating the team but get the same message.

What might i be missing?

9a78a5e6-d29b-49e9-8178-427180a05c34-LBFO.png

11 Spice ups

Even if i am able to create the SET team, i only get a 1gb/s instead of the expected 2 as i have added 2 NICS

See bullet 4 of:

If you follow the web link in the error message it explains that LBFO teams are deprecated and have not had any work done since server 2012 R2 so would recommend using the replacement also on that same link of a SET team

common assumption is that teaming 2x 1 Gbps = 2 Gbps. It does overall but necessarily for a single vm, app , stream. Specifically 1 stream is limited to 1 nic.

it depends on what you are doing and what load balancing method used in the SET, but by default hyper-v will try to balance. to test this initiate 10 individual connections to 10 different hosts and see the total bandwidth output you get - it will be near 2gbps.

Vertical scaling is for individual connections (i.e. 10, 25, 100gbps nic etc)
Horizontal scaling is for multiple connections & multiple machines & resilience (multiple nics).

This is true of vertical vs horizontal scaling for compute in general e.g. also applies to cpu clock speed/cores etc.

2 Spice ups

Powershell must be used to create the vSwitch.

New-VMSwitch -Name "{vSwitch Name}" -NetAdapterName "{NIC Team Name}" -AllowNetLBFOTEAMS $true -AllowManagementOS $true
2 Spice ups

Use SET instead of LBFO.

You will get 2 GBps as soon as at least two virtual machines will start using your virtual switch. You won’t get that bandwidth for a single virtual machine or host. That is not how network teaming works unless your network switch supports such configuration.

If bandwidth is a concern, make sure to implement a dedicated internal switch for data exchange between virtual machines and host https://www.hyper-v.io/several-tips-hints-full-throttle-hyper-v-performance/ .

Thank you so much

This worked for me! Thank you that was hard to find!