EdgeRouter - Interface Bonding
Overview
Readers will learn how to configure bonded interfaces on the EdgeRouter.
NOTES & REQUIREMENTS:
Applicable to the latest EdgeOS firmware on all EdgeRouter models. Please see the Related Articles below for more information.
Device used in this article:
Adding Bonded Interfaces
ATTENTION: The v2.0.0 EdgeOS firmware adds bonding offloading support. See theHardware Offloading article for more information.
The Ethernet ports will be bonded under a single logical interface. See the Link Aggregation Groups article for the EdgeSwitch configuration.
CLI: Access the Command Line Interface.You can do this using the CLI button in the GUI or by using a program such as PuTTY.
1. Enter configuration mode.
configure
2. Delete the existing configuration from the eth1 and eth2 interfaces.
delete interfaces ethernet eth1
delete interfaces ethernet eth2
set interfaces ethernet eth1
set interfaces ethernet eth2
3. Commit the changes.
commit
4. Create the bonded interface and define the hashing policy and bonding mode.
set interfaces bonding bond0 mode 802.3ad
set interfaces bonding bond0 hash-policy layer2
NOTE:The 802.3ad bonding mode uses the Link Aggregation Control Protocol (LACP).
5. Add the VLAN interfaces to the bond0 interface and associate the IP addresses.
set interfaces bonding bond0 vif 10 address 10.0.10.1/24
set interfaces bonding bond0 vif 20 address 10.0.20.2/24
6. Add the eth1 and eth2 interfaces to the bond group.
set interfaces ethernet eth1 bond-group bond0
set interfaces ethernet eth2 bond-group bond0
7. Commit the changes and save the configuration.
commit ; save
Related Articles
EdgeSwitch - Link Aggregation Groups (LAG)
Intro to Networking - How to Establish a Connection Using SSH