commit 48d7aadbd1705d50aa0d77c6fc8ba470753fdf42 Author: daniels Date: Thu Dec 4 08:31:18 2025 +0100 Add 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