How to configure Ethernet bonding in Airwave when LACP is configured on Switch
When Customer has configured LACP on switch, we need to follow the below configuration in Airwave to setup bonded interface.
Configuration for "ifcfg-bond0" file, we need to create "ifcfg-bond0" file in "/etc/sysconfig/network-scripts/" directory using the below command and add the below configuration.
Note : In the config file "ifcfg-bond0", we need to give correct IP address, Subnet mask, network address, broadcast address and gateway based on Customer's network. Here in the sample file we have added X.X.X.X
# cd /etc/sysconfig/network-scripts
# vi ifcfg-bond0
BONDING_OPTS="miimon=100 updelay=0 downdelay=0 mode=802.3ad primary=eth0"
After saving the "ifcfg-bond0" file, we need to edit "ifcfg-eth0" and "ifcfg-eth1" and add the configuration as below.
# vi ifcfg-eth0
# vi ifcfg-eth1
Then we need to edit "bonding.conf" file using the below commands, add the line "alias bond0 bonding" which is show below and save the file.
# cd /etc/modprobe.d/
# vi bonding.conf
alias bond0 bonding
After that restart network service using the below command.
# service network restart
After making this change,we must tell Airwave to use the bond0 interface for things like links in email alerts and commands for devices to fetch firmware images from the AMP. The below command will do that.
# dbc "update seas_config set ap_facing_amp_interface = 'bond0'";
Note : We would suggest make the above configuration using Console access as we are making the change on interface.