Book Image

VMware NSX Cookbook

By : Bayu Wibowo, Tony Sangha
Book Image

VMware NSX Cookbook

By: Bayu Wibowo, Tony Sangha

Overview of this book

This book begins with a brief introduction to VMware's NSX for vSphere Network Virtualization solutions and how to deploy and configure NSX components and features such as Logical Switching, Logical Routing, layer 2 bridging and the Edge Services Gateway. Moving on to security, the book shows you how to enable micro-segmentation through NSX Distributed Firewall and Identity Firewall and how to do service insertion via network and guest introspection. After covering all the feature configurations for single-site deployment, the focus then shifts to multi-site setups using Cross-vCenter NSX. Next, the book covers management, backing up and restoring, upgrading, and monitoring using built-in NSX features such as Flow Monitoring, Traceflow, Application Rule Manager, and Endpoint Monitoring. Towards the end, you will explore how to leverage VMware NSX REST API using various tools from Python to VMware vRealize Orchestrator.
Table of Contents (19 chapters)
Title Page
Packt Upsell
Foreword
Contributors
Preface
Index

Creating a Universal Logical Switch


A universal logical switch allows layer 2 segments to span across multiple sites and multiple layer 3 boundaries. Like creating a logical switch in a standalone deployment, a universal logical switch when created is tied to a Universal Transport Zone, which defines the span of the universal logical switch.

In this recipe, we will configure three universal logical switches for a three-tier app, as depicted in the following diagram:

Getting ready

To configure a universal logical switch, the following prerequisites must be satisfied:

  • User with NSX Enterprise Administrator or NSX Administrator role
  • NSX Managers in both vCenter domains must be deployed and configured for Cross-vCenter NSX
  • Controller cluster in primary site is deployed and accessible
  • Unicast control plane replication will be used
  • ESXi hosts in either site can communicate with one another from their VTEP interfaces and the 1600-byte MTU has been set on the physical infrastructure
  • Universal Transport Zone...