Proxmox Setup with 1 Public IP
A guide on how to setup proxmox with 1 Public IP and the guest VM will get or use Private IP from DHCP
Requirements
A dedicated server (you can get it from Fiberstate), some others may work but may need additional tweaks to hardware identifiers
A SSH Client (we used MobaXterm but you can use PuTTY or OpenSSH or the built in SSH client)
Server Preparation
We recommend to get this server spec (R9 7950X)

Input your desired Hostname and Password, and for the Operating System choose Proxmox (latest)

They have double drive promo on going, drop your invoice number to their forum thread here
Go to your web browser and access your proxmox web console by accessing this URL https://<SERVER_IP>:8006 and use root as username and the password you set previously

Prepare SDN function
Login to your server via SSH and run this command
apt update
apt -y install dnsmasq
# disable default instance
systemctl disable --now dnsmasq
Make sure you have this line in your /etc/network/interfaces file
source /etc/network/interfaces.d/*
type the following command to check
cat /etc/network/interfaces
If source /etc/network/interfaces.d/* is present, proceed; if not, add it to the file by using this command
printf "\n\nsource /etc/network/interfaces.d/*" >> /etc/network/interfaces
Creating SDN Network (Private IP)
Go to your Proxmox web console and go to Datacenter > SDN > Zones > Add > Simple

Tick the Advanced option, put ID with any name you like (in this case we use cnid) and tick the automatic DHCP

Go to SDN > VNets and Create

Input the any name (in this case vnet1) and select the zone that you created previously (in this case cnid)

Click on the newly created vnet and on the right side, click create

Input your own Subnet and Gateway, you can customize it or just follow, and then go to DHCP Ranges

Click Add and input your desired IP range (in this case 10.100.0.100 - 10.100.0.200 ; more than enough) then Create

After this setup, go to SDN and click Apply

After that go to IPAM and you can manage your DHCP reservation (this image taken from my running server)

Download OS Image
Go to local storage > ISO Images > Download from URL

We will download ubuntu 24.04 iso for later VM setup
Input this https://releases.ubuntu.com/24.04.2/ubuntu-24.04.2-live-server-amd64.iso
to URL field and click on Query URL
you can rename the file if you wish and click Download

Now you've done the server preparation, we will continue to VM Setup
VM Setup
Simply click on Create VM button on top right of your interface
General
Tick on Advanced box > tick on Start at boot > put the server name > Next

OS
Select local storage > choose the ISO Image that you downloaded in previous step > Next

System
Just next, nothing to change there
Disks
Select local-lvm in the Storage section > put 100 for Disk size > Next

CPU
Set Sockets and Cores depends to your need and Type to host for the best performance > Next

Memory
Set the Memory depends on your need > Next

Network
Select the bridge that you created previously > Next

Confirm
In the confirmation page, you will see the summary of the VM. Optionally, you can tick Start after created so it will start immediately > Finish

OS Installation
After VM Creation, go to Datacenter > your server name > Console

Continue the installation as prompted





In this part, remember to allocate all your disk space
Select ubuntu-lv > Edit
Set maximum Size and then Save > Done > Continue









After that, go to Hardware menu > select the ISO Image drive > Remove > Reboot once again

Now you have created a VM and it's ready to use

Last updated
Was this helpful?