PBS and VLANs

spetrillo

Member
Feb 15, 2024
30
0
6
Hello all,

I have setup a PBS server, that has one NIC. Currently that NIC is attached to my management network vlan and I am able to gain access remotely. My PBS networking looks as follows:

iface lo inet loopback
auto eno1
iface eno1 inet manual
auto vmbr0
iface vmbr0 inet dhcp
bridge-vlan-aware yes
bridge-ports eno1

I would like to pass traffic from 2 additional vlans through this NIC. I thought just to add:

auto vmbr1
iface vmbr1 inet dhcp
bridge-vlan-aware yes
bridge-ports eno1
auto vmbr2
iface vmbr2 inet dhcp
bridge-vlan-aware yes
bridge-ports eno1

My question has to do with how will each bridge parse the right vlan? I am used to telling the bridge which vlan to connect to. Do I just add the tagged vlans on the switch and Linux networking will sort everything out, or do I need sub bridges for each vlan to connect to?

Thanks,
Steve
 
Hello all,

I have setup a PBS server, that has one NIC. Currently that NIC is attached to my management network vlan and I am able to gain access remotely. My PBS networking looks as follows:

iface lo inet loopback
auto eno1
iface eno1 inet manual
auto vmbr0
iface vmbr0 inet dhcp
bridge-vlan-aware yes
bridge-ports eno1

I would like to pass traffic from 2 additional vlans through this NIC. I thought just to add:

auto vmbr1
iface vmbr1 inet dhcp
bridge-vlan-aware yes
bridge-ports eno1
auto vmbr2
iface vmbr2 inet dhcp
bridge-vlan-aware yes
bridge-ports eno1

My question has to do with how will each bridge parse the right vlan? I am used to telling the bridge which vlan to connect to. Do I just add the tagged vlans on the switch and Linux networking will sort everything out, or do I need sub bridges for each vlan to connect to?

Thanks,
Steve
Hi Steve

You only will use `eno1` and `vmbr0` with VLAN tags.

The PVE networking docs have everything you need:

https://pve.proxmox.com/wiki/Network_Configuration
 

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!