Hyper-V Network Virtualization Cookbook
By Ryan Boud
()
About this ebook
Hyper-V Network Virtualization provides the concept of a Virtual Network that is independent of the underlying physical network. Using software-defined networking, you can manage the network address space, isolation, and routing without having to make changes to the physical underlying architecture.
You will start your journey by understanding the fundamentals of Hyper-V Network Virtualization and how to configure System Center 2012 R2 Virtual Machine Manager to support it. You will learn about the Windows Server Gateway role for Hyper-V Virtual Networks and the different implementation options.
Finally, you will see how the Hyper-V Extensible Switch can help protect Virtual Machines by using Hyper-V Extensible Port ACLs.
Related to Hyper-V Network Virtualization Cookbook
Related ebooks
Managing Virtual Infrastructure with Veeam® ONE™ Rating: 0 out of 5 stars0 ratingsDisaster Recovery Using VMware vSphere Replication and vCenter Site Recovery Manager Rating: 0 out of 5 stars0 ratingsInstant Migration from Windows Server 2008 and 2008 R2 to 2012 How-to Rating: 0 out of 5 stars0 ratingsPro Exchange 2019 and 2016 Administration: For Exchange On-Premises and Office 365 Rating: 0 out of 5 stars0 ratingsGetting Started with Red Hat Enterprise Virtualization Rating: 0 out of 5 stars0 ratingsBuilding VMware Software-Defined Data Centers Rating: 0 out of 5 stars0 ratingsMicrosoft DirectAccess Best Practices and Troubleshooting Rating: 5 out of 5 stars5/5Microsoft Exchange Server 2013 High Availability Rating: 0 out of 5 stars0 ratingsImplementing NetScaler VPX™ - Second Edition Rating: 0 out of 5 stars0 ratingsMicrosoft Azure IaaS Essentials Rating: 4 out of 5 stars4/5Microsoft Application Virtualization Cookbook Rating: 0 out of 5 stars0 ratingsPractical OneOps Rating: 0 out of 5 stars0 ratingsHybrid Cloud Management with Red Hat CloudForms Rating: 0 out of 5 stars0 ratingsVMware View Security Essentials Rating: 0 out of 5 stars0 ratingsVMware vSphere Design Essentials Rating: 0 out of 5 stars0 ratingsMastering Cloud Development using Microsoft Azure Rating: 0 out of 5 stars0 ratingsHyper-V 2016 Best Practices Rating: 0 out of 5 stars0 ratingsCitrix® XenApp® 7.x Performance Essentials Rating: 0 out of 5 stars0 ratingsLearning VMware App Volumes Rating: 0 out of 5 stars0 ratingsGetting Started with Citrix XenApp 6.5 Rating: 0 out of 5 stars0 ratingsVMware vSphere Security Cookbook Rating: 0 out of 5 stars0 ratingsDeploying Citrix MetaFrame Presentation Server 3.0 with Windows Server 2003 Terminal Services Rating: 0 out of 5 stars0 ratingsCloud Computing… Commoditizing It: The Imperative Venture for Every Enterprise Rating: 0 out of 5 stars0 ratingsLeast Privilege Security for Windows 7, Vista and XP Rating: 0 out of 5 stars0 ratingsMigration of Network Infrastructure: Project Management Experience Rating: 0 out of 5 stars0 ratingsPro SQL Server 2019 Administration: A Guide for the Modern DBA Rating: 0 out of 5 stars0 ratingsIT Infrastructure Monitoring Tools A Complete Guide - 2021 Edition Rating: 0 out of 5 stars0 ratingsOn Premises Virtual Machines A Complete Guide - 2021 Edition Rating: 0 out of 5 stars0 ratingsMicrosoft Windows 7 Administrator's Reference: Upgrading, Deploying, Managing, and Securing Windows 7 Rating: 5 out of 5 stars5/5
System Administration For You
ConfigMgr - An Administrator's Guide to Deploying Applications using PowerShell Rating: 5 out of 5 stars5/5Linux Command-Line Tips & Tricks Rating: 0 out of 5 stars0 ratingsLinux Bible Rating: 0 out of 5 stars0 ratingsLearn Windows PowerShell in a Month of Lunches Rating: 0 out of 5 stars0 ratingsLinux: Learn in 24 Hours Rating: 5 out of 5 stars5/5Learn Cisco Network Administration in a Month of Lunches Rating: 0 out of 5 stars0 ratingsMastering Microsoft Endpoint Manager Rating: 0 out of 5 stars0 ratingsPractical Data Analysis Rating: 4 out of 5 stars4/5Learn PowerShell in a Month of Lunches, Fourth Edition: Covers Windows, Linux, and macOS Rating: 0 out of 5 stars0 ratingsCompTIA A+ Complete Review Guide: Core 1 Exam 220-1101 and Core 2 Exam 220-1102 Rating: 5 out of 5 stars5/5Improve your skills with Google Sheets: Professional training Rating: 0 out of 5 stars0 ratingsCybersecurity: The Beginner's Guide: A comprehensive guide to getting started in cybersecurity Rating: 5 out of 5 stars5/5Wordpress 2023 A Beginners Guide : Design Your Own Website With WordPress 2023 Rating: 0 out of 5 stars0 ratingsLearn PowerShell Scripting in a Month of Lunches Rating: 0 out of 5 stars0 ratingsLearning Linux Shell Scripting Rating: 4 out of 5 stars4/5Mastering Bash Rating: 5 out of 5 stars5/5Operating Systems DeMYSTiFieD Rating: 0 out of 5 stars0 ratingsWeb Penetration Testing with Kali Linux Rating: 5 out of 5 stars5/5Summary of Lights Out: by Ted Koppel | Includes Analysis Rating: 0 out of 5 stars0 ratingsNetworking for System Administrators: IT Mastery, #5 Rating: 5 out of 5 stars5/5Mastering Windows PowerShell Scripting Rating: 4 out of 5 stars4/5Learn SQL Server Administration in a Month of Lunches Rating: 0 out of 5 stars0 ratingsWork with the Command-line: To Manage Files and Directories in Ubuntu Rating: 5 out of 5 stars5/5PowerShell: A Beginner's Guide to Windows PowerShell Rating: 4 out of 5 stars4/5
Reviews for Hyper-V Network Virtualization Cookbook
0 ratings0 reviews
Book preview
Hyper-V Network Virtualization Cookbook - Ryan Boud
Table of Contents
Hyper-V Network Virtualization Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Instant updates on new Packt books
Preface
What this book covers
What you need for this book
Hardware requirements
Software requirements
Who this book is for
Sections
Getting ready
How to do it…
How it works…
There's more…
See also
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Installing Virtual Machine Manager
Introduction
Deploying the required service accounts
Getting ready
How to do it…
How it works…
Creating the distributed key management container in Active Directory
Getting ready
How to do it…
How it works…
Installing Virtual Machine Manager on a single server
Getting ready
How to do it…
.NET Framework
Microsoft Windows Assessment and Deployment Kit
SQL Server 2012
VMM installation
How it works…
Installing a highly available Virtual Machine Manager server
Getting ready
How to do it…
SQL Server
VMM Management Server
Installing of the first cluster node
SQL Server tasks
Adding SVC_VMMSrvc SQL Login to the other SQL Server node
Altering the recovery model of the VirtualManagerDB database to Full
Creating a full backup of VirtualManagerDB
Adding VirtualManagerDB to AlwaysOn High Availability Group
Removing TmpVMMDB from AlwaysOn High Availability Group
Installing the second node
VMM Library Server
Adding a VMM Run As account for the SVC_VMMAgntRA account
Adding Cluster to VMM
How it works…
2. Configuring Networks for Hyper-V Network Virtualization
Introduction
Creating the required Logical Networks in Virtual Machine Manager
Getting ready
How to do it…
How it works…
Creating the required Port Profiles in Virtual Machine Manager
Getting ready
How to do it…
How it works…
Creating and assigning Logical Switches to Hyper-V hosts
Getting ready
How to do it…
How it works…
There's more…
Creating the Virtual Machine Networks for Tenants
Getting ready
How to do it…
How it works…
Testing the basic Virtual Machine Networks
Getting ready
How to do it…
How it works…
3. Creating the Gateway for Virtual Machine Communications
Introduction
Creating a Logical Network, Port Profiles, and Logical Switches for external access
Getting ready
How to do it…
Creating a Logical Network
Creating Uplink Port Profiles
Creating Logical Switches
How it works…
Creating a Hyper-V Network Virtualization gateway manually
Getting ready
How to do it…
How it works…
Creating a Hyper-V Network Virtualization gateway with a Service Template
Getting ready
How to do it…
How it works…
There's more…
4. IP Address Management Integration with VMM for Hyper-V Network Virtualization
Introduction
Installing IPAM in Windows Server 2012 R2
Getting ready
How to do it…
How it works…
Integrating IPAM into VMM
Getting ready
How to do it…
How it works…
Using IPAM data for reporting
Getting ready
How to do it…
How it works…
5. Windows Server Gateway Configuration
Introduction
Network Address Translation with the gateway
Getting ready
How to do it…
How it works…
Direct Routing and how it is different from NAT
Getting ready
How to do it…
How it works…
6. Implementing Network Isolation in Hyper-V
Introduction
Understanding VLANs in Hyper-V and VMM, including the PowerShell cmdlets
Getting ready
How to do it…
How it works…
Understanding Private VLANs in Hyper-V and VMM, including the PowerShell cmdlets
Getting ready
How to do it…
Promiscuous and Isolated
Promiscuous and Community
Promiscuous, Community, and Isolated
How it works…
7. Network Access Control Lists
Introduction
Locking down a VM for security access
Getting ready
How to do it...
How it works...
Applying rules to a list of VMs
Getting ready
How to do it...
How it works...
The Add-MultipleVMNetworkAdapterExtendedAcl.ps1 script
A. VM Templates
Configuration
Sysprep
B. Planning the Virtual Machine Manager
Preparing
How to plan the Virtual Machine Manager
Index
Hyper-V Network Virtualization Cookbook
Hyper-V Network Virtualization Cookbook
Copyright © 2014 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
First published: November 2014
Production reference: 1221114
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham B3 2PB, UK.
ISBN 978-1-78217-780-7
www.packtpub.com
Credits
Author
Ryan Boud
Reviewers
Niklas Akerlund
Markus Darda
James Preston
Lai Yoong Seng
Acquisition Editor
James Jones
Content Development Editor
Sumeet Sawant
Technical Editors
Madhuri Das
Rohit Kumar Singh
Copy Editors
Roshni Banerjee
Merilyn Pereira
Project Coordinator
Aboli Ambardekar
Proofreaders
Simran Bhogal
Maria Gould
Steve Maguire
Indexer
Mariammal Chettiyar
Graphics
Abhinash Sahu
Production Coordinator
Arvindkumar Gupta
Cover Work
Arvindkumar Gupta
About the Author
Ryan Boud has been working in the IT field since 1998 when he started working part-time on a service desk while studying at Goldsmiths College, University of London. After graduating, he worked his way up to manage the customer IT service desk. He then moved into IT management and development, creating internal applications and middleware for third-party applications. Recently, Ryan moved to Inframon, The Cloud Transformation Specialists, as a System Center and Desktop Implementation Consultant. He has worked on numerous different implementations of Microsoft Windows Server 2012 R2 Hyper-V and System Center 2012 R2 for a variety of customers in the public and private sectors.
I would like to thank James, Sumeet, and others at Packt Publishing for all their assistance in writing this book. Additionally, I would like to thank the technical reviewers for their fantastic feedback and guidance.
I would especially like to thank Gordon and Sean at Inframon whose belief in me has encouraged me to take this opportunity to write a book, which has always been on my list of career goals.
My final thanks go to my wife, Sarah, who has always believed in me and has helped keep our children busy while I was writing this book! Additionally, I would like to thank her for all her support; without her, I wouldn't be able to do the job I love doing and have wanted to do for so long.
About the Reviewers
Niklas Akerlund works as Chief Technical Architect - Microsoft Solutions at a consultancy firm in Sweden. He has extensive experience in design and adoption of hybrid cloud solutions with Hyper-V, Azure, Office 365, and EMS. He also works on the design, implementation, and upgrading of private clouds using MS Hyper-V 2012 R2 with System Center for customers with a strong focus on automation.
He often writes posts about virtualization and automation on his blog, http://vniklas.djungeln.se/; you can follow him on twitter at http://twitter.com/vniklas.
Niklas is the cofounder of PowerShell User Group Sweden; he has also been awarded Hyper-V MVP for his contributions to and love for sharing technology with other IT professionals.
Markus Darda is the owner of MD Consultancy, Germany, and DaComp GmbH, Switzerland. As senior Citrix engineer and architect, he works for Enterprise customers all over Europe to design and implement Citrix (XenApp and XenDesktop) environments based on different Hypervisors. As a Citrix and Microsoft trainer, he teaches about Microsoft Server Products and Citrix Products to customers all over Europe. He also works for Citrix as a Subject Matter Expert (SME) in different courseware and exams.
He has worked for Lanxess, Germany; T-Systems, Germany; Koenen en Co, the Netherlands; and other companies in Switzerland, Sweden, and Norway.
He has also worked on Citrix XenApp ® 7.5 Desktop Virtualization Solutions, Packt Publishing, and other different courseware from Citrix.
James Preston is an IT professional working in the education field and has a broad range of interests, including Virtualization with Hyper-V and App-V, data-orientated application design with Visual Studio Lightswitch, IP telephony, and Remote Access technologies.
To share his knowledge, James runs a blog (http://myworldofit.net/) that covers a wide range of the most recent topics, including publishing a WebDAV server, the effective integration of student databases with virtual learning environments, and his take on an enterprise Wi-Fi deployment.
When he isn't working, he can be found in the local coffee shop having a go at the latest computer games or planning the training program for his local air cadet squadron.
Lai Yoong Seng is a Microsoft Most Valuable Professional (MVP) in Hyper-V since 2010. He has more than 14 years of IT experience and he joined Hyper-V and System Center Specialist Infront Consulting in Malaysia. He started off by specializing in Microsoft Virtualization, and then started blogging (www.ms4u.info) and presenting at local and regional events. He is the founder of Malaysia Virtualization User Group (MVUG), which is a one-stop center for people to learn about Hyper-V, System Center, and Azure.
Previously, he was actively engaged as Technology Early Adopter (TAP) and Tester of System Center Virtual Machine Manager 2012, System Center 2012 SP1, Windows Server 2012 R2 and System Center 2012 R2, and Azure Site Recovery.
Then, he was a technical reviewer for the book Windows Server 2012 Hyper-V: Deploying Hyper-V Enterprise Server Virtualization Platform and the video Building and Managing a Virtual Environment with Hyper-V Server 2012 R2, both by Packt Publishing.
Reviewing a book takes a lot of effort and is a difficult process. It would not be possible without help from my family, colleagues, and friends. I would like to thank my parents for their understanding, patience, and help to keep all the other stuff together while I was reviewing the a book. In addition, a very special thanks to Packt Publishing for an opportunity to contribute to this book.
www.PacktPub.com
Support files, eBooks, discount offers, and more
For support files and downloads related to your book, please visit www.PacktPub.com.
Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.PacktPub.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at
At www.PacktPub.com, you can also read a collection of free technical articles, sign up for a range of free newsletters and receive exclusive discounts and offers on Packt books and eBooks.
https://www2.packtpub.com/books/subscription/packtlib
Do you need instant solutions to your IT questions? PacktLib