> For the complete documentation index, see [llms.txt](https://docs.verge.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.verge.io/run-the-platform/vi/tenant/assign-ip-to-tenant.md).

# Gán địa chỉ IP bên ngoài cho một Tenant

Địa chỉ IP bên ngoài có thể được gán cho tenant. Khi một IP bên ngoài được gán, các quy tắc định tuyến phù hợp sẽ được tạo tự động.

## Gán IP bên ngoài cho tenant

1. Đi đến máy chủ phù hợp **bảng điều khiển mạng bên ngoài**; đây phải là mạng bên ngoài mà tenant có quyền truy cập bên ngoài. Trong hầu hết các trường hợp, đây sẽ là mạng có tên "External".
2. Nhấp vào **Địa chỉ IP** ở menu bên trái.
3. Nhấp vào **Mới**.
4. Trong ***Loại*** trường, chọn **IP ảo**.
5. Trong ***Địa chỉ IP*** trường, nhập **Địa chỉ IP bên ngoài**.
6. ***Tên máy chủ*** có thể để trống.
7. **Tùy chọn**, một ***Mô tả*** có thể được nhập để ghi lại thông tin quản trị bổ sung.
8. Trong ***Loại chủ sở hữu*** danh sách thả xuống, chọn **tenant**.
9. Trong ***Chủ sở hữu*** danh sách thả xuống, chọn **tên của tenant**.
10. Nhấp vào **Gửi** ở cuối trang.
11. Từ **bảng điều khiển mạng bên ngoài**, nhấp **Áp dụng quy tắc** trong menu bên trái (để áp dụng cho mạng bên ngoài của máy chủ).

{% hint style="success" %}
**Để quay lại bảng điều khiển mạng bên ngoài, bạn có thể nhấp vào breadcrumb phù hợp ở phía trên hoặc dùng nút quay lại của trình duyệt.**
{% endhint %}

12. Đi tới **bảng điều khiển mạng tenant** (từ menu trên cùng: Networks > Dashboard > Tenants > nhấp đúp vào mạng tenant mong muốn).
13. Nhấp vào **Áp dụng quy tắc** (để áp dụng cho mạng tenant).


---

# 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.verge.io/run-the-platform/vi/tenant/assign-ip-to-tenant.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.
