CIDR / Subnet Reference
Quick reference for CIDR notation, IPv4/IPv6 subnet sizes, private ranges, special addresses, subnet examples, and wildcard masks with host counts
73 entries
/0Entire address space
0.0.0.0 / 4,294,967,296 hosts/1Half of address space
128.0.0.0 / 2,147,483,648 hosts/41/16 of address space
240.0.0.0 / 268,435,456 hosts/8Class A equivalent
255.0.0.0 / 16,777,216 hosts/9Half of /8 size
255.128.0.0 / 8,388,608 hosts/10Half of /9 size
255.192.0.0 / 4,194,304 hosts/12Large private network
255.240.0.0 / 1,048,576 hosts/16Class B equivalent
255.255.0.0 / 65,536 hosts/17Half of /16 size
255.255.128.0 / 32,768 hosts/18Half of /17 size
255.255.192.0 / 16,384 hosts/19Half of /18 size
255.255.224.0 / 8,192 hosts/20Medium network
255.255.240.0 / 4,096 hosts/21Half of /20 size
255.255.248.0 / 2,048 hosts/22Half of /21 size
255.255.252.0 / 1,024 hosts/23Half of /22 size
255.255.254.0 / 512 hosts/24Class C equivalent (most common)
255.255.255.0 / 256 hosts/25Half of /24 size
255.255.255.128 / 128 hosts/26Small subnet
255.255.255.192 / 64 hosts/27Small network
255.255.255.224 / 32 hosts/28Very small subnet
255.255.255.240 / 16 hosts/29Point-to-point plus
255.255.255.248 / 8 hosts/30Point-to-point link
255.255.255.252 / 4 hosts (2 usable)/31Point-to-point only (RFC 3021)
255.255.255.254 / 2 hosts/32Single host
255.255.255.255 / 1 host10.0.0.0/8Class A private address (RFC 1918)
10.0.0.0 - 10.255.255.255172.16.0.0/12Class B private address (RFC 1918)
172.16.0.0 - 172.31.255.255192.168.0.0/16Class C private address (RFC 1918)
192.168.0.0 - 192.168.255.255127.0.0.0/8Loopback address
127.0.0.1 (localhost)169.254.0.0/16Link-local address (APIPA)
169.254.0.0 - 169.254.255.2550.0.0.0/0Default route (all addresses)
0.0.0.0 - 255.255.255.255255.255.255.255/32Limited broadcast
255.255.255.255100.64.0.0/10CGNAT address (RFC 6598)
100.64.0.0 - 100.127.255.255192.0.2.0/24Documentation address (TEST-NET-1)
192.0.2.0 - 192.0.2.255198.51.100.0/24Documentation address (TEST-NET-2)
198.51.100.0 - 198.51.100.255203.0.113.0/24Documentation address (TEST-NET-3)
203.0.113.0 - 203.0.113.255224.0.0.0/4Multicast address
224.0.0.0 - 239.255.255.255/128Single host
1 address/127Point-to-point link (RFC 6164)
2 addresses/126Point-to-point (legacy)
4 addresses/64Standard subnet (most common)
18,446,744,073,709,551,616 addresses/56End site allocation (small)
256 /64 subnets/48End site allocation (standard)
65,536 /64 subnets/32ISP allocation (minimum recommended)
65,536 /48 subnets/16Large ISP allocation
65,536 /32 subnets::1/128Loopback address
::1 (localhost)::/0Default route
All IPv6 addressesfe80::/10Link-local address
fe80:: - febf::ffff:...fc00::/7Unique local address (ULA)
fc00:: - fdff::ffff:...2000::/3Global unicast address
2000:: - 3fff::ffff:...ff00::/8Multicast address
ff00:: - ffff::ffff:...::ffff:0:0/96IPv4-mapped address
::ffff:192.0.2.164:ff9b::/96NAT64 prefix
64:ff9b::192.0.2.12001:db8::/32Documentation address
2001:db8:: - 2001:db8:ffff:...192.168.1.0/24 を /25 に分割Split 256 addresses into 2 subnets of 128 hosts
192.168.1.0/25 + 192.168.1.128/25192.168.1.0/24 を /26 に分割Split 256 addresses into 4 subnets of 64 hosts
192.168.1.0/26, .64/26, .128/26, .192/2610.0.0.0/16 を /24 に分割Split 65,536 addresses into 256 /24 subnets
10.0.0.0/24 - 10.0.255.0/24/24 のネットワークアドレスNetwork address is the first address in /24
192.168.1.0 (使用不可)/24 のブロードキャストアドレスBroadcast address is the last address in /24
192.168.1.255 (使用不可)/24 の使用可能ホスト数256 - 2 = 254 usable hosts
192.168.1.1 - 192.168.1.254/30 の使用可能ホスト数4 - 2 = 2 usable hosts
192.168.1.1 - 192.168.1.2サブネット数の計算Number of subnets = 2^(new prefix - old prefix)
/24 to /26 = 2^(26-24) = 4 subnets0.0.0.0 (ワイルドカード)Wildcard mask for /32 (exact match)
ACL: host 192.168.1.10.0.0.3Wildcard mask for /30
4 addresses matched0.0.0.7Wildcard mask for /29
8 addresses matched0.0.0.15Wildcard mask for /28
16 addresses matched0.0.0.31Wildcard mask for /27
32 addresses matched0.0.0.63Wildcard mask for /26
64 addresses matched0.0.0.127Wildcard mask for /25
128 addresses matched0.0.0.255Wildcard mask for /24
256 addresses matched0.0.255.255Wildcard mask for /16
65,536 addresses matched0.255.255.255Wildcard mask for /8
16,777,216 addresses matched255.255.255.255Match all addresses (any)
ACL: anyワイルドカード計算式Wildcard = 255.255.255.255 - Subnet mask
255.255.255.255 - 255.255.255.0 = 0.0.0.255