Hello everybody ,
i'm tryng to use two network device for improving performance as describe
in http://wiki.debian.org/Bonding and
http://www.debianadmin.com/linux-ethernet-bonding-configuration.html .
I have two problem :
1)I don't see performance increase trying with ftp
2) i have used round roubin balance in in the first test and now with
balance-alb but i still see in /sys/class/net/bond0/bonding/mode "balance-rr
0"
/etc/interfaces :
# This file describes the network interfaces available on your system # and
how to activate them. For more information, see interfaces(5). # The
loopback network interface auto lo iface lo inet loopback auto bond0 iface
bond0 inet static address 10.172.184.13 netmask 255.255.255.224 network
10.172.184.0 gateway 10.172.184.1 up /sbin/ifenslave bond0 eth0 up
/sbin/ifenslave bond0 eth1 bond_mode 6
ifconfig :
root@debian1-cq:~# ifconfig
bond0 Link encap:Ethernet HWaddr 00:14:4f:9e:d6:06
inet addr:10.172.184.13 Bcast:10.172.184.31 Mask:255.255.255.224
inet6 addr: fe80::214:4fff:fe9e:d606/64 Scope:Link
UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
RX packets:625306496 errors:0 dropped:6 overruns:0 frame:0
TX packets:823213450 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:592415237576 (551.7 GiB) TX bytes:928858996239 (865.0
GiB)
eth0 Link encap:Ethernet HWaddr 00:14:4f:9e:d6:06
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:609856456 errors:0 dropped:6 overruns:0 frame:0
TX packets:815197760 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:569739435949 (530.6 GiB) TX bytes:928287618315 (864.5
GiB)
eth1 Link encap:Ethernet HWaddr 00:14:4f:9e:d6:06
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:15450040 errors:0 dropped:0 overruns:0 frame:0
TX packets:8015690 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:22675801627 (21.1 GiB) TX bytes:571377924 (544.9 MiB)
Interrupt:22 Base address:0x2000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:5274 errors:0 dropped:0 overruns:0 frame:0
TX packets:5274 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:496326 (484.6 KiB) TX bytes:496326 (484.6 KiB)