Enabling only VLAN on a linux bridge

torchilidae

New Member
Feb 7, 2022
6
3
3
32
Hi,

I am new to the proxmox and the networking. I am trying to setup a VLAN/Linux Bridge dedicated for the VMs aside from management network.

I was able to created a Linux bridge and was able to connect to the VLAN using the VLAN ID in the VMs. Is there any way that I can restrict the Linux bridge only to that VLAN completely separating it from the management network?
 
Last edited:
You could create a Linux vlan interface and attach a vlan unaware bridge to it. Then every guest attached to that bridge will be only using this VLAN.

What does your /etc/netwotk/interfaces look like?
 
You could create a Linux vlan interface and attach a vlan unaware bridge to it. Then every guest attached to that bridge will be only using this VLAN.

What does your /etc/netwotk/interfaces look like?
Its just a simple configuration. I have not modified it. I am using a different pfsense firewall that is not a Virtual machine to create the VLAN. Below are the details

Code:
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.24.101/24
        gateway 192.168.24.1
        bridge-ports eno1
        bridge-stp off
        bridge-fd 0

auto vmbr1
iface vmbr1 inet manual
        bridge-ports eno2
        bridge-stp off
        bridge-fd 0
        bridge-vlan-aware yes
        bridge-vids 2-4094
#VM Network
 

About

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!