Q: How do I create a native NIC team in a Windows Server 2012 VM running on Hyper-V?

How to enable a Windows Server 2012 Hyper-V native NIC team by using Windows PowerShell.

John Savill

November 18, 2012

1 Min Read
ITPro Today logo in a gray background | ITPro Today

A: The native NIC teaming capability built into Windows Server 2012 is disabled by default for virtual machine (VM) virtual network adapters. However, it can be enabled very easily via Windows PowerShell by using the Set-VmNetworkAdapter cmdlet on the Hyper-V host and the -AllowTeaming On switch (which essentially allows MAC spoofing). 

To enable for all virtual network adapters for a specific VM, pipe the output from the Get-VMNetworkAdapter command for the VM name to the Set-VmNetworkAdapter command. For example:

Get-VMNetworkAdapter  | Set-VMNetworkAdapter -AllowTeaming On

and

Get-VMNetworkAdapter Scratch2012 | Set-VMNetworkAdapter -AllowTeaming On

This can also be performed as part of the network adapter advanced features in the NIC Teaming section, which the screen shot shows.

NIC Teaming in a VM

About the Author

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like