> 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.md).

# Stretching layer 2 networks cho HI GIO's DRaaS

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

Trong quá trình migrate từ on-premises lên cloud, stretch các mạng on-premises qua site cloud của HI GIO để duy trì kết nối mạng giữa các máy ảo đã migrate và chưa migrate trong cùng một network segment.

Layer 2 VPN (L2 VPN) được sử dụng để mở rộng các mạng L2 qua các site.

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

1. **Yêu cầu trước khi bắt đầu:** [Cách Cài Đặt vCDA Trên On-Premises appliance](/hi-gio-user-guide-vn/hi-gio-draas/cach-cai-dat-vcda-tren-on-premises-appliance.md)

{% hint style="info" %}
VM tại on-premises phải được kết nối với mạng VLAN (VLAN-backed network) **được cấu hình trên Distributed Switches.**

(Standard Switch **KHÔNG** được hỗ trợ)
{% endhint %}

2. **Procedure:** Để hoàn thành việc mở rộng L2, thực hiện các bước sau:

* [Chuẩn bị cấu hình](/hi-gio-user-guide-vn/hi-gio-draas/stretching-layer-2-networks-cho-hi-gios-draas/chuan-bi-cau-hinh.md)

&#x20;     **Site on-premises**: Đảm bảo thông tin VLAN, địa chỉ IP, port groups và Public IP.

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

* [Triển khai NSX Autonomous Edge (on-premises site).](/hi-gio-user-guide-vn/hi-gio-draas/stretching-layer-2-networks-cho-hi-gios-draas/trien-khai-nsx-autonomous-edge-on-premises-site-..md)
* [Đăng ký và cấu hình mạng của NSX Autonomous Edge tại site on-premises.](/hi-gio-user-guide-vn/hi-gio-draas/stretching-layer-2-networks-cho-hi-gios-draas/dang-ky-va-cau-hinh-mang-cua-nsx-autonomous-edge-tai-site-on-premises..md)
* [Tạo  L2 VPN - Server session (HI GIO cloud site).](/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 - Client session (on-premises site).](/hi-gio-user-guide-vn/hi-gio-draas/stretching-layer-2-networks-cho-hi-gios-draas/tao-l2-vpn-client-session-on-premises-site.md)

## <mark style="color:green;">**Hướng dẫn**</mark> <a href="#guidelines" id="guidelines"></a>

* [Chuẩn bị cấu hình](/hi-gio-user-guide-vn/hi-gio-draas/stretching-layer-2-networks-cho-hi-gios-draas/chuan-bi-cau-hinh.md)
* [Triển khai NSX Autonomous Edge (on-premises site).](/hi-gio-user-guide-vn/hi-gio-draas/stretching-layer-2-networks-cho-hi-gios-draas/trien-khai-nsx-autonomous-edge-on-premises-site-..md)
* [Đăng ký và cấu hình mạng của NSX Autonomous Edge tại site on-premises.](/hi-gio-user-guide-vn/hi-gio-draas/stretching-layer-2-networks-cho-hi-gios-draas/dang-ky-va-cau-hinh-mang-cua-nsx-autonomous-edge-tai-site-on-premises..md)
* [Tạo  L2 VPN - Server session (HI GIO cloud site).](/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 - Client session (on-premises site).](/hi-gio-user-guide-vn/hi-gio-draas/stretching-layer-2-networks-cho-hi-gios-draas/tao-l2-vpn-client-session-on-premises-site.md)
* [**(Tùy chọn)** Triển khai NSX Autonomous Edge thứ hai ở chế độ HA (on-premises site).](/hi-gio-user-guide-vn/hi-gio-draas/stretching-layer-2-networks-cho-hi-gios-draas/tuy-chon-trien-khai-nsx-autonomous-edge-thu-hai-o-che-do-ha-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 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.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.
