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

Testing an NSX Logical Switch


In the previous recipes, we demonstrated how to configure VXLAN, create a logical switch, and connect a VM to a logical switch. But we have not covered how to test the VXLAN logical switch connectivity. In this recipe, you will learn how to test and validate the NSX logical switch connectivity.

Getting ready

You will need to have at least an NSX logical switch created before we can test. VM is not mandatory; you can test a NSX logical switch even without a VM attached to it. The NSX plugin in the vSphere web client can perform a logical switch ping and the broadcast test.

How to do it...

There are two tests that can be performed against a logical switch. They are the ping test and broadcast test.

Ping

Follow these steps to perform a ping test on a logical switch:

  1. Navigate to Networking & Security | Logical Switches.
  2. In the center pane, double-click the applicable logical switch name. In this example, we will select Transit_Network_01 logical switch.
  1. Navigate to Monitor...