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

/etc/sysconfig/network-scripts/ifcfg-eth1:

DEVICE=eth1
MASTER=bond0
SLAVE=yes
ONBOOT=yes

/etc/sysconfig/network-scripts/ifcfg-eth2:

DEVICE=eth2
MASTER=bond0
SLAVE=yes
ONBOOT=yes

/etc/sysconfig/network-scripts/ifcfg-bond0:

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.

LANIF="bond0"

-or-

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

Post By Gishore J Kallarackal (2,121 Posts)

Gishore J Kallarackal is the founder of techgurulive. The purpose of this site is to share information about free resources that techies can use for reference. You can follow me on the social web, subscribe to the RSS Feed or sign up for the email newsletter for your daily dose of tech tips & tutorials. You can content me via @twitter or e-mail.

Website: → Techgurulive

Connect