> 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-user-guide-vn/hi-gio-draas/stretching-layer-2-networks-cho-hi-gios-draas/tao-l2-vpn-server-session-hi-gio-site-..md).

# Tạo L2 VPN server session (HI GIO site).

## <mark style="color:green;">**Tổng quan**</mark> <a href="#overview" id="overview"></a>

Bằng cách sử dụng giao diện quản lý trên site đám mây HI GIO, organization administrators tạo server-side của L2 VPN session, cho phép L2 stretch của một hoặc nhiều mạng trên site on-premises

## <mark style="color:green;">Quy trình</mark> <a href="#id-2.-guidance" id="id-2.-guidance"></a>

{% stepper %}
{% step %}
**Bước 1**: Đăng nhập vào HI GIO Portal

Chọn **Network** > **Edge Gateways** > **VPC name**

<figure><img src="https://content.gitbook.com/content/dOZ82gj0wvhbAUlxBHpj/blobs/9ZPqEjHKfxaFQx8bsPKN/image.png" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Bước 2**: Dưới phần **Services**, nhấp **L2 VPN** > **NEW** để mở cửa sổ **L2 VPN Tunnel**.

<figure><img src="https://content.gitbook.com/content/dOZ82gj0wvhbAUlxBHpj/blobs/Nv7ynvV7bJnOsfHPLZUJ/image.png" alt=""><figcaption></figcaption></figure>

* Trên **Choose Session Mode**, chọn **Server** > nhấp **Next**.

<figure><img src="https://content.gitbook.com/content/dOZ82gj0wvhbAUlxBHpj/blobs/Ox4MfQUbWMHv8YWpWtp1/image.png" alt=""><figcaption></figcaption></figure>

* Nhập tên và pre-shared key > nhấp **NEXT**.

<figure><img src="https://content.gitbook.com/content/dOZ82gj0wvhbAUlxBHpj/blobs/EdjzlUwH8smYtsktBUHb/image.png" alt=""><figcaption></figcaption></figure>

* Nhập địa chỉ IP cho **Local IP**, **Remote IP**, **Initiation Mode** > nhấp **NEXT**.

<figure><img src="https://content.gitbook.com/content/dOZ82gj0wvhbAUlxBHpj/blobs/4SWDnY322ECopcDVKmZN/image.png" alt=""><figcaption></figcaption></figure>

&#x20;\- Chọn **Networks** > nhấp **NEXT**.

Các mạng này đã được tạo trong giai đoạn chuẩn bị.

<figure><img src="https://content.gitbook.com/content/dOZ82gj0wvhbAUlxBHpj/blobs/2NDCa5KTnBVQEw2n9wjr/image.png" alt=""><figcaption></figcaption></figure>

* Xem lại và nhấp **FINISH**.

<figure><img src="https://content.gitbook.com/content/dOZ82gj0wvhbAUlxBHpj/blobs/PGfjSioxZEBTa69ucsoQ/image.png" alt=""><figcaption></figcaption></figure>

Chờ vài phút.

Sau khi hoàn thành, bạn sẽ thấy **tunnel IDs** (**dùng để cấu hình thủ công trên NSX Autonomous Edge).**

<figure><img src="https://content.gitbook.com/content/dOZ82gj0wvhbAUlxBHpj/blobs/vXAwRPGZQgeAOIiAN3ir/image.png" alt=""><figcaption></figcaption></figure>

&#x20;Và sao chép **Peer code** (**dùng để cấu hình thủ công trên NSX Autonomous Edge**).

<figure><img src="https://content.gitbook.com/content/dOZ82gj0wvhbAUlxBHpj/blobs/bjIxeESmo8L07eGjr89M/image.png" 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-user-guide-vn/hi-gio-draas/stretching-layer-2-networks-cho-hi-gios-draas/tao-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.
