EdgeRouter - Interface Bonding


Overview


Readers will learn how to configure bonded interfaces on EdgeRouters. 

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:

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:

ER-4

  • eth1 - bond0
  • eth2 - bond0
  • bond0.10 (VLAN10) - 10.0.10.1/24
  • bond0.20 (VLAN20) - 10.0.20.1/24

ES-8

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

topology.png

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.

configure

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 10.0.10.1/24
set interfaces bonding bond0 vif 20 address 10.0.20.2/24

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!