How to setup 3x100Mbps channel bonding:
=======================================
PATH = where the files that came with this README are.

The 3 ethers will be either on separate subnets or enslaved into a bonded triple-channel.
Here we assume that eth0 is connected to the outside, and eth1-eth3 are for the bond.
For bonding to work, you must set the hardware (MAC) addresses of the bonded network
cards to equal values. For safety, the provided files will allow you to use eth1-eth3
in two modes: a "separate" mode in which each card is configured individually on a different
subnet; and an "enslaved" mode in which the 3 cards are combined into a bonded channel.
You can switch from one mode to the other through the provided "bonding" init script.
The following only works with Realtek-8139 ethernet chips (for setting of hardware address).


1. Start by configuring the IP addresses:
-----------------------------------------
cd /etc/sysconfig/network-scripts
tar zxvf /PATH/triple-net.tgz
edit the ifcfg-* files in SEPARATE/ and ENSLAVED/

In SEPARATE, you configure eth0-eth3 for separate subnets. In enslaved, eth0 is the same
but eth1-eth3 are enslaved to bond0 and bond0 is configured for the local bonded network.

2. Set the 3 hardware (MAC) addresses of eth1-eth3 to equal values:
-------------------------------------------------------------------
cp /PATH/rtl8139-diag /sbin
rtl8139-diag -ee         to show hardware addresses
rtl8139-diag -p 0xE000 -w -H 10:20:30:00:00:01    to set address of board at IOaddr 0xe000
you need to set it twice for it to be really stored.

3. Copy the bonding init script, that will allow you to activate bonding:
-------------------------------------------------------------------------
cp /PATH/bonding.init.d /etc/rc.d/init.d/bonding
ntsysv        activate bonding

4. Tell kernel that bond0 interface uses "bonding" driver:
----------------------------------------------------------
add "alias bond0 bonding" to /etc/modules.conf

5. Restart network:
-------------------
/etc/rc.d/init.d/network stop
/etc/rc.d/init.d/bonding start
/etc/rc.d/init.d/network start
(you need to turn computer off first if you just changed hardware addresses).
