# 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="/files/QQ8PbQzGDTI6VM58RT7C" alt=""><figcaption></figcaption></figure>
{% endstep %}

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

<figure><img src="/files/FPovHtCE3iOSQkoaS1zU" alt=""><figcaption></figcaption></figure>

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

<figure><img src="/files/dkVq4Ur9t7W4Lije4Z2D" alt=""><figcaption></figcaption></figure>

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

<figure><img src="/files/kdzNkEU2AWsyQOJsWh0k" alt=""><figcaption></figcaption></figure>

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

<figure><img src="/files/XV9nyMJCiNNtK1Kc3sI4" alt=""><figcaption></figcaption></figure>

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

These networks were created in the preparation phase.

<figure><img src="/files/nEOPXtIlKQLUvoiNdz1q" alt=""><figcaption></figcaption></figure>

* Review and click **FINISH.**

<figure><img src="/files/SS4QXhyu0J3ayq4qjHVj" 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="/files/06NfzQ9G7Yf9FVO4AXOm" alt=""><figcaption></figcaption></figure>

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

<figure><img src="/files/OErLBu4I6Qt2TXvJtRnn" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
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>
```

The question should be specific, self-contained, and written in natural language.
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.
