How To Configure Bonding Interface on Ubuntu 16.04 LTS

xenial

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.

Prerequisites
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 202.1.2.10/24 with default gateway 202.1.2.1

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

1 Response

  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

Leave a Reply

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