Using advanced virtual machine network settings

Creating and adding a virtual switch to a virtual machine is not the end of the story in Windows Server 2016 Hyper-V. Many of the features and settings were introduced in Windows 2012 R2 version; these can be configured using the graphical interface, such as DHCP Guard, Router Guard, Port Mirroring, and other options that require PowerShell such as Port ACLs, for example.

If you think this is not enough, no problem! Hyper-V supports extensible switches, allowing you to write your own code, creating new capabilities for monitoring, forwarding, and filtering virtual switch traffic.

This recipe will cover these advanced networking features and explain how they work.

Getting ready

This recipe shows the advanced ...

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.