I have setup two lacp bundles as you suggested @baldy3105.
My oes is RHEL6.4 and below are network configs from my server :
File : /etc/sysconfig/network-scripts/ifcfg-eth1
Code:
DEVICE="eth1"
BOOTPROTO="none"
NM_CONTROLLED="no"
ONBOOT="yes"
TYPE="Ethernet"
SLAVE=yes
MASTER=bond0
File : /etc/sysconfig/network-scripts/ifcfg-eth2
Code:
DEVICE="eth2"
BOOTPROTO="none"
NM_CONTROLLED="no"
ONBOOT="yes"
TYPE="Ethernet"
SLAVE=yes
MASTER=bond1
File : /etc/sysconfig/network-scripts/ifcfg-eth3
Code:
DEVICE="eth3"
BOOTPROTO="none"
NM_CONTROLLED="no"
ONBOOT="yes"
TYPE="Ethernet"
SLAVE=yes
MASTER=bond0
File : /etc/sysconfig/network-scripts/ifcfg-eth4
Code:
DEVICE="eth4"
BOOTPROTO="none"
NM_CONTROLLED="no"
ONBOOT="yes"
TYPE="Ethernet"
SLAVE=yes
MASTER=bond1
And bonded device LACP.
File : /etc/sysconfig/network-scripts/ifcfg-bond0
Code:
DEVICE=bond0
ONBOOT=yes
BOOTPROTO=static
BONDING_OPTS="mode=4 miimon=100 min_links=2 lacp_rate=1"
TYPE=Bonding
IPADDR=192.168.122.10
NETMASK=255.255.255.0
BROADCAST=192.168.122.255
DELAY=0
MTU=1500
File : /etc/sysconfig/network-scripts/ifcfg-bond1
Code:
DEVICE=bond1
ONBOOT=yes
BOOTPROTO=static
BONDING_OPTS="mode=4 miimon=100 min_links=2 lacp_rate=1"
TYPE=Bonding
IPADDR=192.168.122.11
NETMASK=255.255.255.0
BROADCAST=192.168.122.255
DELAY=0
MTU=1500
Now I don't know how to create on top of bond0 and bond1 devices, new device (mode=1 active/stdby).
I would like to create one device with IP e.g. 192.168.122.10 in mode=1 that is built from 2 devices in mode=4 : bond0 and bond1.
Could you explain me, how to make that happen ?