How To Configure Bonding Interface on Ubuntu 16.04 LTS


In this tutorial we will show you how to configure bonding interface on Ubuntu 16.04 LTS server. Using bonding interface method you can push your network trafict based on your lan interface you have, for example we will use 2 gigabit lancard connect to  cisco manageble switch with have been configured for LACP, but in this tutorial we will only cover in linux configuration only. I have use in production server and i got troughput 2 gigabit/second with 2 lan card.

This article assumes you have at least basic knowledge of linux and networking, know how to use the shell, root user or non-root user account with sudo privileges set up on your server.

Step 1 – Update repositories list

First we need to update repository database using these command below

Step 2 – Install additional module

Type the following command

Step 3 – Interface configuration

Before we make cahnges in networ configuration , make sure you backup your network config file using these command.

Edit /etc/network/interfaces , assumes you have interface with name eth0 and eth1

we will configure the server with ip address with default gateway

Here the full configuration in /etc/network/interfaces

Step 4 – Apply network configution

To apply network configuration , you need to restart the server or restart networking service process using these command

See bond0 status and other info:

Example output :

Bond interface ubuntu

You can test your connection using ping command


You may also like...

4 Responses

  1. BestGeorge says:

    I see you don’t monetize your website, don’t waste your traffic, you can earn additional cash every month because you’ve got hi quality
    content. If you want to know how to make extra bucks, search for:
    Ercannou’s essential tools best adsense alternative

  2. I have noticed you don’t monetize your website, don’t waste your traffic, you can earn extra bucks every month.
    You can use the best adsense alternative for any type of website (they approve all websites), for
    more info simply search in gooogle: boorfe’s tips monetize
    your website

  3. kevvo says:

    Thanks Elmarti for that precise and straightforward tutorial!
    Where did you find the documentation for all that? I can’t find informations about /etc/network/interfaces bonding parametres .

Leave a Reply

Your email address will not be published. Required fields are marked *