Virtual Switches in Windows Server 2016 Hyper-V

With coming nearer to the release of Windows Server 2016, more and more details about he final server are revealed.

Today I want you give a short list about the switches which will be part of Hyper-V in Windows Server 2016.

“Classical” Switches

Switchtype Discription Source
Private Switch The private switch allows communications among the virtual machines on the host and nothing else. Even the management operating system is not allowed to participate. This switch is purely logical and does not use any physical adapter in any way. “Private” in this sense is not related to private IP addressing. You can mentally think of this as a switch that has no ability to uplink to other switches. http://www.altaro.com/hyper-v/the-hyper-v-virtual-switch-explained-part-1/
Internal Switch The internal switch is similar to the private switch with one exception: the management operating system can have a virtual adapter on this type of switch and communicate with any virtual machines that also have virtual adapters on the switch. This switch also does not have any matching to a physical adapter and therefore also cannot uplink to another switch. http://www.altaro.com/hyper-v/the-hyper-v-virtual-switch-explained-part-1/
External This switch type must be connected to a physical adapter. It allows communications between the physical network and the management operating system and virtual machines. Do not confuse this switch type with public IP addressing schemes or let its name suggest that it needs to be connected to a public-facing connection. You can use the same private IP address range for the adapters on an external virtual switch that you’re using on the physical network it’s attached to. http://www.altaro.com/hyper-v/the-hyper-v-virtual-switch-explained-part-1/

New Switches available in Windows Server 2016

Switchtype Discription Source
Externals Switch with SET SET (Switch embedded Teaming) is an alternative NIC Teaming solution that you can use in environments that include Hyper-V and the Software Defined Networking (SDN) stack in Windows Server 2016 Technical Preview. SET integrates some NIC Teaming functionality into the Hyper-V Virtual Switch.SET allows you to group between one and eight physical Ethernet network adapters into one or more software-based virtual network adapters. These virtual network adapters provide fast performance and fault tolerance in the event of a network adapter failure. SET member network adapters must all be installed in the same physical Hyper-V host to be placed in a team. https://technet.microsoft.com/en-US/library/mt403349.aspx#bkmk_sswitchembedded
NAT Mode Switch With the latest releases of the Windows 10 and Windows Server 2016 Technical Preview 4, Microsoft included a new VM Switch Type called NAT, which allows Virtual Machines to have a Internal Network and connect to the external world and internet using NAT. http://www.thomasmaurer.ch/2015/11/hyper-v-virtual-switch-using-nat-configuration/

Virtual Switches in System Center Virtual Machine Manager

Switchtype Discription
Standard Switch A Standard Switch is basicly a Hyper-V Switch shown in virtual machine manager. From the management and feature perspective there are no differences.
Logical Switch A Logical Switch includes Virtual Switch Extensions, Uplink Port Profiles which define the physical network adapters used by the Hyper-V Virtual Switch for example for teaming and the Virtual Adapter Port Profiles mapped to Port Classifications which are the settings for the Virtual Network Adapters of the virtual machines.

Not really a switch but part of the Hyper-V networking stack and currently necessary in multi tenant scenarios.

Type Discription Source
Multi Tenant Gateway In Windows Server 2012 R2, the Remote Access server role includes the Routing and Remote Access Service (RRAS) role service. RRAS is integrated with Hyper-V Network Virtualization, and is able to route network traffic effectively in circumstances where there are many different customers – or tenants – who have isolated virtual networks in the same datacenter.Multi-tenancy is the ability of a cloud infrastructure to support the virtual machine workloads of multiple tenants, but isolate them from each other, while all of the workloads run on the same infrastructure. The multiple workloads of an individual tenant can interconnect and be managed remotely, but these systems do not interconnect with the workloads of other tenants, nor can other tenants remotely manage them. https://technet.microsoft.com/en-us/library/dn641937.aspx

How to fix non compliant NICs with no logical network connectivity in VMM

Hi everybody,

today again a blogpost out of my heading “I need to remind my self because I love to forget this”.

I want to show you how you need to configure Network Adapters which are not used in a virtual switch for Hyper-V. That network adapters could be used for example with Storage like iSCSI, SMB3 or other things.

At first you will get a warning from Virtual Machine Manager that your host is not compliant.

2015-10-09_17-37-52

Like you see in my example below.

2015-10-09_12-15-23

 

Now there are two options to get the NICs compliant. The first way, which we don’t want to use with Storage Adapters is, to move them into a virtual switch.

The second one, which I prefer when working with storage adapter, is ti define the connection within the hardware profile of the server. For that you go into the properties of your Hyper-V Hosts in VMM and select hardware. Scroll down until you reached the network adapter you want to configure. Now you should see the logical network connectivity.

2015-10-09_17-39-46

There you check the logical networks, your host has connection with and press ok.

2015-10-09_12-16-44

So that’s all. Now your Networkadapter is shown as compliant in VMM.

2015-10-09_17-38-42

Poor network performance in VM when creating a virtual switch and using broadcom NIC with Windows Server 2012

This issue is resolved please read post: http://datacenter-flo.de/?p=2050

 

Some customers reported me about performance issue with virtual machines running on Hyper-V V3 (Windows Server 2012) after creating a switch.

Together with colleagues we found out that the issue only appears with Broadcom network interface cards.

We saw that the issue is related by “Virtual Machine Queues” enabled on the networkadapter.

If you are facing this issue, please try to disable “Virtual Machine Queues” first on the virtual NIC in your VM. If this doesn’t resolve your issue, please disable “Virtual Machine Queues” also on the physical NIC of your server.

The issue should be fixed with a Broadcom firmware and driver update for the NIC.

You can do this in the Adapter Properties of the Network Interface Card.

Adapter Properties in BASC

Adapter Properties in BASC

Adapter Properties of a NIC

Adapter Properties of a NIC