VLAN question

tin

Renowned Member
Aug 14, 2010
108
2
83
Northwest NSW, Australia
Sorry for asking a stupid question that's probably been answered before (but I want to get this finished tomorrow)... I'm mostly just after confirmation on my logic to save me some time tomorrow.

I currently have a KVM Linux VM acting as a router. It has a tagged VLAN interface inside it (eth0.2). This is the only place VLANs are used at all on this machine.
I need to add another VLAN which will have this router and a OpenVZ container to act as a DHCP server for a new network.

My 2 points I want to confirm -
* I gather the only way to get VLANs into VZ containers is by creating a new bridge interface on the host and adding the tagged interface into this. Correct?
* Since the host now has the 802.1q module loaded, I am guessing this stops any tagging making it through to the KVM guest. So the fix there would be to add a new network interface and attach it to the same tagged vmbr interface as the VZ container. Does that sound right?
 

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!