Network and IP Planning · #07

Online DHCP Scope and Reservation Planner

Calculates how many dynamic addresses a DHCP scope can lease and finds gateway, exclusion and reservation errors.

  • Data is processed in your browser and not sent to a server
  • Export: CSV

Tool

Network of the scope: 192.168.1.0/24

Flagged if it is inside the scope and not excluded.

One IP or range per line: 192.168.1.15-192.168.1.20

One per line: IP; MAC; Name

What does this tool do?

When a DHCP pool runs out, clients fall back to 169.254 addresses, and the cause is often miscounted exclusions or a gateway left inside the scope. The tool reads scope, exclusions and reservations together, counts each address once and reports configuration errors.

How to use it

  1. Enter the subnet, the gateway if any, and the first/last address of the scope.
  2. Write exclusions one per line as a single address or start-end.
  3. Enter reservations as IP; MAC; Name. The MAC separator (:, -, .) does not matter.
  4. Press Calculate.

Fields

Subnet
Network of the scope: 192.168.1.0/24
Gateway (optional)
Flagged if it is inside the scope and not excluded.
Scope start
Scope end
Exclusion ranges
One IP or range per line: 192.168.1.15-192.168.1.20
Reservations
One per line: IP; MAC; Name

Worked example

InputValue
Subnet192.168.1.0/24
Gateway (optional)192.168.1.1
Scope start192.168.1.10
Scope end192.168.1.20
Exclusion ranges
192.168.1.12
192.168.1.15-192.168.1.16
192.168.1.15

Expected result: Scope of 11 addresses, 3 unique exclusions (.12, .15, .16) → 8 dynamic addresses.

.15 appears twice in the exclusions (alone and in the .15–.16 range). The tool removes each address once, so the result is 11 − 3 = 8, not 11 − 4 = 7.

Second scenario

InputValue
Subnet192.168.1.0/24
Gateway (optional)192.168.1.1
Scope start192.168.1.1
Scope end192.168.1.254
Exclusion ranges
192.168.1.200-192.168.1.254
Reservations
192.168.1.50;00-11-22-33-44-55;YAZICI-1
192.168.1.51;00:11:22:33:44:55;YAZICI-2
192.168.1.210;aabb.ccdd.eeff;NVR

Expected result: Gateway .1 is inside the scope and not excluded (error); two reservations share a MAC (error); the .210 reservation lies in an exclusion range (info).

Method and assumptions

Dynamic capacity = addresses in scope − unique excluded addresses in scope − reservations outside exclusions − the gateway if it is inside the scope and not excluded.

Exclusions are kept as a set, so overlapping ranges count once. Excluded addresses outside the scope are reported. Reservations are checked to be inside the subnet with unique IP and MAC.

The network and broadcast addresses cannot be the start or end of the scope.

Using the result and troubleshooting

If dynamic capacity is below the expected number of concurrent clients, widen the scope or shorten the lease. Short leases (e.g. 1–4 hours) on guest networks delay pool exhaustion.

Windows DHCP allows reservations inside an exclusion range; then they do not reduce the dynamic pool further. The tool shows this as information.

Limits and common mistakes

  • It does not connect to a DHCP server; it checks the values you enter.
  • Failover or split-scope distribution is not calculated; apply the ratio between servers yourself.
  • One exclusion line may contain at most 65,536 addresses.

Frequently asked questions

Should the gateway be outside the scope?

Yes. If it is inside, add it as an exclusion or start the scope after it; otherwise DHCP may lease the gateway address to a client (with Windows DHCP conflict detection off).

Related tools and service

  • VLAN and VLSM IP PlannerSplits one parent block into several VLANs; returns subnet, gateway, DHCP range and spare capacity per VLAN, with XLSX export.
  • IPv4 Subnet CalculatorCalculates the network address, broadcast, mask and usable host range of a single IPv4 network.

Related service: Switch, Router and Network Device Installation

Network online tools · See all online tools