Calculator of IP Subnets & Network Planner
Calculate IPv4/IPv6 subnets, plan IPs by device type and download Excel inventory.
A/B/C are mask shortcuts (/8, /16, /24). Offices usually use C · /24.
IP planner (IPv4)
Pick networks → Auto or manual range → colored Excel (free IPs summarized if many).
Networks in the plan
Check networks to plan.
Calculate an IPv4 network above.
Select at least one network to configure categories.
IP Subnetting Architecture & CIDR
Subnet masks, binary host/network math, RFC 1918 private ranges, and IPv6.
CIDR replaced rigid Class A/B/C addressing. The prefix (/24, /16) denotes the contiguous network bits, allocating the remainder for host addresses.
Ranges 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16 are non-routable over the internet, relying on NAT gateways to access public services.
The subnet mask filters the network portion via bitwise AND. The wildcard mask (inverse of mask) is essential for Cisco Access Control Lists (ACLs) and OSPF.
IPv6 uses 128-bit hexadecimal addressing. Standard local LAN allocations use /64 prefixes, granting 18.4 quintillion addresses per subnet for SLAAC autoconfig.
IP Subnetting & Routing Troubleshooting
Step-by-step fixes for IP conflicts, unreachable gateways, and DHCP pool shortages.
Duplicate IP Address Conflict in Local LAN
Default Gateway Outside Subnet Boundary
DHCP Pool Exhaustion in /24 Subnets
Inter-VLAN Communication Breakdown
Did You Know? IP Subnetting Trivia
IPv4 exhaustion history, IPv6 cosmic scale, and the 127.0.0.1 loopback origin.
February 3, 2011: IPv4 Pool Exhaustion
On this date, IANA allocated the final five /8 blocks (16.7M IPs each) to regional registries, formally exhausting global unallocated IPv4 space.
340 Undecillion IPv6 Addresses (3.4 × 10^38)
IPv6 provides 3.4 × 10^38 addresses. There are enough IPs to assign trillions of addresses to every grain of sand on planet Earth.
127.0.0.1: Why 16 Million IPs Were Reserved for Localhost
In 1981, RFC 790 reserved the entire 127.0.0.0/8 block (16.7M addresses) for internal loopback. Any address like 127.0.0.2 routes right back to localhost.
Why We Subtract 2 (Network & Broadcast)
In every IPv4 subnet, all-zeros host bits designate the network ID and all-ones host bits designate the broadcast address, requiring (2^n - 2) usable hosts.