I've found a few examples, pros and cons? Every connection is a 10GB Trunked nic and management ip needs to be on vlan 10. Both seem to work and I'm running off Example 2, just curious which is better?
Example 1:
auto lo
iface lo inet loopback
iface eno1 inet manual
iface eno1.10 inet manual
auto vmbr0v10
iface vmbr0v10 inet static
address 10.223.222.101/23
gateway 10.223.223.220
bridge-ports eno1.10
bridge-stp off
bridge-fd 0
auto vmbr0
iface vmbr0 inet manual
bridge-ports eno1
bridge-stp off
bridge-fd 0
iface eno2 inet manual
iface enp7s0f0 inet manual
iface enp7s0f1 inet manual
source /etc/network/interfaces.d/*
Example 2:
auto lo
iface lo inet loopback
iface eno1 inet manual
auto vmbr0.10
iface vmbr0.10 inet static
address 10.223.222.101/23
gateway 10.223.223.220
auto vmbr0
iface vmbr0 inet manual
bridge-ports eno1
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 10,20,30
iface eno2 inet manual
iface enp7s0f0 inet manual
iface enp7s0f1 inet manual
source /etc/network/interfaces.d/*
Example 1:
auto lo
iface lo inet loopback
iface eno1 inet manual
iface eno1.10 inet manual
auto vmbr0v10
iface vmbr0v10 inet static
address 10.223.222.101/23
gateway 10.223.223.220
bridge-ports eno1.10
bridge-stp off
bridge-fd 0
auto vmbr0
iface vmbr0 inet manual
bridge-ports eno1
bridge-stp off
bridge-fd 0
iface eno2 inet manual
iface enp7s0f0 inet manual
iface enp7s0f1 inet manual
source /etc/network/interfaces.d/*
Example 2:
auto lo
iface lo inet loopback
iface eno1 inet manual
auto vmbr0.10
iface vmbr0.10 inet static
address 10.223.222.101/23
gateway 10.223.223.220
auto vmbr0
iface vmbr0 inet manual
bridge-ports eno1
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 10,20,30
iface eno2 inet manual
iface enp7s0f0 inet manual
iface enp7s0f1 inet manual
source /etc/network/interfaces.d/*
Last edited: