Unable to connect Proxmox VMs to VLAN


New Member
Feb 7, 2022
Hello Everyone I am trying to setup VLAN configuration for my proxmox server and I was not able to resolve it can someone please help me with it.

Below is the proxmox network configuration file "/etc/network/interfaces"

# network interface settings; autogenerated
# Please do NOT modify this file directly, unless you know what
# you're doing.
# If you want to manage parts of the network configuration manually,
# please utilize the 'source' or 'source-directory' directives to do
# so.
# PVE will preserve these directives, but will NOT read its network
# configuration from sourced files, so do not attempt to move any of
# the PVE managed interfaces into external files!

auto lo
iface lo inet loopback

auto eno1
iface eno1 inet manual

auto eno2
iface eno2 inet manual

auto eno3
iface eno3 inet manual

auto eno4
iface eno4 inet manual

auto bond0
iface bond0 inet manual
        bond-slaves eno1 eno2
        bond-miimon 100
        bond-mode 802.3ad
        bond-xmit-hash-policy layer2+3

auto bond1
iface bond1 inet manual
        bond-slaves eno3 eno4
        bond-miimon 100
        bond-mode 802.3ad
        bond-xmit-hash-policy layer2+3

auto bond2
iface bond2 inet manual
        bond-slaves bond0 bond1
        bond-miimon 100
        bond-mode active-backup
        bond-primary bond0

auto vmbr0
iface vmbr0 inet static
        bridge-ports bond2
        bridge-stp off
        bridge-fd 0
        bridge-vlan-aware yes
        bridge-vids 2-4094

source /etc/network/interfaces.d/*

When I add clan tag to the interface of VM the vm is unable to connect to the network. I am able to ping the VLAN DHCP server (PFSense) from the VM. Can someone please help me with this.
I am using a ubiquity switch and i have already configured it. I am able to test out the VLAN connections from other systems. For creating the VLANs i am using the pfsense on a separate host.
I am not specifically opening any ports in proxmox or on switch. I am just using default configurations. Is there any way for me to check if the packets are getting passed using proper VLAN ID?


The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!