Hey,
I have a simple home-setup with an ISP-provided router and one Proxmox node. I do not have a managed switch, but I still want to use VLANs to separate virtual ressources on my node.
I have created a VLAN-aware bridge and added workloads to it, including a pfSense appliance that holds all VLANs from that bridge in a trunk (by not selecting a VLAN Tag in the VirtIO network adapter).
I now want to use physical interfaces to work as access-ports to different VLANs on this bridge. One use-case for this is to connect a laptop directly to my PVE node and have it participate in my admin-VLAN for desaster recovery purposes.
Using enp87s0 (which is slaved to vlan-aware bridge vmbr1) as an access port to VLAN 182 can be achieved using:
... which works perfectly, but it doesn't persist.
Does anyone know how to implement this in
I have a simple home-setup with an ISP-provided router and one Proxmox node. I do not have a managed switch, but I still want to use VLANs to separate virtual ressources on my node.
I have created a VLAN-aware bridge and added workloads to it, including a pfSense appliance that holds all VLANs from that bridge in a trunk (by not selecting a VLAN Tag in the VirtIO network adapter).
I now want to use physical interfaces to work as access-ports to different VLANs on this bridge. One use-case for this is to connect a laptop directly to my PVE node and have it participate in my admin-VLAN for desaster recovery purposes.
Using enp87s0 (which is slaved to vlan-aware bridge vmbr1) as an access port to VLAN 182 can be achieved using:
bridge vlan add dev enp87s0 vid 182 pvid untagged
... which works perfectly, but it doesn't persist.
Does anyone know how to implement this in
/etc/networks/interfaces
? Or any better idea how to achieve this?