> 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/zh/wang-luo/assign-external-ip.md).

# 为内部网络分配外部 IP 地址

外部 IP 地址可以分配给内部网络。分配外部 IP 时，会自动创建相应的路由规则。

## 将外部 IP 分配给内部网络

1. 从 **外部网络仪表板**，点击 **IP 地址** 左侧菜单中的。
2. 单击 **新建**.
3. 在 ***类型*** 字段中，选择 **虚拟 IP**
4. 在 ***IP 地址*** 字段中，输入 **公网 IP 地址**.
5. 输入 ***主机名***.
6. 可选地， ***描述*** 可以输入以记录额外的管理信息。
7. 在 ***所有者类型*** 下拉列表中，选择 **网络**.
8. 在 ***所有者*** 下拉列表中，选择 **内部网络的名称**.
9. 单击 **提交**.
10. 在仍处于 **外部网络仪表板**，点击 **应用规则** 左侧菜单中（以应用于外部网络）。
11. 导航到 **内部网络仪表板**
12. 单击 **应用规则** （以应用于内部网络）。


---

# 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/zh/wang-luo/assign-external-ip.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.
