How it works...

In this recipe, we configured and deployed a DLR. The DLR, as mentioned in the introduction, is the first tier of routing for virtual machines connected to logical switches in an NSX-for-vSphere network-virtualization solution and provides optimized east-west traffic flows between virtual machines that are in different subnets. Using the DLR ensures that traffic from virtual machines is not hairpinned to a single network device; instead, routing is performed by every ESXi Hypervisor where the DLR is deployed to.

Each DLR runs in kernel space on the ESXi host, and each logical switch connected to the DLR is represented as a logical interface (LIF). There are two primary LIF types available, which are:

  • Uplink: The uplink LIF ...

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.