Bond0 for Management

rbjohnson78

Member
Aug 8, 2022
32
0
11
Is it possible to use a bond for the management network and also be VLAN aware? I'm assuming I just need to use a sub interface.
 
Yes, the bridge is VLAN aware, the bridge connects to the bond, the bond connects to the interfaces.

INI:
# Interface 1
auto eno12399np0
iface eno12399np0 inet manual

# Interface 2
auto eno12409np1
iface eno12409np1 inet manual

# Public LACP
auto bond0
iface bond0 inet manual
        bond-slaves eno12399np0 eno12409np1
        bond-miimon 100
        bond-mode 802.3ad
        bond-xmit-hash-policy layer2+3

# Guest bridge
auto vmbr0
iface vmbr0 inet manual
        bridge-ports bond0
        bridge-stp off
        bridge-fd 0
        bridge-vlan-aware yes
        bridge-vids 100 101 102 110

# Management interface
auto vmbr0.110
iface vmbr0.110 inet static
        address 10.x.x.x/24
        gateway 10.x.x.x
 
Yes, the bridge is VLAN aware, the bridge connects to the bond, the bond connects to the interfaces.

INI:
# Interface 1
auto eno12399np0
iface eno12399np0 inet manual

# Interface 2
auto eno12409np1
iface eno12409np1 inet manual

# Public LACP
auto bond0
iface bond0 inet manual
        bond-slaves eno12399np0 eno12409np1
        bond-miimon 100
        bond-mode 802.3ad
        bond-xmit-hash-policy layer2+3

# Guest bridge
auto vmbr0
iface vmbr0 inet manual
        bridge-ports bond0
        bridge-stp off
        bridge-fd 0
        bridge-vlan-aware yes
        bridge-vids 100 101 102 110

# Management interface
auto vmbr0.110
iface vmbr0.110 inet static
        address 10.x.x.x/24
        gateway 10.x.x.x
Great! I assumed correctly. Thank you!