first you need to create a file called /etc/sysconfig/network-scripts/ifcfg-bond0

put this in the file

GATEWAY=192.168.0.1
BOOTPROTO=none
DEVICE=bond0
MTU=""
NETMASK=255.255.255.0
BROADCAST=192.168.0.255
IPADDR=192.168.0.2
NETWORK=192.168.0.0
ONBOOT=yes
USERCTL=no


second edit file /etc/sysconfig/network-scripts/ifcfg-eth0

and replace with this

BOOTPROTO=none
SLAVE=yes
DEVICE=eth0
MTU=""
NETMASK=""
BROADCAST=""
IPADDR=""
NETWORK=""
MASTER=bond0
USERCTL=no
ONBOOT=yes


third create file /etc/sysconfig/network-scripts/ifcfg-eth1

BOOTPROTO=none
SLAVE=yes
DEVICE=eth1
MTU=""
NETMASK=""
BROADCAST=""
IPADDR=""
NETWORK=""
MASTER=bond0
USERCTL=no
ONBOOT=yes


now reboot system

now after you reboot type ifconfig
and hopefully you should see something like this

root@poppy ~# ifconfig
bond0 Link encap:Ethernet HWaddr 00:30:BD:1F:A3:8E
inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
RX packets:1246986 errors:0 dropped:0 overruns:0 frame:0
TX packets:1642763 errors:0 dropped:0 overruns:4 carrier:0
collisions:0 txqueuelen:0
RX bytes:1305866901 (1245.3 Mb) TX bytes:1708348903 (1629.2 Mb)

eth0 Link encap:Ethernet HWaddr 00:30:BD:1F:A3:8E
inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:1246986 errors:0 dropped:0 overruns:0 frame:0
TX packets:1642763 errors:0 dropped:0 overruns:4 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1305866901 (1245.3 Mb) TX bytes:1708348903 (1629.2 Mb)
Interrupt:12 Base address:0x5000

eth1 Link encap:Ethernet HWaddr 00:30:BD:1F:A3:8E
inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST SLAVE MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:10 Base address:0x7000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2544 errors:0 dropped:0 overruns:0 frame:0
TX packets:2544 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:306108 (298.9 Kb) TX bytes:306108 (298.9 Kb)

root@poppy ~#