Различия
Показаны различия между двумя версиями страницы.
| Предыдущая версия справа и слева Предыдущая версия Следующая версия | Предыдущая версия | ||
|
wiki:iproute2:ip_link [19/06/2018 00:58] Boris V. Vuks |
wiki:iproute2:ip_link [19/06/2018 01:06] (текущий) Boris V. Vuks [Создание] |
||
|---|---|---|---|
| Строка 67: | Строка 67: | ||
| - | <spoiler |mode in / | + | <spoiler | режимы в / |
| Specifies one of the bonding policies. The default is | Specifies one of the bonding policies. The default is | ||
| balance-rr (round robin). | balance-rr (round robin). | ||
| + | < | ||
| balance-rr or 0 | balance-rr or 0 | ||
| - | |||
| Round-robin policy: Transmit packets in sequential | Round-robin policy: Transmit packets in sequential | ||
| order from the first available slave through the | order from the first available slave through the | ||
| last. | last. | ||
| tolerance. | tolerance. | ||
| + | </ | ||
| + | < | ||
| active-backup or 1 | active-backup or 1 | ||
| - | |||
| Active-backup policy: Only one slave in the bond is | Active-backup policy: Only one slave in the bond is | ||
| active. | active. | ||
| Строка 99: | Строка 98: | ||
| option, documented below, affects the behavior of this | option, documented below, affects the behavior of this | ||
| mode. | mode. | ||
| + | </ | ||
| + | < | ||
| balance-xor or 2 | balance-xor or 2 | ||
| - | |||
| XOR policy: Transmit based on the selected transmit | XOR policy: Transmit based on the selected transmit | ||
| hash policy. | hash policy. | ||
| Строка 108: | Строка 107: | ||
| policies may be selected via the xmit_hash_policy option, | policies may be selected via the xmit_hash_policy option, | ||
| described below. | described below. | ||
| - | |||
| This mode provides load balancing and fault tolerance. | This mode provides load balancing and fault tolerance. | ||
| + | </ | ||
| + | < | ||
| broadcast or 3 | broadcast or 3 | ||
| - | |||
| Broadcast policy: transmits everything on all slave | Broadcast policy: transmits everything on all slave | ||
| interfaces. | interfaces. | ||
| + | </ | ||
| + | < | ||
| 802.3ad or 4 | 802.3ad or 4 | ||
| - | |||
| IEEE 802.3ad Dynamic link aggregation. | IEEE 802.3ad Dynamic link aggregation. | ||
| aggregation groups that share the same speed and | aggregation groups that share the same speed and | ||
| Строка 132: | Строка 130: | ||
| peer implementations will have varying tolerances for | peer implementations will have varying tolerances for | ||
| noncompliance. | noncompliance. | ||
| - | |||
| Prerequisites: | Prerequisites: | ||
| - | |||
| 1. Ethtool support in the base drivers for retrieving | 1. Ethtool support in the base drivers for retrieving | ||
| the speed and duplex of each slave. | the speed and duplex of each slave. | ||
| - | |||
| 2. A switch that supports IEEE 802.3ad Dynamic link | 2. A switch that supports IEEE 802.3ad Dynamic link | ||
| aggregation. | aggregation. | ||
| - | |||
| Most switches will require some type of configuration | Most switches will require some type of configuration | ||
| to enable 802.3ad mode. | to enable 802.3ad mode. | ||
| + | </ | ||
| + | < | ||
| balance-tlb or 5 | balance-tlb or 5 | ||
| - | |||
| Adaptive transmit load balancing: channel bonding that | Adaptive transmit load balancing: channel bonding that | ||
| does not require any special switch support. | does not require any special switch support. | ||
| Строка 165: | Строка 159: | ||
| Ethtool support in the base drivers for retrieving the | Ethtool support in the base drivers for retrieving the | ||
| speed of each slave. | speed of each slave. | ||
| + | </ | ||
| + | < | ||
| balance-alb or 6 | balance-alb or 6 | ||
| - | |||
| Adaptive load balancing: includes balance-tlb plus | Adaptive load balancing: includes balance-tlb plus | ||
| receive load balancing (rlb) for IPV4 traffic, and | receive load balancing (rlb) for IPV4 traffic, and | ||
| Строка 210: | Строка 204: | ||
| Prerequisites: | Prerequisites: | ||
| - | |||
| 1. Ethtool support in the base drivers for retrieving | 1. Ethtool support in the base drivers for retrieving | ||
| the speed of each slave. | the speed of each slave. | ||
| - | |||
| 2. Base driver support for setting the hardware | 2. Base driver support for setting the hardware | ||
| address of a device while it is open. This is | address of a device while it is open. This is | ||
| Строка 223: | Строка 215: | ||
| swapped with the new curr_active_slave that was | swapped with the new curr_active_slave that was | ||
| chosen. | chosen. | ||
| + | </ | ||
| </ | </ | ||