Proxmox QinQ

zeuxprox

Renowned Member
Dec 10, 2014
92
5
73
Hi,

I would like to start using Q in Q.... This is a typical scenario:
bond0: eno1 + eno2
bond0.10 : vlan 10
bond0.20: vlan 20

vmbr10: bridge assigned to VMs of customer A
vmbr11: bridge assigned to VMs of customer B

Customer A have 10 VMs, 4 of them have to "ping" between them but not with the other 6 and viceversa.
Customer B have 15 VMs, 10 of them have to "ping" between them but not with the other 5 and viceversa.

To reach this goal for customer A, is it enough to tag the bridge (vmbr10) assigned to customer A with a "Tag Vlan"=34 for the first four VMs and with a "Tag Vlan"=35 for the others six VMs?
Same question for customer B, 15 VMs with bridge vmbr11 and a "Tag Vlan"=23 and the others 5 VMs with a "Tag Vlan"=25.

Thank you
 
hi, you can enable vlanaware option in vmbr10 && vmbr11.

then setting tag at vlag in vm nic configuration, will add the second tag

bond0.10----vmbr10----(vm tag)---vm

So, configure differents vlans in vm nic (vlan 34 && vlan35), will isolate them from other customer VM.




BTW, proxmox have new sdn feature to configure qinq, currently in beta test
https://forum.proxmox.com/threads/proxmox-6-2-sdn-beta-test.69655/
 
Hi,

so if I understand correctly, just tag the bond with the outer vlan (in the exaple vlan 10) and then tag the vm nic with the inner vlans (in the example 34 and 35)?

Thank you

PS: I will wait impatiently for the stable version of the new sdn feature....
 

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!