to quickly create a Network bondign on eth0 and eth1 on CentOS and RedHat do the following:

cd /etc/sysconfig/network-scripts

vi ifcfg-eth1        # fill the following

DEVICE=eth1
USERCTL=no
ONBOOT=yes
MASTER=bond0
SLAVE=yes
BOOTPROTO=none

vi ifcfg-eth0     # fill the following

DEVICE=eth0
USERCTL=no
ONBOOT=yes
MASTER=bond0
SLAVE=yes
BOOTPROTO=none

vi ifcfg-bond0

DEVICE=bond0
IPADDR=192.168.1.100
NETWORK=192.168.1.0
NETMASK=255.255.255.0
GATEWAY=192.168.1.1
DNS1=192.168.1.1
DNS2=192.168.1.2
USERCTL=no
BOOTPROTO=none
ONBOOT=yes

(replace the above IP addresses with your network details.)

reboot

%d bloggers like this: