Programster's Blog

Tutorials focusing on Linux, programming, and open-source

Proxmox Example Network Config With VLANs

I have to work with deploying Proxmox server's on a network that has implemented vLANs for security. Thus I need to know what to put into the network configuration, in order to be able to gain acess to the internet, as well as allow me to remotely configure the server.

The example configuration below (for /etc/network/interfaces) would be fore a server that has one network interface port called eno1, and I have created a general bridge for the virtual machines, and a virtual NIC on the bridge with vLAN 10 for the proxmox server to use on IP for a subnet of -, and the gateway being at

auto lo
iface lo inet loopback

iface eno1 inet manual

# Create a bridge on our network interface eno1
# that all the virtual machines can connect on
# with their vLANs being between 2 and 4094
auto vmbr0
iface vmbr0 inet manual
        bridge-ports eno1
        bridge-stp off
        bridge-fd 0
        bridge-vlan-aware yes
        bridge-vids 2-4094

# creating our server management static IP
# on vlan 10 using
auto vmbr0.10
iface vmbr0.10 inet static

source /etc/network/interfaces.d/*

vLAN Package

Proxmox should automatically have support for vlan's, but in case it doesn't one can install vlan support on debian with:

sudo apt update && sudo apt install vlan -y
Last updated: 28th March 2024
First published: 28th March 2024