> For the complete documentation index, see [llms.txt](https://docs.higiocloud.vn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.higiocloud.vn/hi-gio-draas/stretching-layer-2-networks-for-hi-gios-draas.md).

# Stretching layer 2 networks for HI GIO's DRaaS

## <mark style="color:green;">Overview</mark> <a href="#overview" id="overview"></a>

During on-premises to the cloud migrations, stretch the on-premises networks across the HI GIO cloud site to allow network connectivity between already migrated and not yet migrated virtual machines in the same network segment.

Layer 2 VPN (L2 VPN) stretches the L2 networks across the sites.

## <mark style="color:green;">**Procedure**</mark> <a href="#procedure" id="procedure"></a>

1. **Prerequisites:** [**deployed VMware Cloud Director Availability On-premises Appliance**](https://higio-support.atlassian.net/wiki/spaces/v2/pages/69992561/Stretching+layer+2+networks+for+HI+GIO+s+DRaaS.)

{% hint style="info" %}
On-premises VMs must connect to VLAN-backed networks **configured** **on** **Distributed Switches**

(Standard Switch is **NOT** supported).
{% endhint %}

2. **Procedure:** To complete the L2 stretch, we follow the steps:

* [Preparing the configure:](/hi-gio-draas/stretching-layer-2-networks-for-hi-gios-draas/preparing-the-configure.md)

&#x20;      **On-premises Site:** fulfill VLAN, IP address, port groups, and Public IP.

&#x20;      **HI GIO site:** Public IP, networks.

* [Deploy NSX Autonomous Edge (on-premises site)](/hi-gio-draas/stretching-layer-2-networks-for-hi-gios-draas/deploy-nsx-autonomous-edge-on-premises-site.md)
* [Register & configure the Networks of the NSX Autonomous Edge On-Premises](/hi-gio-draas/stretching-layer-2-networks-for-hi-gios-draas/register-and-configure-the-networks-of-the-nsx-autonomous-edge-on-premises.md)
* [Create a L2 VPN - Server session (HI GIO cloud site).](/hi-gio-draas/stretching-layer-2-networks-for-hi-gios-draas/create-a-l2-vpn-server-session-hi-gio-site-..md)
* [Create a L2 VPN - Client session (on-premises site).](/hi-gio-draas/stretching-layer-2-networks-for-hi-gios-draas/create-a-l2-vpn-client-session-on-premises-site.md)

## **Guidelines** <a href="#guidelines" id="guidelines"></a>

* [Preparing the configure](/hi-gio-draas/stretching-layer-2-networks-for-hi-gios-draas/preparing-the-configure.md)
* [Deploy NSX Autonomous Edge (on-premises site)](/hi-gio-draas/stretching-layer-2-networks-for-hi-gios-draas/deploy-nsx-autonomous-edge-on-premises-site.md)
* [Register & configure the Networks of the NSX Autonomous Edge On-Premises](/hi-gio-draas/stretching-layer-2-networks-for-hi-gios-draas/register-and-configure-the-networks-of-the-nsx-autonomous-edge-on-premises.md)
* [Create a L2 VPN server session (HI GIO site).](/hi-gio-draas/stretching-layer-2-networks-for-hi-gios-draas/create-a-l2-vpn-server-session-hi-gio-site-..md)
* [Create a L2 VPN - Client session (on-premises site).](/hi-gio-draas/stretching-layer-2-networks-for-hi-gios-draas/create-a-l2-vpn-client-session-on-premises-site.md)
* [(Optional) Deploy the secondary NSX Autonomous Edge in HA mode (on-premises site)](/hi-gio-draas/stretching-layer-2-networks-for-hi-gios-draas/optional-deploy-the-secondary-nsx-autonomous-edge-in-ha-mode-on-premises-site.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.higiocloud.vn/hi-gio-draas/stretching-layer-2-networks-for-hi-gios-draas.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
