LXC cannot get an IP if VLAN ID is set.

Buckeyes1995

New Member
Jan 14, 2023
15
0
1
I've got an LXC container I want to put on VLAN 40. With the VLAN tag set, I cannot get an IP from OPNsense. If I remove the VLAN tag, I get a LAN IP. The only thing I did in Proxmox was made the host VLAN aware and set the VLAN tag in the LXC via the GUI.

The path from LXC to OPNsense (DHCP server) is as follows:

LXC -> Cisco Switch -> TP Link Switch -> OPNsense (lagg).
Anyone know what I'm doing wrong? Several months ago I was able to get a VLAN DHCP address; but I've reinstalled Proxmox after getting back to it, and now I can't.. I don't see anything obviously wrong.

Thanks.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!