On-premises stretching layer 2 networks to
the Cloud Director siteLast Updated January 17, 2025
To prepare the on-premise site for L2 stretch from the Cloud Director site, first
deploy
NSX Autonomous
Edge
, then register it and
configure its network adapters by using the On-Premises to Cloud
Director Replication Appliance
. To complete the L2
stretch, in the cloud site, depending on the NSX
version create the server L2 VPN session and then create the client
L2 VPN session on-premises.Verify that the
prerequisites for
NSX
and for VMware Cloud Director
in the cloud site are met and that
you follow the steps in the procedure below in the correct order.- For information about the L2 stretch, see Stretching layer 2 networks in the Cloud Director site.
- For the prerequisites forNSXin the cloud site, see Create a server L2 VPN session with NSX in the Cloud Director site.
- For the prerequisites forNSXData Center forvSpherein the cloud site, see Create a server L2 VPN session with NSX Data Center for vSphere in the Cloud Director site.
Procedure Overview
Before stretching the L2 networks, ensure
that you follow the procedure in the correct order:
- Initially, prepare the on-premises site for L2 VPN withNSX Autonomous Edge:This on-premises procedure only applies for on-premises sites not managed byNSX. IfNSXmanages the on-premises site, skip this on-premises section and its subsections and to create a client L2 VPN session and an L2 stretch follow theNSXdocumentation.
- To allow for an L2 stretch on-premises, first deploy anNSX Autonomous Edgeappliance. For more information, see Deploy an NSX Autonomous Edge appliance on-premises.
- After deployingNSX Autonomous Edgeon-premises, register the newly deployedNSX Autonomous Edgeby using theOn-Premises to Cloud Director Replication Appliance. For more information, see Register the NSX Autonomous Edge on-premises.
- After registering theNSX Autonomous Edge, configure its network adapters by using theOn-Premises to Cloud Director Replication Appliance. For more information, see Configure the networks of the NSX Autonomous Edge on-premises.
- Complete the L2 stretch from on-premises to the cloud site by creating the server and the client VPN sessions:
- After configuring theNSX Autonomous Edgeon-premises, in the cloud site use its IP address when creating the server L2 VPN session. Depending on theNSXversion in the cloud site, follow the correct procedure:
- When usingNSXin the cloud site, see Create a server L2 VPN session with NSX in the Cloud Director site.
- When usingNSXData Center forvSpherein the cloud site, see Create a server L2 VPN session with NSX Data Center for vSphere in the Cloud Director site.
- Finally, complete the L2 stretch by using theOn-Premises to Cloud Director Replication Appliance. For more information, see Create a client L2 VPN session on-premises.