How it works...

The high-level process looks pretty simple, the selected vNICs of the VMs will be attached to a logical switch, which is represented as a dvPortGroup. It is similar to attaching a VM to a dvPortGroup. But the NSX and vSphere processes under the hood are as follows:

  1. The NSX Manager sends an API call to the vCenter server to attach the VM to a logical switch.
  2. vCenter pushes the opaque VXLAN configuration to the dvPort. The opaque configuration detail is explained in the Creating NSX Logical Switches recipe under the How it works section earlier in this chapter.
  1. When the VM is powered on and connected to the logical switch, the vdl2 VXLAN kernel module sends a VNI join to netcpa.
The VNI join is only sent once the dvPort ...

Get VMware NSX Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.