Below is the server side configuration for mode 6.
When combining nics eth0 and eth1 into a bonded nic port channel do the following.
1)
Add/Edit the BOND configuration file in /etc/sysconfig/network-scripts/ifcfg-bond0
DEVICE=bond0
IPADDR=192.168.122.12
NETMASK=255.255.255.0
GATEWAY=192.168.122.1
NM_CONTROLLED=no
BOOTPROTO=none
ONBOOT=yes
USERCTL=no
2) Empty the /etc/sysconfig/network-scripts/ifcfg-eth0 file and add the following:
DEVICE=eth0
USERCTL=no
ONBOOT=yes
NM_CONTROLLED=no
MASTER=bond0
SLAVE=yes
BOOTPROTO=none
3) Empty the /etc/sysconfig/network-scripts/ifcfg-eth1 file and add the following:
DEVICE=eth1
USERCTL=no
ONBOOT=yes
NM_CONTROLLED=no
MASTER=bond0
SLAVE=yes
BOOTPROTO=none
***Note, if
NM_CONTROLLED
is set, you should strictly define your HWADDR
entries too at this step, for each interface. I did not do this in my configuration above.3) Create the bond configuration file at: /etc/modprobe.d/bonding.conf and add in:
aliasbond0 bonding
options bond0 mode=6 miimon=100downdelay=200updelay=200
4) Your done, restart networking:
service network restart
5) Check your bond configuration via:
ifconfig
and
cat /proc/net/bonding/bond0
4) Your done, restart networking:
service network restart
5) Check your bond configuration via:
ifconfig
and
cat /proc/net/bonding/bond0