Network bond not working after upgrade to 7.0

renovatr

New Member
Apr 15, 2021
2
0
1
39
Hi, i have been using proxmox 6.4 with network bonding for the past 15 months and everything had been working fine. Today i decided to upgrade proxmox to version 7, it went fine except network bonding... I have been playing around with different options, checking the forum to find a way to fix it but nothing worked. I would appreciate if someone can help...

Switch is a unifi 16xg, server is attached to the switch with 2 dac cables capable of 10gbit each... Switch has aggregation enabled for the last 15 months, nothing changed there and i just checked to make sure...

this is my /etc/network/interfaces file content
Code:
auto lo
iface lo inet loopback

auto enp23s0f0
iface enp23s0f0 inet manual

auto enp23s0f1
iface enp23s0f1 inet manual

auto bond0
iface bond0 inet manual
        bond-slaves enp23s0f0 enp23s0f1
        bond-miimon 100
        bond-mode 802.3ad
        bond-xmit-hash-policy layer2+3

auto vmbr0
iface vmbr0 inet static
        address 192.168.1.155/24
        gateway 192.168.1.1
        bridge-ports bond0
        bridge-stp off
        bridge-fd 0
        bridge-vlan-aware yes
        bridge-vids 2-4094
        hwaddress ff:ff:ff:ff:ff:ff

I can change bridge-ports to enp23s0f0 or enp23s0f1 and it works with 10gbit connection, when i change it to bond0 it just doesnt work. I also checked with "ip -c link" command and when bridge-ports set to bond0 it says down on both vmbr0 and bond0...
 
I wasnt using it, during update i read the manual and there were 2 options, using ifupdown2 and hard coding hwaddress. Instead of installing ifupdown2 i used other method.

Thanks for the question, it nudged me to right direction... I just installed ifupdown2 and it somehow fixed the problem, i am now able to see 20gbit/s and full duplex at ethtool for bond0


Code:
Settings for bond0:
        Supported ports: [  ]
        Supported link modes:   Not reported
        Supported pause frame use: No
        Supports auto-negotiation: No
        Supported FEC modes: Not reported
        Advertised link modes:  Not reported
        Advertised pause frame use: No
        Advertised auto-negotiation: No
        Advertised FEC modes: Not reported
        Speed: 20000Mb/s
        Duplex: Full
        Auto-negotiation: off
        Port: Other
        PHYAD: 0
        Transceiver: internal
        Link detected: yes

I also noticed that my nvidia drivers are not working so i am now focused to that, thanks for the help...