Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

No internet after bond

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
ratnose
Posts: 2
Joined: 2019-04-08 20:00

No internet after bond

#1 Post by ratnose »

Hello all!
First time poster here so be gentle... I am trying to setup a bond with Debian 9.
Heres my interface file:

Code: Select all

# The primary network interface
allow-hotplug enp1s0
#iface enp1s0 inet manual
#    bond-master bond0

allow-hotplug enp4s0
#iface enp4s0 inet manual
#    bond-master bond0

auto bond0
iface bond0 inet static
    address 10.20.1.90
    gateway 10.10.1.1
    netmask 255.255.255.0
    mtu 9000
    dsn-nameservers 10.20.1.1 1.1.1.1

    bond-mode 4
    bond-miimon 100
    bond-lacp-rate 1
    bond-slaves enp1s0 enp4s0
ip a says it is up, ifconfig says the same thing, but still I cannot reach internet, I can ssh into the machine, first I forgot to add dns-servers so I hit my head in the wall and added that but still no difference - more than a headache...

I am pretty sure I've made a beginner mistake, I've been dabbling with Netplan och ubuntu for a few years that must be why.
Please help!

p.H
Global Moderator
Global Moderator
Posts: 3049
Joined: 2017-09-17 07:12
Has thanked: 5 times
Been thanked: 132 times

Re: No internet after bond

#2 Post by p.H »

ratnose wrote:I cannot reach internet
This statement does not provide any useful information.
What is at the other end of the links ?
The gateway address must belong to the subnet range. 10.10.1.1 does not belong to 10.20.1.0/24.

ratnose
Posts: 2
Joined: 2019-04-08 20:00

Re: No internet after bond

#3 Post by ratnose »

p.H wrote:
ratnose wrote:I cannot reach internet
This statement does not provide any useful information.
What is at the other end of the links ?
The gateway address must belong to the subnet range. 10.10.1.1 does not belong to 10.20.1.0/24.
But you found my mistake... the IP series is 10.20.1.0 nothing else. I was tired when I configured this, I have to blame on something rather than admitting I am a noob. :)

Post Reply