SOLVED: DHCP keeps dishing IPs already used in static mappings

Started by hanse, August 16, 2023, 12:30:23 PM

Previous topic - Next topic
Hi all

I have a persistent problem that I just cannot seem to get rid of. I have added a bunch of static mappings for servers (Like Docker Swarm nodes) that I want to have the same IPs all the time. Problem is, whenever I create a new VM or container on Proxmox, it will be issued with an address that is already used in a static mapping.

See attachment.

Any idea how I can get rid of this problem? What am I doing wrong?

TIA.

Static mappings and your dynamic range must not overlap.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

Sorry but I don't understand why not? Adding a static lease is supposed to reserve an IP in the pool for exactly this case? Or should I create a smaller pool, and then add static mappings from higher up in the range for example?

Simple: because isc-dhcp will hand out dynamic leases and doesn't care that it also has a static lease.


Cheers,
Franco