VLAN configuration help

LastDitch

New Member
Jul 14, 2016
1
0
1
45
I upgraded from VE 3 to 4 over the weekend and it appears my vlan configuration no longer works. I originally had a bridge configured to a separate vlan device that was using one of the ports on my intel nic. Here is the original configuration that I was using that was working:

auto lo
iface lo inet loopback

iface eth1 inet manual

iface eth2 inet manual

auto vlan10
iface vlan10 inet manual
vlan_raw_device eth2

auto vmbr0
iface vmbr0 inet static
address 192.168.1.119
netmask 255.255.255.0
gateway 192.168.1.1
bridge_ports eth1
bridge_stp off
bridge_fd 0

auto vmbr1
iface vmbr1 inet manual
bridge_ports vlan10
bridge_stp off
bridge_fd 0

I can ping the gateway on the vlan subnet, but nothing else. So I believe the routing is working correctly. Is there a different method to setting up vlans this way on proxmox 4? Is there a easier way? Any help would be appreciated as I can't figure out after several hours of troubleshooting what could be wrong.

Edit:

Ive also tried using the vlan aware tag for the bridge to no avail. Ive also tried tagging at the vm and that didnt work.
 
Last edited:
auto lo
iface lo inet loopback

iface eth1 inet manual

iface eth2 inet manual

auto vlan10
iface vlan10 inet manual
vlan_raw_device eth2

auto vmbr0
iface vmbr0 inet static
address 192.168.1.119
netmask 255.255.255.0
gateway 192.168.1.1
bridge_ports eth1
bridge_stp off
bridge_fd 0

auto vmbr1
iface vmbr1 inet manual
bridge_ports vlan10
bridge_stp off
bridge_fd 0

Since Proxmox is Debian it should work as described here: https://wiki.debian.org/NetworkConfiguration

Alternatively use openvswitch for bridges with VLANs, see https://pve.proxmox.com/wiki/Open_vSwitch which is well supported by Proxmox´s WEB-GUI