[email protected]Support 24/7 · Billing 09:00 – 00:00LinkedInXFacebook
NexonHost
Netherlands Dedicated ServersAmsterdam · Equinix AM6Germany Dedicated ServersFrankfurt · Equinix FR4Romania Dedicated ServersBucharest · VoxilityAustria Dedicated ServersVienna · Interxion VIEBulgaria Dedicated ServersSofia · TelepointFrance Dedicated ServersParis · Interxion PAR — Marseille · Digital Realty MRS3Ireland Dedicated ServersDublin · Equinix DB2Italy Dedicated ServersMilan · Irideos AvalonPoland Dedicated ServersWarsawSpain Dedicated ServersMadrid · Equinix MD2United States Dedicated ServersAshburn · Equinix DC
All articles
Getting startedJuly 24, 2023

How to set up LACP bonding with Netplan

How to set up LACP bonding with Netplan

Step 1 – Login using SSH

Step 2 – Install the ifenslave dependency

  • sudo apt-get install ifenslave

Step 3: Load bonding kernel module

Before you can configure the network cards you need to ensure that the kernel module called bonding is present and loaded.

  • sudo lsmod | grep bonding

If the module is not loaded. Use the following command to load it

  • sudo modprobe bonding

To ensure that the bonding module is loaded during boot time change file the following file

  • sudo nano /etc/modules

Add the following line:

  • bonding

Step 4 – find the active network interface

  • clear && echo $(ip -o -4 route get 8.8.8.8 | sed -nr ‘s/.*dev ([^\ ]+).*/\1/p’)

Step 5 – Configure the network interface

The output of step 4 is the network interface which is active at the moment. You should use that name for the bond. In our case this is eno1 and the second interface eno2

  • # This is the network config written by ‘subiquity’
  • network:
  • bonds:
  • bond0:
  • addresses:
  • – 89.47.232.155/27
  • gateway4: XX.XX.XX.XX
  • interfaces:
  • – eno1
  • – eno2
  • nameservers:
  • addresses:
  • – 8.8.8.8
  • search: []
  • parameters:
  • lacp-rate: fast
  • mode: 802.3ad
  • transmit-hash-policy: layer3+4
  • mii-monitor-interval: 100
  • ethernets:
  • eno1: {}
  • eno2: {}
  • version: 2

Apply the changes

  • sudo netplan apply

Step 6 – Reboot

  • reboot
Keep reading
How to Install Updates on CentOS 7.
September 7, 2023

How to Install Updates on CentOS 7.

How To Install Updates On CentOS 7. In this tutorial, we will show you how to manually update system packages on CentOS 7. The same instructions apply for CentOS 6. Updating Packages on CentOS RPM is a packaging system used by Red Hat and its derivatives such as CentOS. Yum is the default package…

Read article
How to List and Delete UFW Firewall Rules.
September 6, 2023

How to List and Delete UFW Firewall Rules.

How To List And Delete UFW Firewall Rules. In this tutorial, we will cover how to list and delete UFW firewall rules. UFW stands for Uncomplicated Firewall, and is a user-friendly frontend for managing iptables (netfilter) firewall rules. It is the default firewall configuration tool for Ubuntu…

Read article
How to List Groups in Linux.
September 6, 2023

How to List Groups in Linux.

How To List Groups In Linux This tutorial explains how to show all groups a user is a member of. We will also explain how to list all members of a group. Linux Groups There are two types of groups that a user can belong to: Primary or login group – is the group…

Read article
Get in Touch

Together, Let’s Build a Faster, Safer Internet.

Build scalable infrastructure with NexonHost — high-performance dedicated servers, VPS hosting, cloud hosting, and DDoS protection across Europe.

Get Started →Contact Us
[email protected]Support 24/7 · Billing 09:00 – 00:00