Add proxmox-vlan-interfaces.md

This commit is contained in:
daniels 2025-12-04 08:31:18 +01:00
commit 48d7aadbd1

View File

@ -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