The following Howto describes how to bond two or more network interfaces into on bonded interface in CLEAROS. This is known as IEEE 802.1AX-2008 or under the working group title of 802.3ad.
Install the required software packages.
yum install bridge-utils
Here is an example on how to create a bonded interface with eth1 and eth2 network cards.
First, it is necessary to add the underlying drivers on bonded interfaces. In /etc/modprobe.conf, add the following:
alias bond0 bonding
First, you need to manually create or edit the configuration files as follows.
You can leave the HWADDR line alone in the ifcfg-eth* files
DEVICE=eth1 MASTER=bond0 SLAVE=yes ONBOOT=yes
DEVICE=eth2 MASTER=bond0 SLAVE=yes ONBOOT=yes
DEVICE=bond0 BOOTPROTO=none IPADDR=192.168.2.211 NETMASK=255.255.255.0 GATEWAY=192.168.2.1 ONBOOT=yes BONDING_OPTS="mode=5 miimon=80"
An alternate set of options that has worked well in testing, and is compliant with 802.3ad is: options bonding max_bonds=2 mode=4 miimon=100 downdelay=100 updelay=100 lacp_rate=1 xmit_hash_policy=layer3+4 use_carrier=1
You can find more information on bonding modes and parameters by following the link below.
The firewall needs know about your new bond0 network interface. In the /etc/firewall configuration file, update the LANIF parameter.
EXTIF="eth0 bond0" LANIF="eth1 bond1"
Various software packages need to know about this network change. The easiest way to notify these packages about the change is to run:
service syswatch restart