informatique:linux:bonding
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
informatique:linux:bonding [2016/02/25 13:30] – pteu | informatique:linux:bonding [2016/11/14 15:18] (current) – pteu | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ======Bonding====== | + | Page déplacée ici : [[informatique:linux:reseau#bonding_agregat|Réseau sous Linux : bonding/agrégat]] |
- | + | ||
- | // | + | |
- | + | ||
- | Le **bonding** sous Linux c'est un agrégat de ports, c' | + | |
- | + | ||
- | + | ||
- | =====Configuration sous centOS===== | + | |
- | + | ||
- | Fichiers de configuration | + | |
- | * sous Debian/ | + | |
- | * sous Redhat/ | + | |
- | + | ||
- | Pour fonctionner, | + | |
- | <code bash> | + | |
- | # eth2 | + | |
- | DEVICE=eth2 | + | |
- | BOOTPROTO=none | + | |
- | ONBOOT=yes | + | |
- | HWADDR=00:e0: | + | |
- | MASTER=bond0 | + | |
- | SLAVE=yes | + | |
- | TYPE=Ethernet | + | |
- | USERCTL=no | + | |
- | + | ||
- | # eth3 | + | |
- | DEVICE=eth3 | + | |
- | BOOTPROTO=none | + | |
- | ONBOOT=yes | + | |
- | HWADDR=00: | + | |
- | MASTER=bond0 | + | |
- | SLAVE=yes | + | |
- | TYPE=Ethernet | + | |
- | USERCTL=no | + | |
- | </ | + | |
- | + | ||
- | Exemple de configuration : | + | |
- | <code bash> | + | |
- | DEVICE=' | + | |
- | BONDING_MASTER=' | + | |
- | BONDING_MODULE_OPTS=' | + | |
- | BONDING_SLAVE0=' | + | |
- | BONDING_SLAVE1=' | + | |
- | BOOTPROTO=' | + | |
- | BROADCAST='' | + | |
- | ETHTOOL_OPTIONS='' | + | |
- | IPADDR=' | + | |
- | MTU=' | + | |
- | NAME=' | + | |
- | NETWORK='' | + | |
- | REMOTE_IPADDR='' | + | |
- | STARTMODE=' | + | |
- | USERCONTROL=' | + | |
- | </ | + | |
- | + | ||
- | =====Diagnostique===== | + | |
- | + | ||
- | <code bash> | + | |
- | cat /proc/net/bonding/bond0 | + | |
- | + | ||
- | Ethernet Channel Bonding Driver: v3.5.0 (November 4, 2008) | + | |
- | + | ||
- | Bonding Mode: IEEE 802.3ad Dynamic link aggregation | + | |
- | Transmit Hash Policy: layer2 (0) | + | |
- | MII Status: up | + | |
- | MII Polling Interval (ms): 100 | + | |
- | Up Delay (ms): 0 | + | |
- | Down Delay (ms): 0 | + | |
- | + | ||
- | 802.3ad info | + | |
- | LACP rate: slow | + | |
- | Aggregator selection policy (ad_select): | + | |
- | Active Aggregator Info: | + | |
- | Aggregator ID: 1 | + | |
- | Number of ports: 2 | + | |
- | Actor Key: 33 | + | |
- | Partner Key: 101 | + | |
- | Partner Mac Address: 74: | + | |
- | + | ||
- | Slave Interface: eth2 | + | |
- | MII Status: up | + | |
- | Link Failure Count: 0 | + | |
- | Permanent HW addr: 00: | + | |
- | Aggregator ID: 1 | + | |
- | + | ||
- | Slave Interface: eth3 | + | |
- | MII Status: up | + | |
- | Link Failure Count: 1 | + | |
- | Permanent HW addr: 00: | + | |
- | Aggregator ID: 1 | + | |
- | </ | + | |
- | + | ||
- | =====Références===== | + | |
- | + | ||
- | * [[https:// | + |
informatique/linux/bonding.txt · Last modified: 2016/11/14 15:18 by pteu