Results 1 to 2 of 2

Thread: How to bond 2 interfaces in Ubuntu 18.04

  1. #1
    Join Date
    Jan 2020

    How to bond 2 interfaces in Ubuntu 18.04


    I'm new to Ubuntu but not Linux. I am struggling to understand how to do NIC bonding on a server mainly because I've never done it before, not even in other Linux systems. The version I am using is 18.04.3. and (please correct me if I am wrong) the way I have understood NIC bonding is that once the bonding configuration is applied the system creates a virtual interface with a virtual MAC address. Many guides online describe which file to edit which also confused me because the filenames differ however one common instruction is that the config file it needs to be inside /etc/netplan and end with .yaml

    I have two interfaces eno1 and enp13s0. At the moment eno1 is live and pinging, enp13s0 is not patched. My question is which IP address should I use in the bonding config file? Should I use the one assigned to eno1 ? For example this link here is probably what I need:

    In his answer he provides the bonding config file created by Ubuntu during installation. then he updates his thread saying that if you want the bonding config to survive reboot then you need to create a new file and add these lines to it:

    addresses: []
    addresses: [,]
    - enp5s4
    - enp5s9
    - enp64s0
    When I go and edit my *.yaml file, which IP should I use?

    Thank you
    Last edited by goudeuk; January 8th, 2020 at 04:54 PM.

  2. #2
    Join Date
    Jun 2020

    Re: How to bond 2 interfaces in Ubuntu 18.04


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts