VLAN Config not working properly

larry.deeder

New Member
Jan 19, 2025
3
0
1
Hello All,

I have a single host with 2 VM's

The VM on VLAN 11 has Internet access and no issues.

The VM on VLAN 3 cannot even ping its Gateway at 192.168.3.254

Both VLANS are on the same physical NIC and I have the Proxmox management network on a dedicated NIC (vmbr0).

Below is my network config. TIA.

auto lo
iface lo inet loopback
iface eno1 inet manual
iface eno2 inet manual
iface eno3 inet manual
iface eno4 inet manual

auto vmbr0
iface vmbr0 inet static
address 192.168.6.110/24
gateway 192.168.6.254
bridge-ports eno1
bridge-stp off
bridge-fd 0

source /etc/network/interfaces.d/*

auto vmbr3
iface vmbr3 inet manual
bridge-ports eno3
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4092
auto vmbr3.3
iface vmbr3.3 inet static
address 192.168.3.1/24
gateway 192.168.3.254

auto vmbr11
iface vmbr11 inet manual
bridge-ports eno3
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4092
auto vmbr11.11
iface vmbr11.11 inet static
address 192.168.11.1/24
gateway 192.168.11.254
 
Please remove all other Gateways. Only use one. Your VM can use its one GW, but your Host don't like that.
GWs are not necessary here. And IF, search "ip route add" for special cases.
 
Also, you have the same NIC as part of two bridges, you can create a bridged VLAN from a physical interface like so:

Code:
auto vmbr11
iface vmbr11 inet manual
  address 192.168.11.1/24
  gateway 192.168.11.254
  bridge-ports eno3.11
  bridge-stp off
  bridge-fd 0