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

Leveraging the DFW Applied To field


In the previous Creating DFW rules from the firewall menu recipe, we left the Applied To settings as the default settings (distributed firewall), which applied the DFW rules to all VM's vNICs regardless of VM's location. You may want to change the Applied To settings if you are in one of the following situations:

  • In an environment where you have overlapping IP addresses; normally in multitenant or developer environments
  • When using app isolation in NSX with vRealize Automation (vRA)
  • In a brownfield environment where you want to onboard a specific workload or application
  • In an environment where you want to reduce the scope of DFW rules; this will improve DFW efficiency, as the DFW will have fewer rules to evaluate

Getting ready

Make sure you have an existing DFW rule for which you want to have the Applied To field changed.

How to do it...

This recipe will show you how to change and use the Applied To settings, both from the Firewall Table Menu and from the Service...