What is L2 VPN?
From VMware NSX Administration Guide
With L2 VPN, you can stretch multiple logical networks (both VLAN and VXLAN) across geographical sites. Virtual machines remain on the same subnet when they are moved between sites and their IP addresses do not change.
L2 VPN thus allows enterprises to seamlessly migrate workloads backed by VXLAN or VLAN between physically separated locations. For cloud providers, L2 VPN provides a mechanism to on-board tenants without modifying existing IP addresses for workloads and applications.
Below diagram shows how a VXLAN was extended between sites using L2 VPN
Graphic Thanks to VMware
Lets jump into lab and configure a L2 VPN.
Before deploying/modifying any ESG for L2 VPN connectivity, we need a trunk portgroup on vDS. In my lab I have created a dvportgroup in both site A & B.
L2 VPN Server configuration
To configure a L2 VPN, double click on edge where you want to configure server settings and navigate to Manage > Interfaces and edit the first availble free vNIC.… Read More