Example:
[phn.org.ua ~]$ sudo cat /etc/modprobe.conf
. . .
alias bond0 bonding
file /etc/sysconfig/network-scripts/ifcfg-bond0
DEVICE=bond0
BOOTPROTO=none
IPADDR=10.20.200.101
NETMASK=255.255.255.0
ONBOOT=yes
TYPE=Ethernet
USERCTL=no
BONDING_OPTS="mode=0 miimon=100"
file /etc/sysconfig/network-scripts/ifcfg-eth1
# Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet
DEVICE=eth1
HWADDR=e4:1f:7c:6b:7c:df
ONBOOT=yes
BOOTPROTO=none
TYPE=Ethernet
USERCTL=no
MASTER=bond0
SLAVE=yes
file /etc/sysconfig/network-scripts/ifcfg-eth2
# Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet
DEVICE=eth2
HWADDR=E4:1F:13:8B:22:3f
ONBOOT=yes
BOOTPROTO=none
TYPE=Ethernet
USERCTL=no
MASTER=bond0
SLAVE=yes
run
modprobe bonding
service network restart
cat /proc/net/bonding/bond0
Aliase for bonding /etc/sysconfig/network-scripts/ifcfg-bond0:1
DEVICE=bond0:1
BOOTPROTO=static
IPADDR=192.168.0.2
NETMASK=255.255.255.192
ONBOOT=yes
USERCTL=no
Manual bonding setup:
ifconfig eth0 0.0.0.0 up
ifconfig eth1 0.0.0.0 up
ifenslave bond0 eth0 eth1
ifconfig bond0 192.168.0.1 netmask 255.255.255.0 up