aktuell beschäftigt mich das Thema Bonding und habe dafür das Paket ifenslave-2.6 auf zwei Supermicro-Rechnern mit je vier Gbit-Nics unter Debian Wheezy installiert.
Die Netzwerkschnittstellen eth0 und eth1 sind jeweils direkt miteinander per Crossover-Kabel verbunden.
Beide Maschinen sind mit Ausnahme der IP Adressen gleich konfiguriert, alle Pakete sind per aptitude update und upgrade auf dem aktuellen Stand.
Code: Alles auswählen
root@kvm1:/# uname -r
3.2.0-4-amd64
Code: Alles auswählen
root@kvm1:/# aptitude show ifenslave-2.6 | grep -i version
Version: 1.1.0-20
Code: Alles auswählen
root@kvm1:/# cat /etc/network/interfaces
auto lo
iface lo inet loopback
iface eth0 inet manual
bond-master bond0
auto eth1
iface eth1 inet manual
bond-master bond0
auto bond0
iface bond0 inet static
address 192.168.83.225
network 255.255.255.0
gateway 192.168.83.1
bond-mode 4
bond-miimon 100
bond-downdelay 200
bond-updelay 200
bond-lacp-rate 4
bond-slaves none
Code: Alles auswählen
root@kvm1:/# cat /proc/net/bonding/bond0
Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
Bonding Mode: IEEE 802.3ad Dynamic link aggregation
Transmit Hash Policy: layer2 (0)
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 200
Down Delay (ms): 200
802.3ad info
LACP rate: fast
Min links: 0
Aggregator selection policy (ad_select): stable
Active Aggregator Info:
Aggregator ID: 1
Number of ports: 2
Actor Key: 17
Partner Key: 17
Partner Mac Address: xx:xx:xx:xx:xx:xx
Slave Interface: eth0
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: xx:xx:xx:xx:xx:xx
Aggregator ID: 1
Slave queue ID: 0
Slave Interface: eth1
MII Status: down
Speed: Unknown
Duplex: Unknown
Link Failure Count: 0
Permanent HW addr: xx:xx:xx:xx:xx:xx
Aggregator ID: 1
Slave queue ID: 0
Code: Alles auswählen
root@kvm1:/# iperf -c kvm2 -P 4
------------------------------------------------------------
Client connecting to 192.168.83.226, TCP port 5001
TCP window size: 23.5 KByte (default)
------------------------------------------------------------
[ 5] local 192.168.83.225 port 34514 connected with 192.168.83.226 port 5001
[ 6] local 192.168.83.225 port 34515 connected with 192.168.83.226 port 5001
[ 3] local 192.168.83.225 port 34511 connected with 192.168.83.226 port 5001
[ 4] local 192.168.83.225 port 34512 connected with 192.168.83.226 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-10.0 sec 279 MBytes 234 Mbits/sec
[ 6] 0.0-10.0 sec 272 MBytes 228 Mbits/sec
[ 4] 0.0-10.0 sec 291 MBytes 243 Mbits/sec
[ 5] 0.0-10.1 sec 292 MBytes 244 Mbits/sec
[SUM] 0.0-10.1 sec 1.11 GBytes 947 Mbits/sec
Code: Alles auswählen
-P, --parallel n
number of parallel client threads to run
Ich bin davon ausgegangen, dass ich mit dem Bond-Modus 4 (802.3ad) eine Bandbreitenerhöhung erziele.
Könnt ihr mir bitte einen Schubser in die richtige Richtung geben?