vxlan / vlan / vnet

AxelTwin

Well-Known Member
Oct 10, 2017
138
6
58
39
Hi everyone,


I'm currently facing some confusion around the concepts of SDN, VXLAN, VNETs, and VLANs in Proxmox.


We have a single Proxmox cluster distributed across 4 sites, and we aim to use VXLAN to create a Layer 2 broadcast domain that spans all sites, allowing us to transport multiple VLANs over it.


Here's what I've done so far:


  • I created a VXLAN zone named ztest.

Now, I want to transport VLAN 60 and VLAN 70 over this VXLAN (ztest). My understanding is that I need to create the following:


  • vnet60 → zone: ztest, VLAN tag: 60
  • vnet70 → zone: ztest, VLAN tag: 70

Then in the VM configuration, for a VM on VLAN 60, I would simply use:


  • Bridge: vnet60
  • No VLAN tag configured in the VM itself

My question is:
Is this the correct setup in Proxmox SDN? Or can we alternatively create a single VNET with tag 1000 (where 1000 is the VXLAN VNI), and encapsulate VLAN 60 and VLAN 70 within that, like a trunk?


From what I understand, Proxmox SDN takes a 1:1 approach—meaning one VNET corresponds to one VLAN, within a single VXLAN zone.


Can someone confirm this or correct me if I’m misunderstanding the architecture?


Thanks!



 
Last edited: