EdgeRouter - Interface Bonding


Readers will learn how to configure bonded interfaces on EdgeRouters. 

Applicable to the latest EdgeOS firmware on all EdgeRouter models. Please see the Related Articles below for more information.
Device used in this article:

Table of Contents

  1. Network Diagram
  2. Adding Bonded Interfaces
  3. Related Articles

Network Diagram

Back to Top

The network topology is shown below and the following interfaces are in use on the EdgeRouter and the EdgeSwitch:


  • eth1 - bond0
  • eth2 - bond0
  • bond0.10 (VLAN10) -
  • bond0.20 (VLAN20) -


  • 0/7 (LAG1) - Tagged (T) VLAN10,20
  • 0/8 (LAG1) - Tagged (T) VLAN10,20


Have a look at our Link Aggregation Groups article for the EdgeSwitch side of the configuration. 

Adding Bonded Interfaces

Back to Top

CLI: Access the command line interface (CLI). 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

3. Create the bond interface and define the hashing policy and bonding mode.

set interfaces bonding bond0 mode 802.3ad
set interfaces bonding bond0 hash-policy layer2

4. Add the VIFs to the bond0 interface and associate the IP addresses.

set interfaces bonding bond0 vif 10 address
set interfaces bonding bond0 vif 20 address

5. Add the eth1 and eth2 interfaces to the bond group.

set interfaces ethernet eth1 bond-group bond0
set interfaces ethernet eth2 bond-group bond0

6. 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

We're sorry to hear that!