Score:0

Can't update after NIC Teaming/Bonding Linux Server

it flag

So, I'm a noob when it comes to Networking on Ubuntu. I created a bond/NIC Teaming on my Ubuntu Desktop for the 2 NIC cards that I have on it, but I'm unable to resolve DNS names. This is making my desktop unable to update or upgrade itself. What's weird is that I can ping 8.8.8.8, but I'm just not able to resolve hostnames such as google.com.

/etc/network/interfaces.d

auto ens3 iface ens3 inet manual bond-master bond0

auto eno1 iface eno1 inet manual bond-master bond0

auto bond0 iface bond0 inet static address 172.20.0.101 gateway 172.20.0.1 netmask 255.255.255.0 dns-nameservers 202.151.64.140 8.8.8.8 slaves ens3 eno1 bond-mode 2 bond-miimon 100 bond-lacp-rate 1

Testing Outside Conenection

Score:0
it flag

So, just in case someone wants the answer. I was able to figure it out. If you upgraded to Ubuntu 20.04 you'll have to use netplan to bond your interfaces versus ifenslave.

The yaml file can be found in /etc/netplan/01-network-manger-all.yaml

Here is my example

network:
    version: 2
    renderer: networkd
    ethernets:
        ens3:
           dhcp4: no
        eno1:
           dhcp4: no
    bonds:
        bond0:
            dhcp4: yes
            interfaces: [ens3, eno1]
            addresses: [172.20.0.101/24]
            parameters:
                mode: balance-xor
                primary: ens3

The literature can be found @ https://netplan.io/examples/

Hope this helps. Wanting to rack up some points here in StackExchange as well.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.