vmbro0 make drops

ben29

New Member
Dec 13, 2023
11
0
1
here is my config before using vmbro0
(this setting comes from Vultr cloud-init settings)

/etc/network/interfaces
Code:
auto lo
iface lo inet loopback

auto enp1s0f0
iface enp1s0f0 inet static
    address 78.141.214.116/23
    dns-nameservers 108.61.10.10
    post-up route add default gw 78.141.214.1 || true
    pre-down route del default gw 78.141.214.1 || true
    post-up route add -host 169.254.169.254/32 gw 78.141.214.1 || true
    pre-down route del -host 169.254.169.254/32 gw 78.141.214.1 || true
    post-up route add -net 169.254.0.0/16 gw 78.141.214.1 || true
    pre-down route del -net 169.254.0.0/16 gw 78.141.214.1 || true

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug enp0s2
iface enp0s2 inet dhcp

works perfect! the interface has no RX DROPS!


now with the vmbr0

Code:
auto lo
iface lo inet loopback

auto enp1s0f0
iface enp1s0f0 inet manual

auto vmbr0
iface vmbr0 inet static
        address 78.141.214.116/23
        dns-nameservers 108.61.10.10
        post-up route add default gw 78.141.214.1 || true
        pre-down route del default gw 78.141.214.1 || true
        post-up route add -host 169.254.169.254/32 gw 78.141.214.1 || true
        pre-down route del -host 169.254.169.254/32 gw 78.141.214.1 || true
        post-up route add -net 169.254.0.0/16 gw 78.141.214.1 || true
        pre-down route del -net 169.254.0.0/16 gw 78.141.214.1 || true
        bridge-ports enp1s0f0
        bridge-stp off
        bridge-fd 0
        bridge-disable-mac-learning 1
        bridge-vlan-aware yes
        bridge-vids 2-4094

# The primary network interface
allow-hotplug enp0s2
iface enp0s2 inet dhcp


and there is a lot of drops....

i found on the tcpdump this:

08:57:49.481102 STP 802.1w, Rapid STP, Flags [Learn, Forward, Agreement], bridge-id 8000.f0:d4:e2:18:d0:07.801e, length 36
08:57:51.480511 STP 802.1w, Rapid STP, Flags [Learn, Forward, Agreement], bridge-id 8000.f0:d4:e2:18:d0:07.801e, length 36



any kind of help?
pease?