> 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/knowledge-base/zh/networking/change-external-vlan-to-bonded.md).

# 将外部网络更改为 VLAN 绑定

## 概述

{% hint style="info" %}
**要点**

* 此过程会在带 VLAN 标记的物理网络之间创建一个主备绑定（active-backup bond）。
* 建议用于每个节点仅限 2 个网卡的裸机部署。
* 执行此更改无需系统停机。
  {% endhint %}

本指南概述了如何在带 VLAN 标记的物理网络之间创建一个绑定的外部网络。所述方法为每个节点仅限两个网卡的裸机部署提供最佳冗余，可实现两个相互独立的核心 fabric 网络，以及一个单 VLAN 的绑定外部网络。

## 前提条件

{% hint style="warning" %}
**警告** - 应使用本地服务器访问执行此过程，因为外部网络更改可能会影响远程 UI 访问。这也允许您通过拔掉一根网线来测试绑定配置，以验证预期的绑定故障切换。- 在进行任何重大系统更改之前，请确认您拥有“admin”用户（用户 ID #1）的用户名/密码，以防需要执行命令行操作。（提示：“Key=1”参数位于该用户仪表板的 URL 中。）
{% endhint %}

## 步骤

1. 导航到 **外部网络仪表板**
   * 网络 > 仪表板 > 外部
   * 双击外部网络
   * 点击 **编辑** 左侧菜单中的
2. 更改 **第二层类型** 更改为 ***VLAN*** 并输入适当的 **第二层 ID** （VLAN 编号）。
3. **选择** 选择 **启用绑定**.
4. **选择** 该 **物理网络** 您希望参与绑定的。
5. 点击 **提交** 以保存更改。

## 配置后

1. 通过远程连接访问 UI 来检查外部网络。
2. 测试绑定故障切换：导航到外部网络仪表板并选择 **网卡** 以查看网络适配器。物理断开一根网线。UI 现在应指示 NIC 处于“Down”状态；请验证远程 UI 访问仍然可用。

{% hint style="warning" %}
**在断开网线之前，请确认核心网络冗余已到位。**
{% endhint %}

## 故障排除

{% hint style="warning" %}
**常见问题**

* 问题：失去远程访问
  * 解决方案：
    1. 检查外部网络配置中输入的 VLAN 是否正确
    2. 验证交换机端口已针对 VLAN 标记正确配置。
       {% endhint %}

## 其他资源

* [网络设计模型](/plan-and-deploy/implementation-guide/network-design.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.verge.io/knowledge-base/zh/networking/change-external-vlan-to-bonded.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.
