mmm, ok, I think I understand.
Why not simply do , instead your conf:
Code:
auto vmbr0
iface vmbr0 inet manual
bridge-ports enp5s4f0
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094
auto vmbr0.100
iface vmbr0.100 inet manual
vlan-id 100
auto vmbr1
iface vmbr1 inet static
address 10.2.0.223/24
gateway 10.2.0.1
bridge-ports enp6s5f0 enp6s5f1 vmbr0.100
bridge-stp off
bridge-fd 0
#Downlink para gest
this (tagging vlan on physical interfaces)
Code:
auto vmbr0
iface vmbr0 inet manual
bridge-ports enp5s4f0 enp6s5f0.100 enp6s5f1.100
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094
auto vmbr0.100
iface vmbr0.100 inet static
address 10.2.0.223/24
gateway 10.2.0.1
or using vlan-aware feature (with ifupdown2 package)
Code:
auto enp6s5f0
iface enp6s5f0
bridge-access 100
auto enp6s5f1
iface enp6s5f1
bridge-access 100
auto vmbr0
iface vmbr0 inet manual
bridge-ports enp5s4f0 enp6s5f0 enp6s5f1
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094
auto vmbr0.100
iface vmbr0.100 inet static
address 10.2.0.223/24
gateway 10.2.0.1