OPNsense Forum

English Forums => 24.7, 24.10 Legacy Series => Topic started by: AlpAne on October 24, 2024, 06:13:55 PM

Title: DHCP Static Mapping within DHCP range
Post by: AlpAne on October 24, 2024, 06:13:55 PM
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?
Title: Re: DHCP Static Mapping within DHCP range
Post by: 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.
Title: Re: DHCP Static Mapping within DHCP range
Post by: 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?
Title: Re: DHCP Static Mapping within DHCP range
Post by: Taunt9930 on October 26, 2024, 04:50:04 PM
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.