Best way to create DHCP scopes when using MS IPAM?

Mark Baker 21 Reputation points
2020-07-27T13:45:38.853+00:00

In DHCP there seems to be two approaches to configuring scopes and I have seen both, often on the same server.

One is to set the start and end addresses to the extremes e.g. 10.1.15.1-10.1.15.254 and then exclude blocks that are used as static ranges e.g. 10.1.15.1-10.1.15.50 & 10.1.15.200-10.1.15.254, giving 150 or so DHCP addresses and approx. 100 for static addresses.

The other method is to set the start and end addresses of the DHCP scope to purely the 'DHCP' part of the subnet. e.g. 10.1.15.51-10.1.15.200

Both work the same from a DHCP standpoint until you incorporate them into IPAM, where you get different results.

If I used the first approach and then 'find the next available address' the address it returns is the first available DCHP address.

If I use the latter approach, I obviously have to add another IP range to cover the 'static' range(s), but I can then 'Find the next available address' in the static (NON-DHCP) address.

Perhaps my confusion, Is which way is correct/better. Many examples I have seen seem to imply that static allocations could/should just be reservations within the DHCP scope, which to my old brain just seems wrong?

Does anybody have any thoughts on this or pointers to Best Practice?

Windows DHCP
Windows DHCP
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.DHCP: Dynamic Host Configuration Protocol (DHCP). A communications protocol that lets network administrators manage centrally and automate the assignment of Internet Protocol (IP) addresses in an organization's network.
1,028 questions
{count} votes

Accepted answer
  1. Candy Luo 12,681 Reputation points Microsoft Vendor
    2020-07-28T03:05:01.033+00:00

    Hi ,

    Generally, we create DHCP reservations within the DHCP scope.

    Here is an article talking about IPAM with DHCP, you could have a look:

    https://rdr-it.com/en/ipam-installing-and-configuring-ip-address-management-on-windows/4/

    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.

    Best Regards,

    Candy

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Mark Baker 21 Reputation points
    2020-08-01T15:03:32.36+00:00

    Thanks for the link - a clear and well written article.

    Your answer is perhaps what I expected. I can certainly see the advantage of using reservations as this causes less work and from an admin perspective is probably easier.

    But with 25 years of IP address spreadsheets behind me I can also see the culture shock this approach may cause. I think the answer is to understand the current setup and recognise the benefits or problems each approach will bring.

    Right now we have clients on the same subnets as servers on numerous networks and until that can be addresses having servers randomly spotted between clients in the DHCP range doesn't seem ideal, though I see there is no technical reason for this not to work (ignoring the security aspect of such shared subnets in the fist place).

    Thanks & regards.

    0 comments No comments