SDN CLASTER VXLAN DHCP and SNAT not worked

maxim.dogonov

Renowned Member
Oct 2, 2013
2
0
66
Saratov, Russia, Russia
Hi, I configured 2 Proxmox 8.1.3 servers in one cluster and configure SDN zones as VXLAN.

1. No option turn on DHCP
2. When SNAT checked on subnet, no snat rules

/etc/pve/sdn/zones.cfg
vxlan: vxlan peers 10.33.3.20,10.33.3.21 ipam pve mtu 1450 nodes pve1,pve

/etc/pve/sdn/vnets.cfg
vnet: k8s zone vxlan tag 10000

/etc/pve/sdn/subnets.cfg
subnet: vxlan-172.30.6.0-24 vnet k8s dhcp-range start-address=172.30.6.10,end-address=172.30.6.200 dnszoneprefix k9s.local gateway 172.30.6.1 snat 1

/etc/network/interfaces.d/sdn
#version:40 auto k8s iface k8s bridge_ports vxlan_k8s bridge_stp off bridge_fd 0 mtu 1450 auto vxlan_k8s iface vxlan_k8s vxlan-id 10000 vxlan_remoteip 10.33.3.20 mtu 1450

SNAT and DHCP worked on VXLAN SDN?
 
snat is not working with vxlan, because it need to be done on the gateway, and it's not possible to have the same gateway on all nodes.
you need evpn network for this. (routable vxlan).


For dhcp, it's currently implement on simple zone only, but It'll be available in coming weeks for others zones.
 
  • Like
Reactions: kayg

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!