support vlan-aware bridges (vlan-filtering)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
netplan |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
It would be useful for netplan to support vlan-aware bridge configuration. In this configuration a single bridge can forward tagged frames without the need to create per-vlan bridges and interfaces plugged into it.
An example on why this is needed:
4000 VLANs 1-4000 on 32 ports
1) no vlan filtering
total_interfaces = total_physical_
2) vlan filtering:
total_interfaces = total_physical_
NOTE: total_bridge_
ifupdown did not support this while ifupdown2 written by cumulus does:
http://
bridge-vlan-aware
networkd supports this:
https:/
VLANFiltering=
A boolean. This setting controls the IFLA_BR_
Examples with systemd-networkd:
https:/
https:/
tags: | added: fr-2489 |
Changed in netplan: | |
status: | New → Triaged |
importance: | Undecided → Wishlist |
I need this as well to connect lxd containers to a vlan:
sudo lxc profile device set netprofile-vlan2 eth0 vlan 2
lxc start new-vlan-container
Error: Common start logic: Failed to start device "eth0": VLAN filtering is not enabled in parent bridge "br0"
Try `lxc info --show-log new-vlan-container` for more info
sudo ip link set br0 type bridge vlan_filtering 1