Link Aggregation and High Availability with channel Bonding

Channel bonding treats multiple physical connections to switch units as a single logical link.

1. Create /etc/sysconfig/network-scripts/ifcfg-bond0 file with following entries:

DEVICE=bond0
IPADDR=10.1.10.33
NETMASK=255.255.255.0
NETWORK=10.1.10.0
BROADCAST=10.1.10.255
ONBOOT=yes
GATEWAY=10.1.10.1
BOOTPROTO=none
USERCTL=no

2. Create an ifcfg-ethn file for each interface in the bond.

l Our /etc/sysconfig/network-scripts/ifcfg-eth0 file

DEVICE=eth0

USERCTL=no

ONBOOT=yes

MASTER=bond0

SLAVE=yes

BOOTPROTO=none

2 Our /etc/sysconfig/network-scripts/ifcfg-eth1 file

DEVICE=eth1

USERCTL=no

ONBOOT=yes

MASTER=bond0

SLAVE=yes

BOOTPROTO=none

3. Add the following lines to /etc/modules.conf:

alias bond0 bonding
options bond0 miimon=100 mode=1

4. restart networking

service network restart

About anuj

Don't go for looks; they can deceive. Don't go for wealth; even that fades away. Go for someone who makes you smile because it takes only a smile to make a dark day seem bright.
This entry was posted in Linux. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>