> 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="/files/QQ8PbQzGDTI6VM58RT7C" 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="/files/FPovHtCE3iOSQkoaS1zU" alt=""><figcaption></figcaption></figure>

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

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

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

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

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

<figure><img src="/files/XV9nyMJCiNNtK1Kc3sI4" 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="/files/nEOPXtIlKQLUvoiNdz1q" alt=""><figcaption></figcaption></figure>

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

<figure><img src="/files/SS4QXhyu0J3ayq4qjHVj" 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="/files/06NfzQ9G7Yf9FVO4AXOm" 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="/files/OErLBu4I6Qt2TXvJtRnn" 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 dynamically by asking a question.

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

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
