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

Verifying NSX DFW component status


Before working with the distributed firewall, it is important to make sure the DFW module is installed and running properly. In this recipe, we will verify NSX DFW status through the command-line interface from an ESXi host.

Getting ready

Make sure you have SSH access to ESXi hosts that are prepared for NSX, and at least auditor access to NSX.

How to do it...

As explained in Chapter 1, Getting Started with Vmware NSX for vSphere, the installation of NSX VIBs is essential for the DFW to operate. If the DFW VIBs are present, we will then verify if the process managing the DFW is running on the ESXi host.

Verifying Firewall Installation Status

The first obvious thing to check is that the vSphere cluster is prepared for NSX and that the firewall is enabled:

  1. From the vSphere web client, navigate to Home | Networking & Security | Installation | Host Preparation.
  2. In the center pane, expand the selected vSphere cluster and verify that Firewall is Enabled:

Verifying...