Introduction
Two weeks ago on Twitter, Ryan Boud who is a senior cloud consultant working for Inframon, asked me if I would be interested in reviewing his book on Hyper-V Network Virtualization (HNV). Sometimes things can go very quickly. About one minute after his tweet, I confirmed my interest, not knowing this was in fact a book published by Packt.
As a side note, I’m personally not very fond of this publisher after a bad experience with them in their rather aggressive approach to candidate writers and quickly learnt they don’t pay very well for the vast amount of work authors put into their writings. As a technical editor for several books by Aidan Finn et al., and having contributed to a book called Microsoft Private Cloud Computing, I had gotten used to being paid for my work. Packt does not pay a cent to technical editors or reviewers, so that’s why I had previously declined my participation on another book.
Review
But as you can see in the tweets above, I had already accepted the review and quickly received an email from Packt, offering me a log in account to their site and a free download of Ryan Boud’s book in pdf, epub, and mobi formats. So I decided to download the PDF and see what this book had in store. Of course I’m interested in anything written on Hyper-V Network Virtualization as it directly relates to the many CloudOS, System Center and Azure Pack projects I am involved in with different service providers and enterprises in Europe.
Hyper-V Network Virtualization was in fact introduced in Windows Server 2012 but was not very useful without a NVGRE gateway. We had to wait until Windows Server 2012 R2 and VMM 2012 R2 came out with all the necessary ingredients to let this baby live in the real world. Microsoft had decided to make an in-box gateway available, which could be implemented on a dedicated Hyper-V server or preferably an HNV cluster. By deploying a VMM Service Template, a single or high available NVGRE Gateway guest cluster could be deployed and managed through VMM.
So with my genuine interest in the subject, I read through the book at a very fast pace because it was very familiar material. My conclusion is that Ryan Boud did a very good job at providing a very straightforward cookbook on how to install and configure Hyper-V network virtualization. The first chapter describes how to properly set up VMM 2012 R2 as notably the logical network design, including describing port profiles, uplink profiles as a preparation for creating a logical switch that both supports the infrastructure networks for the Hyper-V cluster, as well as the tenant network configured for network virtualization.
Ryan Boud includes a couple of very good design diagrams and PowerShell scripts to get you up-and-running very quickly. Without offering too much theory or explanation, the book starts describing all the pre-requisites and steps to set up Virtual Machine Manager. There is a good amount of print screens in the book explaining some of the steps, but most of it reads as a recipe, providing a step-by-step guide to install and configure the relevant parts for network virtualization.
[image not preserved in the archive]
When showing how tenant VMs use the overlay network based on NVGRE, Ryan does not talk about the typical scenario with Windows Azure Pack, where they’d connect to a portal similar to Azure for deploying VMs and using network virtualization under the hood. In stead VMs are created from within VMM directly and attached to already prepared tenant networks and set up for network virtualization. The author in fact proves that network isolation between tenant VMs is working properly.
After having dealt with VMM and the networks required for HNV, the book continues how to create the NVGRE Gateway. First manually and then via the VMM Service Template offered via the Web Platform Installer. All the steps are there to make this easily repeatable in your own environment, provided you have access to all the basic ingredients. You cannot test this with just one Hyper-V host as the Hyper-V Network Virtualization host needs to be a separate machine and marked for HNV in VMM. So when you want to not only read the book, but also bring it into practice, you need at least two hosts and even more if you want to test high availability.
A nice surprise was the chapter on IP Address Management (IPAM) as this is a Microsoft product that is not often used, primarily because it hasn’t had much attention. Ryan Baud gives it a good place in his book as it is relevant to better understanding how the networks are set up and utilized.
The following chapter describes how to configure the Windows Server Gateway in both a NAT and a direct routing configuration. I actually missed the configuration for Site-to-Site VPN scenario’s, but then I realized that is only configurable from the Azure Pack portals. The same applies to tenant self-service NAT rule configuration. The book describes how to set NAT rules and direct routing from within VMM.
The one but last chapter talks about alternative methods for network isolation, both showing steps for configuring VLANs and Private VLANs. There is a very good diagram in this chapter explaining the different PVLAN types and rightly addresses the case that VMM only supports isolated PVLANs.
![]()
In the final chapter a good instruction is given on how to use and configure network Access Control Lists (ACLs), including some impressive PowerShell scripts.
The appendix further details how the VM Templates were set up in VMM and how to plan a VMM environment for proper use of Hyper-V Network Virtualization.
As you may deduce from my review, I enjoyed reading it and could imagine a novice reader getting quickly up-to-speed with this Hyper-V Network Virtualization Cookbook. Ryan Baud did a great job of making a complex subject easy to understand. Perhaps this lowers the threshold for actually implementing network virtualization technology.
If I have made you curious and hopefully I did, go to the publisher’s website and order the book here.
Network Controller in vNext
We’ll certainly hear of even more sophisticated ways of deploying network virtualization and several other network technologies, when the next release of Windows becomes available. The Network Controller will be a standard Windows Role and has unprecedented network functionality including a software load balancer, GRE gateway, distributed virtual network firewall, HNV forwarding L2/L3 GW, S2S gateway, VPN, Route reflector (with BGP) and supporting software chaining supporting 3rd party network appliances (which often run a Linux distribution).
[image not preserved in the archive]
See TechEd Europe 2014 presentation by Abhishek Tiwari on Virtual Network Functions in the Next Release of Windows Server (CDP-B223) which can be downloaded from Channel 9.
Other Sources
Finally here are a few sources for Hyper-V network virtualization:
- Hybrid Cloud with NVGRE (Cloud OS)
- Windows Azure Pack Wiki – section Hyper-V Network Virtualization Gateway
- Windows Azure Pack Wiki – section Hyper-V Network Virtualization
If you need a good theoretical background on HNV and NVGRE, the chapters on Advanced Networking and Cloud Computing written by Damian Flynn in Windows Server 2012 Hyper-V Installation and Configuration Guide are still a very good source with 5-star rating.
