Cannot DHCP with VLAN Tag on Proxmox 8.4.1

promoxer

Active Member
Apr 21, 2023
241
25
33
Code:
auto lo
iface lo inet loopback

iface enp8s0 inet manual

auto vmbr0
iface vmbr0 inet static
        address 192.168.1.2/24
        gateway 192.168.1.1
        bridge-ports enp8s0
        bridge-stp off
        bridge-fd 0
        bridge-vlan-aware yes
        bridge-vids 2-4094

auto vmbr0.2
iface vmbr0.2 inet manual

1. Above is the /etc/network/interfaces of my Proxmox 8.4.1 which is wired to a OpenWrt via a trunked ethernet cable
2. VLAN1 is untagged whlie VLAN2 is tagged
3. My LXCs and VMs (guests) are able to get IP address from VLAN1
4. However, when I set the VLAN Tag to 2 on my guests, they are unable to get an IP address from VLAN2
5. To test, I swapped Proxmox with a VLAN aware MacOS on the same OpenWrt port and managed to acquire a VLAN2 IP address
6. What am I missing??
 
Last edited: