Monitoring, Management & Location Tracking

How to configure Ethernet bonding in Airwave when LACP is configured on Switch

MVP Expert
MVP Expert
Q:

How to configure Ethernet bonding in Airwave when LACP is configured on Switch



A:

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


DEVICE=bond0
BONDING_OPTS="miimon=100 updelay=0 downdelay=0 mode=802.3ad primary=eth0"
BONDING_MASTER=yes
BOOTPROTO=none
USERCTL=no
DEFROUTE=yes
PEERROUTES=yes
IPADDR=X.X.X.X
NETMASK=X.X.X.X
BROADCAST=X.X.X.X
NETWORK=X.X.X.X
GATEWAY=X.X.X.X
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
ONBOOT=yes
#TYPE=Ethernet

After saving the "ifcfg-bond0" file, we need to edit "ifcfg-eth0" and "ifcfg-eth1" and add the configuration as below.

# vi ifcfg-eth0


DEVICE=eth0
BOOTPROTO=none
ONBOOT=yes
MASTER=bond0
SLAVE=yes
USERCTL=no
TYPE=Ethernet

# vi ifcfg-eth1


DEVICE=eth1
BOOTPROTO=none
ONBOOT=yes
MASTER=bond0
SLAVE=yes
USERCTL=no
TYPE=Ethernet

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.

Version history
Revision #:
2 of 2
Last update:
‎06-08-2019 04:10 AM
Updated by:
 
Labels (1)
Contributors
Comments

Note I needed to modify the following in order to make this work on Airwave 8.2.8.1.

For ifcfg-bond0

 

BONDING_OPTS: remove the 'primary=eth0' option. This appears to be an invalid option when mode=802.3ad and causes an error when initializing the device.

 

BROADCAST=X.X.X.X
NETWORK=X.X.X.X

^These options can be removed if they are not used in the configuration. I think in most cases they will not be used.

Search Airheads
cancel
Showing results for 
Search instead for 
Did you mean: