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

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