Skip to content
DCIM ProfessionalsDCIM Professionals

Network & IP Reference

IP Subnet Reference Chart

Quick reference for CIDR prefix sizes, subnet masks, usable host counts, private address ranges, and special addresses. Use for fast planning, then use the calculator for exact results.

Terms

CIDRClassless Inter-Domain Routing
The notation used to write a block of network addresses and its size in one compact form, like 192.168.1.0/24 — the number after the slash says how many addresses are in the block.
VLANVirtual Local Area Network
A way to split one physical network into several separate, isolated virtual networks using the same cables and switches — like having several private lanes on one road instead of building separate roads.
WANWide Area Network
A network that connects locations across a large distance — like linking a company's different office buildings or connecting to the internet — as opposed to the network inside a single building (LAN).

CIDR prefix quick reference

Usable host count = 2(32−prefix) − 2. The subtracted 2 accounts for the network address and broadcast address, which cannot be assigned to hosts. Exception: /31 and /32 follow different rules (RFC 3021 and host routes).

PrefixSubnet maskUsable hostsSubdivisionTypical use
/8255.0.0.016 777 2141 class AISP and large enterprise backbones
/16255.255.0.065 534256 class CCampus networks, large office segments
/20255.255.240.04 09416 per /16Mid-size VLANs, cloud VPCs
/21255.255.248.02 0468 per /18Medium-sized segments
/22255.255.252.01 0224 per /20Large VLANs, data centre tiers
/23255.255.254.05102 per /22Department segments
/24255.255.255.0254256 per /16Most common: office VLAN, small site
/25255.255.255.1281262 per /24Split /24 for two segments
/26255.255.255.192624 per /24Small server VLANs
/27255.255.255.224308 per /24Management VLANs, small clusters
/28255.255.255.2401416 per /24Point-to-point with room to grow
/29255.255.255.248632 per /24Router-to-router links or tiny segments
/30255.255.255.252264 per /24Classic point-to-point WAN links
/31255.255.255.2542128 per /24RFC 3021 P2P — no broadcast overhead
/32255.255.255.2551 hostHost routeLoopback, host routes, firewall rules

RFC 1918 private address ranges

These three blocks are reserved for private use. They are not routed on the public internet. Use NAT or a VPN tunnel to reach the internet from these ranges.

RangeBlockSizeCommon use
10.0.0.0/810.x.x.x16 777 216 addressesLarge enterprises, cloud VPCs
172.16.0.0/12172.16–31.x.x1 048 576 addressesMid-size networks, VPN ranges
192.168.0.0/16192.168.x.x65 536 addressesHome and small office LANs
Avoid:Using 192.168.x.x for large enterprise networks — the block is too small and will conflict with home routers when employees use VPN. Prefer 10.x.x.x for corporate address plans.

Special-purpose addresses

These ranges are reserved by IANA for specific functions and must not be used as host addresses.

RangePurpose
127.0.0.0/8Loopback — local host only
169.254.0.0/16Link-local (APIPA) — no DHCP server reached
224.0.0.0/4IPv4 multicast — routing protocols, mDNS
255.255.255.255Limited broadcast — never routed
0.0.0.0/0Default route — catch-all in routing tables

Subnetting workflow

  1. Count the maximum number of hosts needed in the segment.
  2. Add a growth buffer — typically 20–50 % extra address space.
  3. Choose the smallest CIDR prefix that covers hosts + buffer.
  4. Verify no overlap with existing subnets in the address plan.
  5. Reserve .0 (network) and .255 (broadcast) — they are not assignable.
  6. Document the subnet, VLAN ID, gateway, DHCP range, and purpose.
  7. Use the IP Subnet Calculator to verify host counts and ranges before deploying.

Common mistakes

  • Using /24 for every subnet regardless of actual host count.
  • Forgetting network address (.0) and broadcast (.255) reduce usable host count by 2.
  • Overlapping subnets across sites or VLANs causing silent routing failures.
  • Not leaving address space for planned growth (decommissioning and re-subnetting is expensive).
  • Mixing RFC1918 ranges without a clear addressing plan.
  • Using /30 for point-to-point links when /31 (RFC 3021) is supported and wastes no addresses.

Address formula

Key relationships to keep in mind when designing an IP address plan:

Usable hosts = 2^(32 − prefix) − 2
Subnet count from parent = 2^(new_prefix − parent_prefix)
Network address = host address AND subnet mask
Broadcast = network address OR (inverted mask)

Example: 192.168.10.0/25 → network .0, broadcast .127, gateway .1, usable .2 – .126 (126 hosts)

FAQ

Why are there only 254 usable hosts in a /24?

A /24 has 256 total addresses (28). The first (.0) is the network address and the last (.255) is the broadcast address. Both are reserved and cannot be assigned to hosts, leaving 254 usable addresses.

What is the difference between /30 and /31 for point-to-point links?

A /30 provides 4 total addresses (2 usable + network + broadcast). A /31 follows RFC 3021: both addresses are usable with no network or broadcast overhead, saving 2 addresses per link. Most modern routers support /31 — check vendor documentation before deploying.

Can I split a /24 into smaller subnets?

Yes. A /24 can be split into two /25s, four /26s, eight /27s, and so on. Each additional bit in the prefix halves the host count and doubles the subnet count. Use the IP Subnet Calculator to verify ranges and avoid overlap.

Next step

Need exact host ranges?

Use the IP Subnet Calculator to enter a network address and prefix length and get the exact network address, broadcast, first/last host, wildcard mask, and usable host count.

Open subnet calculator →

Disclaimer

This reference chart provides planning guidance only. Always verify subnet ranges, host counts, and address assignments against your authoritative IP address management (IPAM) system before deploying in production environments. Overlapping subnets cause routing failures that can be difficult to diagnose.