NIC Teaming on Hyper-V in Microsoft Windows Server 2012 R2

NIC TEAMING ON

HYPER-V ON

WINDOWS SERVER 2012

Chuong K. Nguyen Enterprise Administrator

BSc., MCSEx2, MCSAx2, MCP, MCTS, CCNA, MCITP

We will configure NIC Teaming on Hyper-V using two physical NICs to provide higher availability for the VMs.

We need one single server with 2 NICs.

On the server, use this command to open network connections:

                  ncpa.cpl

Ensure that you have LAN1 and LAN2 present.

Open Server Manager. Choose Hyper-V, right-click on the Hyper-V server. Then choose Configure NIC Teaming.

In the Teams pane, choose tasks, create New Team.

Name the team MyTeam. Choose LAN1 and LAN2. Choose Additional Properties. In the Load Balancing Mode, choose Hyper-V Port and click OK.

Now the team has been created with the 2 NIC cards being Active.

Right-click on the team and choose Properties.

Click the General and Team interface tabs to see its properties.

Use ncpa.cpl, right-click on MyTeam and choose Properties.

High-light Microsoft Network Adapter Multiplexor Protocol.

Next we need to create a Virtual Switch for Hyper-V.

Open Hyper-V, choose Virtual Switch Manager.

Choose New Virtual Network Switch. Choose External. Click Create Virtual Switch.

Name the Switch TeamSwitch.

In the External Network dropdown list, choose Microsoft Network Adapter Multiplexor Driver. Click OK.

Use ncpa.cpl to open Network connections again. Take a look at a new connection called vEthernet (Teaming Network).

Next, we need to configure TCP/IP for a VM. Right-click on a VM, choose settings.

Choose Network Adapter. In the Virtual Switch box, choose Team Network. Choose Apply.

Under Network Adapter, choose Advanced Features.

Checkmark on “Enable this network adapter to be part of a team in the guest operating system” Click Apply.

Now we can test. Start the VM that you just configured.

Check the TCP/IP for the machine.

Use ping –t 10.0.0.1 to test.

Back to the Host Hyper-V server, disable LAN2.

Back to the VM, the ping is still running.

Back to the Host Hyper-V server, enable LAN2. Disable LAN1.

Back to the VM, ensure that the ping is still running.