EdgeRouter - Interface Bonding


Readers will learn how to configure bonded interfaces on the EdgeRouter.

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

Back to Top

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.


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.


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
set interfaces bonding bond0 vif 20 address

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

Back to Top

EdgeSwitch - Link Aggregation Groups (LAG)

Intro to Networking - How to Establish a Connection Using SSH

Was this article helpful?
65 out of 107 found this helpful