> 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/create-a-l2-vpn-server-session-hi-gio-site-..md).

# Create a L2 VPN server session (HI GIO site).

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

By using the management interface in the HI GIO cloud site, organization administrators create the server side of the L2 VPN session, enabling the L2 stretch of one or more networks across the on-premises site.

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

{% stepper %}
{% step %}
**Step 1**: Log in to HI GIO Portal

Select **Network** > **Edge Gateways** > VPC name

<figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2F35mGFiUMmWCcSwr2psRs%2Fimage.png?alt=media&amp;token=a77dd79c-5680-4b4e-ac02-93583205bc4c" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Step 2:** Under Services, click **L2 VPN** > **NEW** to *open L2 VPN Tunnel window.*

<figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2F4hZzVZAksK4OgQz9WuXs%2Fimage.png?alt=media&amp;token=fe8c00d2-34e4-4766-aef2-105a30f6dd50" alt=""><figcaption></figcaption></figure>

* On Choose Session Mode, select **Server** > click **Next**.

<figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2FPyrib17F1sRKoCDriAWb%2Fimage.png?alt=media&amp;token=7c7db7cb-acc3-4511-b955-e635db69ce53" alt=""><figcaption></figcaption></figure>

* Enter a name and pre-shared key > **NEXT**

<figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2FqJHCR98uOPAYUz3gtmSv%2Fimage.png?alt=media&amp;token=658e2ad4-eb5f-4755-b3e5-8ef96735b0bf" alt=""><figcaption></figcaption></figure>

* Enter the IP address for the Local IP, remote IP, Initiation Mode > **NEXT**

<figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2FTpb20ROlQjLADGfAJDPl%2Fimage.png?alt=media&amp;token=b0976b7f-90d4-4382-8b66-df653b69f4da" alt=""><figcaption></figcaption></figure>

&#x20;\- Select Networks > **NEXT**&#x20;

These networks were created in the preparation phase.

<figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2F1pKy8dAwlswKsprSiGSH%2Fimage.png?alt=media&amp;token=45d3d049-a320-4d4a-b711-47e0b76412e0" alt=""><figcaption></figcaption></figure>

* Review and click **FINISH.**

<figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2FukG7iDbl2hs9gqFBMfM7%2Fimage.png?alt=media&amp;token=46483691-d42a-4f73-a605-54178608b444" alt=""><figcaption></figcaption></figure>

Waiting some minutes.

Once complete, we can see tunnel **IDs (use it for manual configure on NSX autonomous edge)**

<figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2FwdXm3Zv4FxrZlQhnsD3W%2Fimage.png?alt=media&amp;token=a47a8046-fb68-4e7f-a20a-56bb824e9e4d" alt=""><figcaption></figcaption></figure>

&#x20;And copy Peer code **(use it for manual configure on NSX autonomous edge)**

<figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2FKDvck2hGWvCKhBCSjgaz%2Fimage.png?alt=media&amp;token=e360aecf-36c0-4259-b09d-bf906bdf3663" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}


---

# 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/create-a-l2-vpn-server-session-hi-gio-site-..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.
