PBS and VLANs

spetrillo

Member
Feb 15, 2024
241
12
18
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