Creating and managing virtual switches

Virtual switches are the components on Hyper-V that are responsible for controlling the network traffic between the virtual machine, the host, and the physical network. Their supporting features and advanced management capabilities limit, secure, isolate, protect, and control the way VMs send and receive network data.

The virtual switches available in Windows 2016 Hyper-V come with some interesting features such as private VLANs, bandwidth management, spoofing protection, and other components that we will cover in this recipe.

Before we start with advanced components, you will see the basic switch options, and how to create and add a virtual switch to a virtual machine.

Getting ready

To use the external switches ...

Get Windows Server 2016 Hyper-V Cookbook - Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.