I have setup my management on vlan5 and eno1 port with the code below. The problem is, other vlans seem to be going through this as well. For instance, I am able to get vlan 20 to get an ip in the 20 subnet even if I use vmbr0. How can I restrict this to only vlan 5 ?
Code:
iface eno1.5 inet manual
auto vmbr0v5
iface vmbr0v5 inet static
address 10.1.5.21/24
gateway 10.1.5.1
bridge-ports eno1.5
bridge-stp off
bridge-fd 0
auto vmbr0
iface vmbr0 inet manual
bridge-ports eno1
bridge-stp off
bridge-fd 0