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

Extending VMware NSX Logical Switch to Hardware VTEP Gateway


In this recipe, we will show you how to extend VMware NSX logical switch to a hardware VTEP Gateway port. In this example, we will bridge a logical switch called DB-Tier to leaf-01a hardware VTEP gateway on the physical port Eth1/11 on VLAN 203, as shown in the following screenshot:

Getting ready

To configure a hardware VTEP gateway for layer 2 bridging, the following prerequisites need to be met:

  • NSX Manager must be deployed and configured
  • NSX Controllers must be deployed
  • VXLAN must be configured
  • NSX logical switch must be created
  • Hardware switch controller must be added into VMware NSX

Before the hardware port is attached to the relevant logical switch, VXLAN and OVSDB configuration must be completed on the hardware switch.

How to do it...

The following steps will show you how to bridge an existing NSX logical switch to a hardware VTEP gateway:

  1. Navigate to Networking & Security | Logical Switches.
  2. In the center pane, select a logical...