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
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
- Enter the subnet, the gateway if any, and the first/last address of the scope.
- Write exclusions one per line as a single address or
start-end. - Enter reservations as
IP; MAC; Name. The MAC separator (:,-,.) does not matter. - 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
| Input | Value |
|---|---|
| Subnet | 192.168.1.0/24 |
| Gateway (optional) | 192.168.1.1 |
| Scope start | 192.168.1.10 |
| Scope end | 192.168.1.20 |
| Exclusion ranges | |
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
| Input | Value |
|---|---|
| Subnet | 192.168.1.0/24 |
| Gateway (optional) | 192.168.1.1 |
| Scope start | 192.168.1.1 |
| Scope end | 192.168.1.254 |
| Exclusion ranges | |
| Reservations | |
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