Add proxmox-vlan-interfaces.md
This commit is contained in:
commit
48d7aadbd1
21
proxmox-vlan-interfaces.md
Normal file
21
proxmox-vlan-interfaces.md
Normal 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
|
||||
Loading…
x
Reference in New Issue
Block a user