> 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/bonded-vlans.md).

# 绑定的 VLAN 标记网络

## 概述

本指南提供了在外部网络或维护网络上创建主动-备份绑定的说明。有关每个节点配备 2 个 NIC 的裸机安装的具体说明，请参阅 KB 文章： [将外部网络更改为带标记 VLAN 的绑定](/knowledge-base/zh/networking/change-external-vlan-to-bonded.md).

## 前提条件

{% hint style="warning" %}
**在进行网络更改之前**

* 验证相关网络交换机端口已针对 VLAN 标记进行配置
* 确保您有访问节点的替代方法：物理控制台访问或 IPMI 访问
* 确认“admin”用户（用户 ID #1）的名称/密码。注意：用户 ID 可在用户仪表板的 URL 中找到（Key=1 参数）
  {% endhint %}

## 配置步骤

### 基本网络设置

1. 创建或编辑网络
2. 配置第 2 层设置：
   * 将第 2 层类型设置为 vLAN
   * 在第 2 层 ID 字段中输入 VLAN ID 编号

### 绑定配置

1. 勾选复选框以启用绑定
2. 在绑定接口下：
   * 选择特定的核心 fabric 交换机（core-fabric-1 Switch、core-fabric-2 Switch）或
   * 使用“全部”选择所有可用接口

{% hint style="info" %}

* 选择特定接口可更好地控制哪些 NIC 被绑定
* 绑定配置通过主动-备份模式提供网络冗余，其中一个 NIC 保持活动状态，而其他 NIC 作为备份待命
  {% endhint %}

### 其他网络设置

参阅 KB 文章： [如何创建外部网络](/knowledge-base/zh/networking/create-external-network.md) 以了解配置其他外部网络选项的信息。

## 测试和验证

### 基本连通性测试

1. 使用以下工具验证网络是否具有连通性： [网络诊断工具](/run-the-platform/zh/wang-luo/network-diagnostics.md)
2. 常见的诊断测试包括：
   * 用于验证基本连通性的 Ping 测试
   * 用于验证名称解析的 DNS 查询
   * 用于验证特定端口连通性的 TCP 连接测试

### 绑定故障切换测试

1. 转到已修改的网络仪表板
2. 选择 NIC 以查看网络适配器
3. 测试故障切换：
   * 物理断开其中一条相关网络电缆
   * UI 应指示已断开连接的 NIC 处于“Down”状态
   * 验证网络通过备份 NIC 维持连通性

{% hint style="warning" %}
**重要**

在断开任何网络电缆之前，请验证：

* 它不是核心网络电缆，或者
* 已建立适当的核心网络冗余
  {% endhint %}

## 故障排除

如果遇到问题：

1. 验证交换机配置与 VLAN 设置匹配
2. 检查物理电缆连接
3. 确认绑定接口的选择正确
4. 查看网络日志中的错误消息
5. 从网络中的多个位置测试连通性

## 相关文章

* [如何创建外部网络](/knowledge-base/zh/networking/create-external-network.md)
* [将外部网络更改为带标记 VLAN 的绑定](/knowledge-base/zh/networking/change-external-vlan-to-bonded.md)
* [网络诊断工具](/run-the-platform/zh/wang-luo/network-diagnostics.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/run-the-platform/zh/wang-luo/bonded-vlans.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.
