network bonding aka etherchannel
Network bonding on debian:
mode used: balance roundrobin
NICs: 2x 100Mbit
application: ifenslave-2.6 (Debian Wheezy repos)
configs: /etc/network/interfaces
kernel: 3.2 (deb official)
sometimes is need to put "alias bond0 bonding \
options miimon=100 downdelay=200 updelay=200"
to /etc/modules|modprobe.d/
cat /etc/network/interfaces
auto bond0
iface bond0 inet6 auto //optional if u have ipv6
iface bond0 inet static
address XXX.XXX.XXX.XXX
netmask 255.255.255.0
network XXX.XXX.XXX.0
gateway XXX.XXX.XXX.XXX
slaves eth0 eth1
bond_mode balance-rr //round robin alg.
bond_miimon 100
bond_downdelay 200
bond_updelay 200
modification: with bridge
auto bond0
iface bond0 inet6 auto //optional if u have ipv6
iface bond0 inet manual
slaves eth0 eth1
bond_mode balance-rr //round robin alg.
bond_miimon 100
bond_downdelay 200
bond_updelay 200
auto xenbr0
iface xenbr0 inet static
bridge_ports bond0
bridge_maxwait 2
address XXX.XXX.XXX.XXX
netmask 255.255.255.0
network XXX.XXX.XXX.0
gateway XXX.XXX.XXX.XXX
- Zdenek Key's blog
- Pro psaní komentářů se přihlašte