# CD /etc/sysconfig/network-Scripts/ # VI Ifcfg-Bond0 We'll Be Using Mode 6 (Balance-Alb)
# CD /etc/sysconfig/network-Scripts/ # VI Ifcfg-Bond0 We'll Be Using Mode 6 (Balance-Alb)
# vi ifcfg-eth0
1 2 3 4 5 6 DEVICE=eth0 BOOTPROTO=none ONBOOT=yes MASTER=bond0 SLAVE=yes USERCTL=no
# vi ifcfg-eth1
1 2 3 4 5 6 DEVICE=eth1 BOOTPROTO=none ONBOOT=yes MASTER=bond0 SLAVE=yes USERCTL=no
# vi ifcfg-eth2
1 2 3 DEVICE=eth2 BOOTPROTO=none ONBOOT=yes
4 5 6
Due to the fact that /etc/modprobe.conf has been deprecated in CentOS 6, the process of bonding network interfaces has changed a bit. Now instead of defining your bond in your /etc/modprobe.conf, you define it in /etc/modprobe.d/bonding.conf # vi /etc/modprobe.d/bonding.conf Append the following onto the end out your modprobe config file
1 alias bond0 bonding