OPNsense Forum

English Forums => General Discussion => Topic started by: fakebizprez on February 28, 2025, 02:52:23 PM

Title: DHCP Server IP Conflict
Post by: fakebizprez on February 28, 2025, 02:52:23 PM
Hi,

My private network is 192.168.128.200/24

I have seventeen total DHCP Static Mappings. I diligently delete expired leases, but for some reason my DHCP server wants to assign IP addresses to new devices, or devices that come in and out of the network (cell phones, Tesla, etc.) over my existing Static IP Mappings. Most of the time, this happens when the device that has the static IP assigned to it is offline, but the State is Active.

How can I prevent this?
Title: Re: DHCP Server IP Conflict
Post by: Patrick M. Hausen on February 28, 2025, 02:56:27 PM
Are your static reservations inside the dynamic range? That is not supported and exactly what you are observing is bound to happen. Static reservations must lie outside of the dynamic range.
Title: Re: DHCP Server IP Conflict
Post by: fakebizprez on April 09, 2025, 07:06:14 AM
Sorry, @Patrick, I missed your response.

You are correct, they were inside my dynamic range, and much like my recent post regarding the order of firewall rules, I cannot believe I didn't know this. I was under the impression that a static DHCP reservation will protect that IP even when inactive. Live and learn.

Thank you for being patient with me.