How to bind network cards together in Linux

edit the /etc/modprobe.conf file and add the following:

-----------------Start example---------------------------

alias bond0 bonding
options bond0 miimon=80 mode=5

-----------------End example---------------------------


Create the file /etc/sysconfig/network-scripts/ifcfg-bond0 with the following content

-----------------Start example---------------------------
DEVICE=bond0
IPADDR=<ip address>
NETMASK=255.255.255.0
GATEWAY=<gateway address>
ONBOOT=yes
BOOTPROTO=none
USERCTL=no
-----------------End example---------------------------

Edit the /etc/sysconfig/network-scripts/ifcfg-eth0 to look likr the following:
-----------------Start example---------------------------
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=none
USERCTL=no
MASTER=bond0
SLAVE=yes
-----------------Start example---------------------------

Edit the /etc/sysconfig/network-scripts/ifcfg-eth1 to look likr the following:
-----------------Start example---------------------------
DEVICE=eth1
ONBOOT=yes
BOOTPROTO=none
USERCTL=no
MASTER=bond0
SLAVE=yes
-----------------Start example---------------------------
Restart networking with the command "service network restart" 

Should now be working