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
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