Field resources · Reference cards

Subnet cheat sheet

← All reference cards

IP

Subnet cheat sheet (IPv4)

CIDRMaskUsable hosts
/16255.255.0.065,534
/20255.255.240.04,094
/21255.255.248.02,046
/22255.255.252.01,022
/23255.255.254.0510
/24255.255.255.0254
/25255.255.255.128126
/26255.255.255.19262
/27255.255.255.22430
/28255.255.255.24014
/29255.255.255.2486
/30255.255.255.2522
/31255.255.255.2542 (point-to-point)
/32255.255.255.2551 (single host)

Private ranges

10.0.0.0/810.0.0.0 – 10.255.255.255
172.16.0.0/12172.16.0.0 – 172.31.255.255
192.168.0.0/16192.168.0.0 – 192.168.255.255

Special ranges

127.0.0.0/8Loopback
169.254.0.0/16Link-local (no DHCP answer)
100.64.0.0/10Carrier-grade NAT

Usable hosts = 2(32 − prefix) − 2 (network and broadcast), except /31 and /32.

10/24 · 255.255.255.0 · 256 addresses, 254 hosts/26 · 255.255.255.192 · 64 addresses, 62 hostsNetwork bits (1)Host bits (0)Each octet = 8 bits
The prefix is how many bits are network. Every bit you borrow halves the hosts per subnet.

Teknologi Solutions · teknologisolutions.com