Bypass LBFO Teaming deprecation on Hyper-V and Windows Server 2022

Contributor

 

Starting with Windows Server 1903 and 1909, Hyper-V virtual switches on an LBFO-type network adapter cluster are deprecated (see documentation). The technology remains supported, but it will not evolve. It is recommended to c...an aggregate of type SET.

In practice

The SET is a very interesting technology that has some constraints. The interfaces used must have identical characteristics:

 

  • Manufacturer
  • Model
  • Link speed
  • Configuration

     

     

    Even if these constraints do not seem huge, we are very far from the flexibility of LBFO Teaming. As a reminder, this one has absolutely no constraints.

    In practice the SET is recommended with network interfaces of 10Gb or more. Therefore, we are very far from the target of the LBFO (use of all integrated boards with motherboard pro, Home Lab, refurbish).

    If SET cannot be used

    As of Windows Server 2022, it is not possible to use the Hyper-V Management Console to create a virtual switch with LBFO, as it will prompt an error saying that LBFO have been depreciated. However, it is possible to use PowerShell to create this virtual switch.

    First, create the Teaming of your network cards using the Server Manager, in my case the teaming will be with LACP mode and Dynamic load balancing mode.

     

    Then execute the below PowerShell Command to create the virtual switch based on the teaming created in the previous step:

    New-VMSwitch -Name "LAN" -NetAdapterName "LINK-AGGREGATION" -AllowNetLbfoTeams $true -AllowManagementOS $true

    In detail:

     

    • The virtual switch will be named "LAN"
    • The network adapter cluster teaming is named "LINK-AGGREGATION"
    • The aggregate remains usable to access the Hyper-V host.

       

      You will see your network teaming up and running on Hyper-V host.

      Thats it!

0 Replies