LAN Bonding
U
SER
G
UIDE
135
LAN
B
ONDING
It is possible to enable the Link Aggregation Control Protocol LACP 802.3ad protocol by using the
splitting functionality of the LAN ports with the command:
set lan-splitting on
This command provides the ability to aggregate more Ethernet ports and to manage them as a
single logical one. The traffic can be sent at the same time to all the ports or you can set one port
only as active and the other as backup.
Typical examples are:
Bonding in LACP 802.3ad mode:
set lan-bonding bond0 mode 802.3ad
set lan-bonding bond0 miimon 100
set lan-bonding bond0 slave eth1
set lan-bonding bond0 slave eth2
set lan-bonding bond0 on
Bonding in LACP active-backup mode:
set lan-bonding bond0 mode active-backup
set lan-bonding bond0 miimon 100
set lan-bonding bond0 primary eth1
set lan-bonding bond0 slave eth2
set lan-bonding bond0 on
In the first example, the packets are sent to both
eth1
and
eth2
ports, according to protocol
802.3ad. If a port is unavailable, the traffic is diverted only on the active port.
The second example shows that the traffic is diverted only on the
eth1
port, but if this port is
unavailable, the
eth2
port is used.
If you want to check the availability of a port, you have to control the link state. The parameter
set lan-bonding bond0 miimon 100
sets the frequency in milliseconds to be used in the check status process.
The logic interface that is created is called
bond0
and you can configure a VLAN on it:
set vlan add vid 100 interface bond0
set vlan bond0.100 description Bonding-eth1-eth2
set vlan bond0.100 ipaddr 192.168.100.1 netmask 255.255.255.0
To control the bonding port status use:
show lan-bonding status