← Back to Proxmox guides

Proxmox VE 8.1 SDN Zones Guide

Hello everyone!
In this guide, I'll show you how to set up SDN Zones in Proxmox VE 8.1.

Note: The CT/VM is only able to communicate with the internet, not to port forward (directly).

1. Login into Proxmox

First, log into your Proxmox server:

https://yourfavoritedomain.tld:8006
Proxmox Login

2. CLI Stuff

Go to your Proxmox Server and open the shell.
Execute the following commands:

echo -e "\nsource /etc/network/interfaces.d/*" >> /etc/network/interfaces
apt update
apt install dnsmasq libpve-network-perl ifupdown2 -y
systemctl disable --now dnsmasq
Proxmox DNSMASQ

3. Creating SDN-Zone

Click on Datacenter and then select "SDN".

Proxmox SDN

Now click on Zones and add a Simple Zone:

Proxmox Zone

It is very important to enable "automatic DHCP". Click on the checkbox down right and tick it.

Proxmox zapvnet

4. Creating VNET

Click on VNet, then create a vnet, give your VNet a name, and select your previously created Zone.

Proxmox zapnet

Now select your fresh created zapnet and switch over to Subnets. Click on Create and paste in the following configuration:

Proxmox Subnet

It's very important to tick the "SNAT" checkbox! Now head over to DHCP Ranges and enter the DHCP Range.

Proxmox Subnet DHCP

After that, click on Create!
Now, go back to "Datacenter", click on SDN and click on apply!
The status of our new SDN should now be available.

5. How to Use

Now when you want to use it for LXC containers, select the new bridge as the adapter and enable IPv4 DHCP.
It's nearly the same for VMs.
The Container/VM should now pull an IP from the DHCP, congratulations!