Различия

Показаны различия между двумя версиями страницы.

Ссылка на это сравнение

Предыдущая версия справа и слева Предыдущая версия
Следующая версия
Предыдущая версия
wiki:iproute2:ip_link [19/06/2018 00:55]
Boris V. Vuks
wiki:iproute2:ip_link [19/06/2018 01:06] (текущий)
Boris V. Vuks [Создание]
Строка 56: Строка 56:
      
 ====== bonding манипуляции ======   ====== bonding манипуляции ======  
 +[[https://www.kernel.org/doc/Documentation/networking/bonding.txt| Подробности читаем тут]].
   modprobe bonding   modprobe bonding
  
Строка 67: Строка 67:
  
  
-<spoiler |mode in /sys/class/net/bond0/bonding/mode >+<spoiler | режимы в /sys/class/net/bond0/bonding/mode >
  
  Specifies one of the bonding policies. The default is  Specifies one of the bonding policies. The default is
  balance-rr (round robin).  Possible values are:  balance-rr (round robin).  Possible values are:
 +<code>
  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.  This mode provides load balancing and fault  last.  This mode provides load balancing and fault
  tolerance.  tolerance.
 +</code> 
 +<code>
  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.  A different slave becomes active if, and only  active.  A different slave becomes active if, and only
Строка 99: Строка 98:
  option, documented below, affects the behavior of this  option, documented below, affects the behavior of this
  mode.  mode.
 +</code> 
 +<code>
  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.  The default policy is a simple [(source  hash policy.  The default policy is a simple [(source
Строка 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.
 +</code> 
 +<code>
  broadcast or 3  broadcast or 3
- 
  Broadcast policy: transmits everything on all slave  Broadcast policy: transmits everything on all slave
  interfaces.  This mode provides fault tolerance.  interfaces.  This mode provides fault tolerance.
 +</code> 
 +<code>
  802.3ad or 4  802.3ad or 4
- 
  IEEE 802.3ad Dynamic link aggregation.  Creates  IEEE 802.3ad Dynamic link aggregation.  Creates
  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.
 +</code> 
 +<code>
  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.
 +</code> 
 +<code>
  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.
 +</code>
 </spoiler> </spoiler>
  

QR Code
QR Code wiki:iproute2:ip_link (generated for current page)