From 48d7aadbd1705d50aa0d77c6fc8ba470753fdf42 Mon Sep 17 00:00:00 2001 From: daniels Date: Thu, 4 Dec 2025 08:31:18 +0100 Subject: [PATCH] Add proxmox-vlan-interfaces.md --- proxmox-vlan-interfaces.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 proxmox-vlan-interfaces.md diff --git a/proxmox-vlan-interfaces.md b/proxmox-vlan-interfaces.md new file mode 100644 index 0000000..20dcfc9 --- /dev/null +++ b/proxmox-vlan-interfaces.md @@ -0,0 +1,21 @@ +# This setup enables the host IP on VLAN 30, but also enables VM's to get VLANs via VLAN tag. +# The base interface is called 'nic0' + +auto lo +iface lo inet loopback + +auto nic0 +iface nic0 inet manual + +# Trunk bridge carrying VLANs 20/30/40 +auto vmbr0 +iface vmbr0 inet manual + bridge-ports nic0 + bridge-stp off + bridge-fd 0 + bridge-vlan-aware yes + bridge-vids 20 30 40 + +# Host management IP on VLAN 30 +auto vmbr0.30 +iface vmbr0.30 inet dhcp \ No newline at end of file