Free network utility
LAN IP, Subnet and DHCP Range Validator
Validate a router IPv4 address, /24 to /30 subnet, and DHCP pool before changing LAN settings.
Planning output based on your inputs
The calculation checks the supplied values against standard networking rules. It cannot account for every router, switch, ISP, firmware, device limit, or existing configuration.
Before relying on the result: Record the current settings, change one item at a time, test the network, and keep a rollback path.
What this DHCP range validator checks
Enter the router or default-gateway IPv4 address, subnet prefix, proposed dynamic start and end, expected peak clients, reservations, lease duration, and optional exclusions. RouterNAT calculates the network, mask, broadcast, usable host interval, raw pool, unique excluded addresses, effective capacity, headroom, utilization, and illustrative T1 and T2 times. It rejects a reversed range, a pool outside the gateway subnet, network or broadcast use, gateway overlap, invalid exclusions, and demand beyond the entered capacity. The calculation runs in the browser. It does not contact a DHCP server, read leases, detect a rogue server, prove that an address is unused, or apply configuration.
Scope, pool, subnet, and lease are different
A subnet is the Layer 3 address boundary defined by an IPv4 prefix. A DHCP scope is the server's administrative definition for serving that subnet and normally contains one or more allocatable ranges, policy, and options. A pool is the portion from which dynamic leases are selected. A lease is a temporary allocation to one client identity. Router interfaces, servers, printers, reservations, and excluded static devices may consume usable subnet addresses without belonging to the dynamic pool. Treating the entire usable host range as automatically leasable can place infrastructure at risk. Document each scope with its subnet, server ownership, relay path, options, exclusions, reservations, and change history.
How the IPv4 boundary calculation works
The prefix produces a 32-bit subnet mask. A bitwise AND between the entered gateway and mask yields the network address; setting all host bits to one yields the directed broadcast address. Ordinary host addresses lie between those boundaries. The proposed start and end must both produce the same network when masked, must remain between the first and last usable host, and must appear in numerical order. A /24 has 256 total values and normally 254 usable host addresses, while a /30 has four total values and two ordinary host addresses. This page validates conventional DHCP subnets from /8 through /30 and does not model /31 point-to-point behavior.
Keep the default gateway outside the dynamic pool
Clients normally receive a router address through DHCP option 3. That gateway must be a usable address in the served subnet, but allowing it inside an unrestricted dynamic pool risks offering the router address to a client. The resulting duplicate address can make connectivity intermittent, redirect local traffic, or trigger address-conflict defenses. Put the gateway outside the dynamic range or create a vendor-supported exclusion that is verified before activation. A calculation that shows no overlap only validates the entered numbers. Confirm the active scope and every failover partner or secondary server uses the same protected boundary, because an outdated second server can still offer the gateway.
Exclusions and reservations solve different problems
An exclusion prevents the DHCP service from dynamically offering one address or an inclusive range. Use exclusions for addresses manually configured on infrastructure inside the scope's defined address space. A reservation maps a client identifier, commonly a MAC address or DHCP client identifier, to a predictable lease. The client still uses DHCP and can receive gateway, DNS, lease, and other options. Vendor rules differ: some consumer routers require reservations inside the displayed pool, while enterprise servers can treat the scope, exclusion, pool, and reservation separately. RouterNAT subtracts the entered in-pool reservation count for capacity planning, but cannot verify how a specific product accounts for reservations.
Count exclusions without double subtraction
Overlapping exclusion lines can exaggerate lost capacity if each line is counted independently. The validator sorts valid in-pool intervals and merges overlapping or adjacent ranges before calculating the unique excluded-address total. For example, an exclusion of .120 through .130 and another of .125 through .140 remove twenty-one unique addresses, not thirty-two. Single-address lines are treated as one-address intervals. Every exclusion must remain inside the proposed dynamic start and end for this model. A real server may allow exclusions within a wider scope even when several separate pools are used. Translate the local vendor model carefully rather than assuming identical terminology.
Plan for peak occupancy, not today's connected list
The current client list is not the maximum DHCP demand. Phones, laptops, watches, guest devices, virtual machines, containers, temporary equipment, reimaged clients, and randomized Wi-Fi MAC addresses can create additional leases. Departed clients may retain allocations until expiry. Failover and migration states can also reduce immediately available capacity. Enter a realistic peak including overlapping leases and growth, then retain operational headroom. RouterNAT warns above eighty percent estimated utilization, but that is a planning threshold rather than a universal standard. Business-critical networks should use monitored occupancy, historical peaks, onboarding plans, and documented growth assumptions instead of one snapshot from a quiet period.
Lease duration changes reuse and control-plane load
A shorter lease returns addresses sooner after transient clients leave, which can suit guest networks or constrained pools. It also increases DHCP renewal traffic and makes clients depend more frequently on the server and relay path. Longer leases reduce renewal frequency for stable networks but retain stale occupancy longer and delay delivery of changed options. Under common defaults, a client attempts renewal at T1 near fifty percent of the lease and rebinding at T2 near eighty-seven and one-half percent, although servers can provide explicit values and implementations vary. The displayed T1 and T2 are arithmetic illustrations from the entered duration, not captured server policy.
DHCP options must match the served subnet
A numerically valid pool can still produce unusable clients when DHCP options are wrong. Verify the subnet mask, default gateway, DNS servers, domain search information, NTP, routes, PXE settings, and vendor-specific options required by the environment. The router option should be reachable on the client's local subnet unless a documented architecture says otherwise. DNS addresses must exist and be permitted through the relevant firewall policy. A copied scope can retain an old gateway or DNS server even when its range looks correct. RouterNAT validates address boundaries only; it does not accept or certify option values. Compare the final scope with the authoritative network design and tested client output.
VLANs and DHCP relay change the path
A DHCP Discover begins as a local broadcast and does not cross a router by ordinary forwarding. A server outside the client VLAN requires a correctly configured relay or IP helper. The relay's GIADDR or related information lets the server select the appropriate scope. Every VLAN normally needs a unique IP subnet and matching scope; reusing an overlapping subnet across routed VLANs creates ambiguity. A valid range on paper cannot repair a missing helper, wrong relay source interface, blocked UDP 67 or 68 traffic, incorrect VLAN tagging, or exhausted server policy. Capture the Discover, Offer, Request, and Acknowledgment sequence at controlled points when clients receive no address.
Multiple DHCP servers require coordination
Two independent servers offering overlapping addresses on one broadcast domain can create duplicate leases even when each individual configuration passes this validator. High availability should use a supported failover, split-scope, or coordinated allocation design with synchronized reservations, exclusions, policy, and state. A forgotten router, wireless controller, lab server, or unauthorized service can answer faster than the intended server. Symptoms include inconsistent gateways, DNS settings, lease durations, or address ranges between reconnects. Inspect client lease details for server identifier and options, review switch security telemetry where available, and capture offers. RouterNAT performs no discovery and cannot tell whether another server is active.
Manual static addresses require live verification
An address outside the dynamic pool is not automatically free. It may belong to a manually configured device, another scope, a VPN, a secondary router, high-availability virtual IP, or undocumented infrastructure. Ping is not proof of absence because hosts and firewalls can ignore echo. ARP or neighbor tables, switch forwarding data, DHCP leases, IP address management records, DNS, controller inventories, and authorized packet observation provide stronger combined evidence. Before changing a scope, inventory static devices and reserve or exclude their addresses according to the server design. Afterward, monitor duplicate-address detection, decline messages, ARP changes, and user reports rather than assuming the arithmetic eliminated every conflict.
Reservations and randomized client identifiers
Modern phones and computers can use a private MAC address per wireless network. A reservation created for the hardware label MAC may never match the identifier actually presented on that SSID. Operating-system updates or privacy settings can also rotate identifiers, and some DHCP clients use option 61 rather than a simple MAC as the decisive identity. Confirm the active client identifier in the authorized DHCP lease table before creating a mapping. Do not disable privacy features globally merely to simplify administration. Record device purpose and owner without publishing sensitive identifiers. RouterNAT asks only for a reservation count because device names and MAC addresses are unnecessary for validating the pool capacity.
Changing a live scope safely
Export or document the current DHCP configuration, lease state, reservations, exclusions, relay addresses, options, and rollback procedure. Schedule a maintenance window when a gateway, mask, or subnet change can interrupt every client. Reducing a pool does not instantly revoke leases already issued outside the new boundary. Changing options may not reach clients until renewal, rebind, reconnect, or an authorized administrative action. Avoid deleting active scopes without understanding server behavior. Apply one controlled change, watch server and relay logs, test a wired and wireless client in each relevant VLAN, and verify gateway, DNS, address, prefix, lease times, and application access before declaring the migration complete.
Troubleshooting common DHCP failure patterns
An address beginning 169.254 on an IPv4 client often indicates that no usable offer completed, but the cause may be physical link, Wi-Fi authentication, VLAN assignment, relay, firewall, server availability, scope exhaustion, policy, or conflict detection. A client with an address but no internet may have a wrong gateway, mask, DNS, route, captive portal, or upstream outage rather than a leasing failure. Intermittent duplicate-address warnings suggest overlapping dynamic pools, an unexcluded static device, restored stale configuration, or an unauthorized server. Separate association, Layer 2 reachability, DHCP exchange, local routing, DNS, and internet reachability instead of repeatedly rebooting the router.
Privacy, limitations, and final validation
All entered values are processed in browser memory and are not submitted as a calculator request. Avoid entering device names, MAC addresses, credentials, or confidential inventory. The page supports IPv4 planning and conventional /8 through /30 host boundaries; it is not a DHCPv6 prefix or address-allocation validator. It cannot see live leases, server policy, failover state, relay configuration, VLANs, static hosts, conflicts, or vendor restrictions. Passing means the supplied numbers are internally consistent under the stated model. Before activation, verify the current manufacturer or server documentation, authoritative IP plan, live lease database, exclusions, reservations, options, competing-server controls, monitoring, backup, and rollback path.
Verify the underlying network and broadcast boundaries with the IPv4 subnet calculator, or translate a dotted mask with the CIDR converter.
When the required client count should determine the prefix first, use the network host calculator. For several differently sized VLANs, build the parent allocation with the VLSM subnet planner.
After the scope passes, create documented device assignments with the static IP and reservation planner, then compare the design with the separate DHCP range calculator without treating either browser calculation as proof that a live address is unused.
Privacy and responsible use
This calculation runs locally in your browser. RouterNAT does not receive or save the values entered into this tool. Use the result only for lawful network administration and troubleshooting.
Related RouterNAT guides
For a broader security review, follow our guide to secure a new home router before applying administration, Wi-Fi, or access-control changes.

Comments
Leave a Comment
Your email address will not be published. Comments are reviewed before appearing.