proxmox 8.x Problem using vlan and bonding

Dataaja95

New Member
Jan 10, 2024
15
0
1
In bonding, I use the active-backup solution for interfaces and the interfaces are
Tagged to different vlans, such as virtual machines, cluster, etc., this just doesn't seem to work, connections go down, and I can't ping other machines in vlans or external services on the internet
you, is my configuration correct or is it incorrect.

https://pastebin.com/wEyUiQyC
 
Last edited:
Please use the code formatting in the post. its very difficult to read.
 
Code:
auto lo

iface lo inet loopback
# managementlacp

auto bond0
iface bond0 inet manual
    bond-slaves enp2s0f0 enp2s0f1
    bond-miimon 100
    bond-downdelay 200
    bond-updelay 200
    bond-mode active-backup
# managementbridge

auto vmbr0
iface vmbr0 inet static
address 192.168.1.6/24
    gateway 192.168.1.1
    bridge-ports bond0
    bridge-stp off
    bridge-fd 0
    bridge-vlan-aware yes
    bridge-vids 2-4094
# management

iface enp2s0f0 inet manual
# hallintabackup

iface enp2s0f1 inet manual
# virtualisointilacp

auto bond1
iface bond1 inet manual
bond-slaves enp131s0f0 enp131s0f1
bond-miimon 100
bond-downdelay 200
bond-updelay 200
bond-mode active-backup

iface bond1.20 inet manual
# virtualmachinesbridge

auto vmbr1v20
iface vmbr1v20 inet static
address 192.168.3.2/24
bridge-ports bond1.20
bridge-stp off
bridge-fd 0
#bridge-vlan-aware yes
#bridge-vids 2-4094

auto vmbr1
iface vmbr1 inet manual
        bridge-ports bond1
        bridge-stp off
        bridge-fd 0
# virtualisointi

iface enp131s0f0 inet manual
# virtualisointibackup

iface enp131s0f1 inet manual
# klusteribridge

auto vmbr2v30
iface vmbr2v30 inet manual
address 192.168.4.2/24
    bridge-ports bond4.30
    bridge-stp off
    bridge-fd 0
#bridge-vlan-aware yes
#bridge-vids 2-4094

auto vmbr2
iface vmbr2 inet manual
        bridge-ports bond4
        bridge-stp off
        bridge-fd 0
# klusteri

iface enp131s0f2 inet manual
# klusteribackup

iface enp131s0f3 inet manual
# klusterilacp

auto bond4
iface bond4 inet manual
bond-slaves enp131s0f2 enp131s0f3
bond-miimon 100
bond-downdelay 200
bond-updelay 200
bond-mode active-backup

iface bond4.30 inet manual
# cephjulkiverkkolacp

#auto bond2
#iface bond2 inet manual
#bond-slaves enp5s0f3 enp6s0f3
#bond-miimon 100
#bond-downdelay 200
#bond-updelay 200
#bond-mode active-backup
#bond-primary enp5s0f3

#auto vmbr3
#iface vmbr3 inet manual
#address 192.168.5.4/24
#bridge-ports bond2
#bridge-stp off
#bridge-fd 0
# cephjulkiverkko

#iface enp5s0f3 inet manual
# cephjulkiverkkobackup
#iface enp6s0f3 inet manual
# cephlacp

auto bond3
iface bond3 inet manual
    bond-slaves enp130s0 enp4s0
    bond-miimon 100
    bond-downdelay 200
    bond-updelay 200
    bond-mode active-backup

iface bond3.40 inet manual
# cephbridge

auto vmbr4v40
iface vmbr4v40 inet manual
address 192.168.5.2/24
bridge-ports bond3.40
bridge-stp off
bridge-fd 0
#bridge-vlan-aware yes
#bridge-vids 2-4094

auto vmbr4
iface vmbr4 inet manual
        bridge-ports bond3
        bridge-stp off
        bridge-fd 0
# ceph

iface enp130s0 inet manual
# cephbackup

iface enp4s0 inet manual
 
Last edited:
Last edited:
Hi,

It's very strange as i know my network conf is correct and lacp + vlan its working but in the netdata monitor i have alarm always System network interface vmbr0 inbound drops and it's not less. I checked my another proxmox host which is not configured vlan and lacp it has too ...

Strangely; It seems like everything working fine ...


auto lo
iface lo inet loopback

auto eno1
iface eno1 inet manual

auto eno2
iface eno2 inet manual

auto eno3
iface eno3 inet manual

auto eno4
iface eno4 inet manual

auto bond0
iface bond0 inet manual
bond-slaves eno1 eno2 eno3 eno4
bond-miimon 100
bond-mode 802.3ad
bond-xmit-hash-policy layer2+3

auto vmbr0
iface vmbr0 inet static
address xxx.xx.x.xx/24
gateway xxx.xx.x.x
bridge-ports bond0
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094