[pve-devel] [RFC cluster/manager/network 0/6] Add support for DHCP servers to SDN

Stefan Hanreich s.hanreich at proxmox.com
Tue Sep 26 16:12:35 CEST 2023


> Yes, this is my main concern, as it'll be my case in production, as I
> managing multiple clusters, on differents location, with subnets
> sharing.
> 
> for me, it's ok if ipam is down when allocating a new ip or vm.
> But for vm start/stop, I think we should have at minimum some cache
> somewhere. (I'm think about a disaster recovery or big network problem,
> where you want to fast restart all vms without need to call the ipam).
> 
> Maybe a way, could be to use the local pve ipam, as a local mirror of
> the external ipam ?    (and don't store ip in vm config, but only in
> pve ipam, the source of truth)
> 

Yes, I think this would be preferrable over the VM config. This also
means we would have to sync from netbox to local PVE IPAMs?

> I'm a bit busy currently on other stuff and I would like to finish them
> first. 
> 
> So if you have a little bit time to work on this, it could be great :)
> 
> I have send some patches in 2021 for ipam integration in qemu/lxc, if
> you want to take some inspiration. (without the ip in the vm config, it
> should be a lot easier)
> 

I'll try to get on it then, I'll still be here for 2,5 weeks until I go
on a longer vacation. Hopefully I'll get something workable ready until
then. I will look into your patches - thanks for the hint!

> Yes,admin should be able to see allocated ip. (like a real ipam).
> 
> I was thinking about other stuff for later, but maybe it could be great
> for an admin to be able to reserve ips and put them in a pool.
> Then user could choose ip from this pool.
> 
> (Usecase is public ip addresses, where a customer could buy some of
> them,
> then allocated them like he want)
> 

That sounds like a great feature for hosters, I'll certainly look into that.





More information about the pve-devel mailing list