我们使用 cookie 来帮助我们改善网页体验。请阅读我们的 Cookie 政策

NAS 307

进阶网络应用: Link Aggregation

介绍何谓 Link Aggregation 及如何在 ASUSTOR NAS 设定。

2016-07-20

课程目的
完成此课程后您将能够:
1. 对于 Link Aggregation 及相关的模式有初步的了解
2. 了解如何在你的 ASUSTOR NAS 设置 Link Aggregation

必修项目
课程必修项目:

学生须先具备以下知识:


大纲
1. Link Aggregation 简介
1.1 什么是 Link Aggregation?
1.2 Link Aggregation 模式
2. 设定你的 NAS
2.1 设定 Link Aggregation




1. Link Aggregation 简介

1.1 什么是 Link Aggregation?
Link aggregation (又名 trunking, bonding 或 teaming) 可将两个或多个网络接口结合为一。欲使用Link Aggregation,你的多个网络接口需接到同一个网络交换器 (switch) 上,此外,该网络交换器也必须支持设定 Link Aggregation。 在本篇文章中,我们将以两个网络接口为范例进行说明。
Link Aggregation 主要可提供以下两种优点:
a. 负载平衡 (Load Balancing)
网络流量将会被分配至两个网络接口,而对于客户端而言,将只会视为单一联机。此种模式主要在于能够藉由多重管道以提升传输可靠度。
b. 网络容错 (Fault tolerance /Failover)
网络容错优点主要在于当其中一个网络接口失效或断线时,另一个网络接口仍能够负担起传输的责任,让数据传输不致于中断,提升 NAS 系统的可得性 (availability)。

1.2 Link aggregation 模式
ASUSTOR NAS 提供多种不同的 Link Aggregation 模式,以下将会简单说明 (英文) 各种模式的传输特性:
Round-Robin: Transmits packets in sequential order from the first available connection to the next. This mode provides load balancing and fault tolerance.
Active Backup: Only one connection is active. A different connection becomes active if, and only if, the active connection fails. The aggregated MAC address is externally visible on only one port (network adapter) to avoid confusing the switch. This mode provides fault tolerance.
XOR: Transmits based on the default simple transmit hash policy. This mode provides load balancing and fault tolerance.
Broadcast: Transmits everything on all connections. This mode provides fault tolerance.
802.3ad (IEEE 802.3ad Dynamic Link Aggregation): Creates aggregation groups that share the same speed and duplex settings. Utilizes all connections in the active aggregator according to the 802.3ad specification. You will need a switch that supports IEEE 802.3ad dynamic link aggregation. This mode provides fault tolerance and load balancing.
Adaptive Transmit Load Balancing: Does not require any special switch support. The outgoing traffic is distributed according to the current load (computed relative to the speed) on each connection. Incoming traffic is received by the current connection. If the receiving connection fails, another connection takes over the MAC address of the failed receiving connection. This mode provides fault tolerance.
Adaptive Load Balancing: Includes transmit load balancing plus receive load balancing for IPV4 traffic and does not require any special switch support. The receive load balancing is achieved by ARP negotiation. This mode provides fault tolerance and load balancing.

Generally speaking, link aggregation modes provide either fault tolerance or load balancing benefits. The benefits provided by each mode are summarized in the chart below.

Aggregation 模式

网络容错

负载平衡

Round-Robin

ü

ü

Active-Backup

ü

û

XOR

ü

ü

Broadcast

ü

û

802.3ad

ü

ü

Adaptive Transmit Load Balancing

ü

û

Adaptive Load Balancing

ü

ü

















2. 设定你的 NAS
2.1 设定 Link Aggregation

步骤1

开启桌面图示 [设定] > [网络],并在 Link Aggregation 中点击 [建立]




步骤2

Link Aggregation 精灵将会引导你设置 aggregation 模式,只要从下拉选单中选取你欲使用的模式即可。




步骤3

当你选择任一模式后,设置精灵将会提示你关于此模式是否具备网络容错或负载平衡的特性。如下图范例所示,若选择 “Active-Backup”,则该模式仅支持网络容错。当确定选择后,请点击 [下一步]



步骤4

若你欲手动指定 IP 地址,请选择 [手动设定 IP 地址]。若你不确定选择该如何设定,请选择 [自动取得 IP 地址] 并点击 [下一步]



步骤5

最后请检查你的设定值是否皆正确,确定之后请点击 [完成] 以套用此设定。



步骤 6

套用完成之后,你即可在画面中看到如下方图标所示,两个网络接口已经被绑定成为一个网络接口并已可开始使用。





此文章有帮助吗? /