DHCP Static Mapping within DHCP range

Started by AlpAne, October 24, 2024, 06:13:55 PM

Previous topic - Next topic
I have a DHCP Static Mapping of 10.3.33.133 within my DHCP range of 10.3.33.100-199. Even though 133 is leased to the correct MAC-address in first place it seems other clients gets 133 as well and I get duplicate clients with 133.

Is it not possible to reserve a DHCP Static Mapping IP address within a DHCP range or is this a bug?

Reservations generally should be *outside* the range ("pool") of addresses that are "up for grabs". Kea DHCP supposedly allows for in-pool reservations, but I'm not sure that OPNsense leverages that properly. AFAIK, ISC DHCP doesn't support in-pool reservations at all.

Quote from: dseven on October 24, 2024, 06:31:16 PM
Reservations generally should be *outside* the range ("pool") of addresses that are "up for grabs". Kea DHCP supposedly allows for in-pool reservations, but I'm not sure that OPNsense leverages that properly. AFAIK, ISC DHCP doesn't support in-pool reservations at all.

Thank you for the answer!

Anyone else who can confirm how this works for OPNsense?

Quote from: AlpAne on October 26, 2024, 02:39:40 PM
Quote from: dseven on October 24, 2024, 06:31:16 PM
Reservations generally should be *outside* the range ("pool") of addresses that are "up for grabs". Kea DHCP supposedly allows for in-pool reservations, but I'm not sure that OPNsense leverages that properly. AFAIK, ISC DHCP doesn't support in-pool reservations at all.

Thank you for the answer!

Anyone else who can confirm how this works for OPNsense?

The same, I think. Best thing to do is follow best practice - keep your reserved addresses outside of the pool.