public inbox for pve-user@lists.proxmox.com
 help / color / mirror / Atom feed
* [PVE-User] VLAN to VNI translation
@ 2025-03-15 11:03 Cyrus
  2025-03-16 10:33 ` DERUMIER, Alexandre
  2025-03-17  8:05 ` Stefan Hanreich
  0 siblings, 2 replies; 4+ messages in thread
From: Cyrus @ 2025-03-15 11:03 UTC (permalink / raw)
  To: Proxmox VE user list

Hello!,

Before requesting something that might already be there...

Is it possible to translate a VNI to a VLAN towards a VM?.

Use case would be:

1. Define various VNETs in a EVPN zone (might apply to a VXLAN zone too) as
currently supported.
2. Define an optional VLAN tag for a VNET
3. Configure a port facing a VM as trunk (vlan aware?)
4. Deliver the VNETs as VLANs to the VM on that port.

I don't want to transport VLAN inside a VNI, I want to deliver VNETs as
VLAN to a guest which will be handling VLAN tagging/untagging. All the
transport between PVE VTEPs should be kept as is implemented today (VXLAN).

It would be VNI to VLAN translation or VNI/VLAN stitching + trunking
towards a VM.

Expectations: adding as many new networks as required to a VM without
adding a vNICs, with other VMs participating in such VNETs in access mode
and without touching physical switches (VLAN zone)

Regards.
Cyrus.
_______________________________________________
pve-user mailing list
pve-user@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PVE-User] VLAN to VNI translation
  2025-03-15 11:03 [PVE-User] VLAN to VNI translation Cyrus
@ 2025-03-16 10:33 ` DERUMIER, Alexandre
  2025-03-17  8:05 ` Stefan Hanreich
  1 sibling, 0 replies; 4+ messages in thread
From: DERUMIER, Alexandre @ 2025-03-16 10:33 UTC (permalink / raw)
  To: pve-user

It's not implemented currently, (1vxlan tunnel, with vlan->vni
mapping), because AFAIK it's still buggy with evpn && frr.

(the implementation exist, I have seen a lot of bug report)

https://docs.frrouting.org/en/latest/zebra.html#single-vxlan-device-support



I'll try to re-evaluate it for pve9  







-------- Message initial --------
De: Cyrus <cyruspy@gmail.com>
Répondre à: Proxmox VE user list <pve-user@lists.proxmox.com>
À: Proxmox VE user list <pve-user@lists.proxmox.com>
Objet: [PVE-User] VLAN to VNI translation
Date: 15/03/2025 12:03:36

Hello!,

Before requesting something that might already be there...

Is it possible to translate a VNI to a VLAN towards a VM?.

Use case would be:

1. Define various VNETs in a EVPN zone (might apply to a VXLAN zone
too) as
currently supported.
2. Define an optional VLAN tag for a VNET
3. Configure a port facing a VM as trunk (vlan aware?)
4. Deliver the VNETs as VLANs to the VM on that port.

I don't want to transport VLAN inside a VNI, I want to deliver VNETs as
VLAN to a guest which will be handling VLAN tagging/untagging. All the
transport between PVE VTEPs should be kept as is implemented today
(VXLAN).

It would be VNI to VLAN translation or VNI/VLAN stitching + trunking
towards a VM.

Expectations: adding as many new networks as required to a VM without
adding a vNICs, with other VMs participating in such VNETs in access
mode
and without touching physical switches (VLAN zone)

Regards.
Cyrus.
_______________________________________________
pve-user mailing list
pve-user@lists.proxmox.com
https://antiphishing.vadesecure.com/v4?f=MDk0SW9xRkhTVGYydkJlTIW3tbT6fr
3wO2olQ9DvtVnIC88l_b535xnQ2-t7iy40j6r2uq1a-
CdCqXFVrfJr5w&i=ZURHSDhnY0huQ2tPS3VZahJdhRaQu1ItpJrYkl8wXrA&k=q1N6&r=Rj
IyR1RobkVxVWlHTXhKT3Iz2JLb2iJ83zY8BuwqBM8RdGY4uHVD-
7F03xyDQtHpzE9nazLbPgxy0VoDLSdJwA&s=4d44c9a8a125b8dae76e8d7d37f3a01a001
1ffd8cdd2a59ef83295a06956997d&u=https%3A%2F%2Flists.proxmox.com%2Fcgi-
bin%2Fmailman%2Flistinfo%2Fpve-user


_______________________________________________
pve-user mailing list
pve-user@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PVE-User] VLAN to VNI translation
  2025-03-15 11:03 [PVE-User] VLAN to VNI translation Cyrus
  2025-03-16 10:33 ` DERUMIER, Alexandre
@ 2025-03-17  8:05 ` Stefan Hanreich
  2025-03-17 10:11   ` DERUMIER, Alexandre
  1 sibling, 1 reply; 4+ messages in thread
From: Stefan Hanreich @ 2025-03-17  8:05 UTC (permalink / raw)
  To: Proxmox VE user list, Cyrus

Hi!

I've looked at this shortly on one of my test clusters and got a basic
setup running, but didn't get around to further looking into how to
integrate it.

Would it be possible for you to create an entry in Bugzilla [1] for
further discussion?

[1] https://bugzilla.proxmox.com/

On 3/15/25 12:03, Cyrus wrote:
> Hello!,
> 
> Before requesting something that might already be there...
> 
> Is it possible to translate a VNI to a VLAN towards a VM?.
> 
> Use case would be:
> 
> 1. Define various VNETs in a EVPN zone (might apply to a VXLAN zone too) as
> currently supported.
> 2. Define an optional VLAN tag for a VNET
> 3. Configure a port facing a VM as trunk (vlan aware?)
> 4. Deliver the VNETs as VLANs to the VM on that port.
> 
> I don't want to transport VLAN inside a VNI, I want to deliver VNETs as
> VLAN to a guest which will be handling VLAN tagging/untagging. All the
> transport between PVE VTEPs should be kept as is implemented today (VXLAN).
> 
> It would be VNI to VLAN translation or VNI/VLAN stitching + trunking
> towards a VM.
> 
> Expectations: adding as many new networks as required to a VM without
> adding a vNICs, with other VMs participating in such VNETs in access mode
> and without touching physical switches (VLAN zone)
> 
> Regards.
> Cyrus.
> _______________________________________________
> pve-user mailing list
> pve-user@lists.proxmox.com
> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user
> 
> 



_______________________________________________
pve-user mailing list
pve-user@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PVE-User] VLAN to VNI translation
  2025-03-17  8:05 ` Stefan Hanreich
@ 2025-03-17 10:11   ` DERUMIER, Alexandre
  0 siblings, 0 replies; 4+ messages in thread
From: DERUMIER, Alexandre @ 2025-03-17 10:11 UTC (permalink / raw)
  To: pve-user, cyruspy

Also, I had a discussion at fosdem with a proxmox user from a telecom
company about it, and they was trying to implement it and they had bugs
with it. (I think it was a frr bug ^_^ as usual, not sure about the
version)


-------- Message initial --------
De: Stefan Hanreich <s.hanreich@proxmox.com>
Répondre à: Proxmox VE user list <pve-user@lists.proxmox.com>
À: Proxmox VE user list <pve-user@lists.proxmox.com>, Cyrus
<cyruspy@gmail.com>
Objet: Re: [PVE-User] VLAN to VNI translation
Date: 17/03/2025 09:05:40

Hi!

I've looked at this shortly on one of my test clusters and got a basic
setup running, but didn't get around to further looking into how to
integrate it.

Would it be possible for you to create an entry in Bugzilla [1] for
further discussion?



On 3/15/25 12:03, Cyrus wrote:
> Hello!,
> 
> Before requesting something that might already be there...
> 
> Is it possible to translate a VNI to a VLAN towards a VM?.
> 
> Use case would be:
> 
> 1. Define various VNETs in a EVPN zone (might apply to a VXLAN zone
> too) as
> currently supported.
> 2. Define an optional VLAN tag for a VNET
> 3. Configure a port facing a VM as trunk (vlan aware?)
> 4. Deliver the VNETs as VLANs to the VM on that port.
> 
> I don't want to transport VLAN inside a VNI, I want to deliver VNETs
> as
> VLAN to a guest which will be handling VLAN tagging/untagging. All
> the
> transport between PVE VTEPs should be kept as is implemented today
> (VXLAN).
> 
> It would be VNI to VLAN translation or VNI/VLAN stitching + trunking
> towards a VM.
> 
> Expectations: adding as many new networks as required to a VM without
> adding a vNICs, with other VMs participating in such VNETs in access
> mode
> and without touching physical switches (VLAN zone)
> 
> Regards.
> Cyrus.
> _______________________________________________
> pve-user mailing list
> pve-user@lists.proxmox.com
> https://antiphishing.vadesecure.com/v4?f=SnpNUUNxek1BTWh6ZFZjaXytqhuT
> nabwXmzFZUlRiykHigGJIasp9fuzJnsaLsd0_4ADPefM3wCuXakG6xae_g&i=cHp0TkJv
> dm11bGhoR250SmgzWys3rrCnMNczEpeQLkU&k=6xq5&r=Z1RORVRCV0NEb2hhaDhMZNAX
> JZyMzf7NYD6Wb8g36uHag1AlkZUIIC_Y7yDEgapFT7_Oa0PFeXn001q4X5zFAA&s=5183
> 89e7e54db106d58d4542756f316340c4fe6b5e506eada576b15bdf2cb109&u=https%
> 3A%2F%2Flists.proxmox.com%2Fcgi-bin%2Fmailman%2Flistinfo%2Fpve-user
> 
> 



_______________________________________________
pve-user mailing list
pve-user@lists.proxmox.com
https://antiphishing.vadesecure.com/v4?f=SnpNUUNxek1BTWh6ZFZjaXytqhuTna
bwXmzFZUlRiykHigGJIasp9fuzJnsaLsd0_4ADPefM3wCuXakG6xae_g&i=cHp0TkJvdm11
bGhoR250SmgzWys3rrCnMNczEpeQLkU&k=6xq5&r=Z1RORVRCV0NEb2hhaDhMZNAXJZyMzf
7NYD6Wb8g36uHag1AlkZUIIC_Y7yDEgapFT7_Oa0PFeXn001q4X5zFAA&s=518389e7e54d
b106d58d4542756f316340c4fe6b5e506eada576b15bdf2cb109&u=https%3A%2F%2Fli
sts.proxmox.com%2Fcgi-bin%2Fmailman%2Flistinfo%2Fpve-user


_______________________________________________
pve-user mailing list
pve-user@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-03-17 10:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-03-15 11:03 [PVE-User] VLAN to VNI translation Cyrus
2025-03-16 10:33 ` DERUMIER, Alexandre
2025-03-17  8:05 ` Stefan Hanreich
2025-03-17 10:11   ` DERUMIER, Alexandre

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal