VLAN interface - attach to vmbr0 or bond0?

tt2468

Active Member
Jan 24, 2019
22
2
43
45
Hello,

So I've got a few servers where they are connected to our ethernet switch via an LACP bond. It's basically like:

Code:
vmbr0 (vlan aware) -> bond0 -> eno1, eno2

We need to add a vlan interface in order to access our storage network VLAN on the bond. My question is, do I attach the vlan interface to `vmbr0` or to `bond0`? My guess would be to use bond0 as it may have lower overhead, but I'm unsure if that could pose any kind of issues I don't know about.

Code:
This?
vmbr0  -> bond0 -> eno1, en02
vlan20 ->

Or this?
vlan20 -> vmbr0 -> bond0 -> eno1, eno2

Thanks!
 
That's not quite what I'm asking. I'm asking whether I should attach my `vlan20` interface to `vmbr0` or `bond0`. Both configurations seem to work, but I haven't been able to find any documentation on possible issues with having a vlan *and* a bridge attached to one interface (bond0).