okay, I put everything together and adapted it to your hints. netplan yaml now looks like this:
Code:
network:
version: 2
renderer: networkd
ethernets:
eno1:
addresses: []
dhcp4: false
dhcp6: false
optional: true
eno2:
addresses: []
dhcp4: false
dhcp6: false
optional: true
bonds:
bond0:
interfaces: [eno1, eno2]
parameters:
mode: 802.3ad
transmit-hash-policy: layer3+4
mii-monitor-interval: 1
lacp-rate: fast
dhcp4: true
dhcp6: false
optional: true
Still I have one big problem, which also occurs without the bond (don't think it happended before I played around though):
My router has 2 DHCP leases to the hostname of my homeserver, one with the MAC of eno2, which is fine and one with a MAC I cannot find when showing ifconfig. Odd thing is that I can ping that address and also ssh onto the server using both IPs.
I guess this weird problem might also continue to exist in the bonding world as both enos get an own IP assigned after a couple of seconds - and from then on the bond isn't working anymore while it worked perfectly for these few seconds.
My current setup for the basic setup without bonding with the off behaviour as described previously looks like this:
Code:
network:
version: 2
renderer: networkd
ethernets:
eno1:
dhcp4: yes
eno2:
dhcp4: yes
Could the old /etc/network/interfaces file have got something to do with it? I stripped it down to this as it had eno1 set to static from old days before:
Code:
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
nothing in interfaces.d
Bookmarks