[SOLVED] SolusVM-like IP blocks

ClipzZModz

Member
Feb 25, 2019
4
0
6
45
Hi,

I have a 16 core Opteron server at a data centre in the UK which i am currently in the process of rolling out.

This server will be on a /29 range, allowing for 6x PUBLIC IPv4 addresses. Unfortunately, each time a VM is spun up for a client through the billing system it automatically gets assigned an IP addresses from DHCP out of my range, technically stealing the IP address from others collocating in the DC.

In SolusVM, you can have "IP Blocks", so you can input the entire /29 range and then the VMS will be allocated one of the IP addresses from this scope. I cant unfortunately see ANYTHING in Proxmox which allows for this... which is a shame, because i love proxmox and the thought of moving to solusvm just depresses me..

Any help is much appreciated, and i would be more then happy providing root access to a proxmox staff member to take a look into this for me
 
I have got this working!

Fix for others: Install dnsmasq on proxmox host itself and set it to listen on the same bridge as your VM's are using to look for an internet connection, the DHCP server on the pve host itself will then provision an IP address :-)

My config:

interface=vmbr0
dhcp-range=185.215.xx.xx,185.215.xx.xx,12h
dhcp-leasefile=/var/lib/misc/dnsmasq.leases
 

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!