linux bonding network interfaces

aptitude install ifenslave-2.6

auto bond0
iface bond0 inet static
        address 10.10.10.10
        netmask 255.255.0.0
        bond-slaves none
        bond-mode 0
        bond-miimon 100
 
auto eth0
allow-hotplug eth0
iface eth0 inet manual
        bond-master bond0
        bond-primary eth0 eth1
 
auto eth1
allow-hotplug eth1
iface eth1 inet manual
        bond-master bond0
        bond-primary eth0 eth1

Linux bonding driver modes

...
        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.
 
                Prerequisite:

User tags

pvmove sysrq parallel Areca chroot raid5 fail2ban wordpress cluster raid bug core dump firefox MODx etch nvidia centos 7 ssh java sysctl.conf profiling sg lxc hotplug xhost proxy tzdata youtube backup dpkg HTTPS bscan APU usb ipmi netfilter lubuntu bash bind alsa boot security erase 3Ware opcontrol graylog2 keyboard CPAN munin nfs4 virt-install OpenStack glxinfo source radeon puppet drupal mkfs X forwarding gtk SSD git lenny ps conntrack cache tftp Salt grub iowait limit_conn ansible exim chromium groups alien replication mysql equalizer xargs .htaccess cfq AMD flash vlan wget regex CentOS cpanm squeeze /etc/network/interfaces sysctl arp qcow2 cpu tiger rpm video top htop storage routing backtrace iostat xfs LSI bridge idmapd virsh rsync leap second performance pulseaudio numa fio mdadm xen mariadb route shorewall pacemaker cpu usage arch StorMan sysresccd ha taskset elliptics cgroups dstat pam Adaptec gpg iops shellshock asoundrc PTR tin corosync arping iptables sftp bacula docker-compose initrd exim4 glusterfs qemu perlbrew apt scsi opreport ddos iSCSI docker kernel Swift NFS oprofile dhclient virtualbox noop ardour tool encrypt rtsp HDFS RT freedos gdb fido7 lstat tun vim SuperMicro PXE swap find soa ip SpamAssassin newgrp sublime rkhunter gre rtl8723be sysfs php dns vrrpd OpenSSL openvpn LVM dhcp MegaRAID vtysh perl SYN vrrp zRam debian debootstrap DRBD hdparm language bonding in-addr.arpa tar nginx ubuntu slab ulimit deb build lts quagga dovecot apache search mount jackd ipmitool KVM su