Sebagian besar poin-poin ini dijelaskan secara menyeluruh dalam /usr/src/linux/Documentation/networking/bonding.txt
file dokumentasi dari paket sumber linux dari distro favorit Anda. Kecepatan failover dikendalikan oleh parameter "miimon" untuk sebagian besar mode, tetapi tidak boleh diset terlalu rendah; nilai normal berada di bawah satu detik.
Inilah bagian-bagian terbaik, diselesaikan oleh saya:
balance-rr or 0
Round-robin policy: Transmit packets in sequential
order from the first available slave through the
last. This mode provides load balancing and fault
tolerance.
active-backup or 1
Active-backup policy: Only one slave in the bond is
active. A different slave becomes active if, and only
if, the active slave fails. The bond's MAC address is
externally visible on only one port (network adapter)
to avoid confusing the switch.
This mode provides fault tolerance. The "primary"
option affects the behavior of this mode.
balance-xor or 2
XOR policy: Transmit based on the selected transmit
hash policy. The default policy is a simple [(source
MAC address XOR'd with destination MAC address) modulo
slave count]. Alternate transmit policies may be
selected via the xmit_hash_policy option.
This mode provides load balancing and fault tolerance.
broadcast or 3
Broadcast policy: transmits everything on all slave
interfaces. This mode provides fault tolerance.
802.3ad or 4
IEEE 802.3ad Dynamic link aggregation. Creates
aggregation groups that share the same speed and
duplex settings. Utilizes all slaves in the active
aggregator according to the 802.3ad specification.
Slave selection for outgoing traffic is done according
to the transmit hash policy, which may be changed from
the default simple XOR policy via the xmit_hash_policy
option. Note that not all transmit policies may be 802.3ad
compliant, particularly inregards to the packet mis-ordering
requirements of section 43.2.4 of the 802.3ad standard.
Differing peer implementations will have varying tolerances for
noncompliance.
Note: Most switches will require some type of configuration
to enable 802.3ad mode.
balance-tlb or 5
Adaptive transmit load balancing: channel bonding that
does not require any special switch support. The
outgoing traffic is distributed according to the
current load (computed relative to the speed) on each
slave. Incoming traffic is received by the current
slave. If the receiving slave fails, another slave
takes over the MAC address of the failed receiving
slave.
balance-alb or 6
Adaptive load balancing: includes balance-tlb plus
receive load balancing (rlb) for IPV4 traffic, and
does not require any special switch support.
When a link is reconnected or a new slave joins the
bond the receive traffic is redistributed among all
active slaves in the bond by initiating ARP Replies
with the selected MAC address to each of the
clients. The updelay parameter must
be set to a value equal or greater than the switch's
forwarding delay so that the ARP Replies sent to the
peers will not be blocked by the switch.
balance-rr, backup-aktif, balance-tlb, dan balance-alb tidak perlu beralih dukungan.
balance-rr menambah kinerja dengan harga fragmentasi, berkinerja buruk dengan beberapa protokol (CIFS) dan dengan lebih dari 2 antarmuka.
balance-alb dan balance-tlb mungkin tidak bekerja dengan baik dengan semua sakelar; sering ada beberapa masalah arp (beberapa mesin mungkin gagal terhubung satu sama lain misalnya). Anda mungkin perlu mengubah berbagai pengaturan (miimon, updelay) untuk mendapatkan jaringan yang stabil.
balance-xor mungkin atau mungkin tidak memerlukan konfigurasi switch. Anda perlu mengatur grup antarmuka ( bukan LACP) pada switch HP dan Cisco, tetapi tampaknya itu tidak diperlukan pada switch D-Link, Netgear, dan Fujitsu.
802.3ad benar-benar membutuhkan grup LACP di sisi sakelar. Ini adalah opsi terbaik yang didukung secara keseluruhan untuk meningkatkan kinerja.
Catatan: apa pun yang Anda lakukan, satu koneksi jaringan selalu melalui satu dan hanya satu tautan fisik. Jadi ketika menggabungkan antarmuka GigE, transfer file dari mesin A ke mesin B tidak dapat melebihi 1 gigabit / s, meskipun setiap mesin memiliki 4 antarmuka GigE agregat (apa pun mode ikatan yang digunakan).