CIDR Subnet Table

Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

CIDR Subnet Table

CIDR Number of Class C


Subnet Mask Total IP's Usable IP's
Prefix networks
255.255.255.255 /32 1 1 1/256th
255.255.255.254 /31 2 0 1/128th
255.255.255.252 /30 4 2 1/64th
255.255.255.248 /29 8 6 1/32nd
255.255.255.240 /28 16 14 1/16th
255.255.255.224 /27 32 30 1/8th
255.255.255.192 /26 64 62 1/4th
255.255.255.128 /25 128 126 1 half
255.255.255.0 /24 256 254 1
255.255.254.0 /23 512 510 2
255.255.252.0 /22 1024 1022 4
255.255.248.0 /21 2048 2046 8
255.255.240.0 /20 4096 4094 16
255.255.224.0 /19 8192 8190 32
255.255.192.0 /18 16,384 16,382 64
255.255.128.0 /17 32,768 32,766 128
255.255.0.0 /16 65,536 65,534 256
255.254.0.0 /15 131,072 131,070 512
255.252.0.0 /14 262,144 262,142 1024
255.248.0.0 /13 524,288 524,286 2048
255.240.0.0 /12 1,048,576 1,048,574 4096
255.224.0.0 /11 2,097,152 2,097,150 8192
255.192.0.0 /10 4,194,304 4,194,302 16,384
255.128.0.0 /9 8,388,608 8,388,606 32,768
255.0.0.0 /8 16,777,216 16,777,214 65,536
254.0.0.0 /7 33,554,432 33,554,430 131,072
252.0.0.0 /6 67,108,864 67,108,862 262,144
248.0.0.0 /5 134,217,728 134,217,726 1,048,576
240.0.0.0 /4 268,435,456 268,435,454 2,097,152
224.0.0.0 /3 536,870,912 536,870,910 4,194,304
192.0.0.0 /2 1,073,741,824 1,073,741,822 8,388,608
CIDR Number of Class C
Subnet Mask Total IP's Usable IP's
Prefix networks
128.0.0.0 /1 2,147,483,648 2,147,483,646 16,777,216
0.0.0.0 /0 4,294,967,296 4,294,967,294 33,554,432

IPv4 CIDR blocks

Restrictions on a/b/c/d
IP/CIDR Δ to last IP addr Mask Hosts (*) Size
(0..255 unless noted)

a.b.c.d/32 +0.0.0.0 255.255.255.255 1 1/256 C

a.b.c.d/31 +0.0.0.1 255.255.255.254 2 1/128 C d = 0 ... (2n) ... 254

a.b.c.d/30 +0.0.0.3 255.255.255.252 4 1/64 C d = 0 ... (4n) ... 252

a.b.c.d/29 +0.0.0.7 255.255.255.248 8 1/32 C d = 0 ... (8n) ... 248

a.b.c.d/28 +0.0.0.15 255.255.255.240 16 1/16 C d = 0 ... (16n) ... 240

a.b.c.d/27 +0.0.0.31 255.255.255.224 32 ⅛C d = 0 ... (32n) ... 224

a.b.c.d/26 +0.0.0.63 255.255.255.192 64 ¼C d = 0, 64, 128, 192

a.b.c.d/25 +0.0.0.127 255.255.255.128 128 ½C d = 0, 128

a.b.c.0/24 +0.0.0.255 255.255.255.000 256 1C

a.b.c.0/23 +0.0.1.255 255.255.254.000 512 2C c = 0 ... (2n) ... 254

a.b.c.0/22 +0.0.3.255 255.255.252.000 1,024 4C c = 0 ... (4n) ... 252


a.b.c.0/21 +0.0.7.255 255.255.248.000 2,048 8C c = 0 ... (8n) ... 248

a.b.c.0/20 +0.0.15.255 255.255.240.000 4,096 16 C c = 0 ... (16n) ... 240

a.b.c.0/19 +0.0.31.255 255.255.224.000 8,192 32 C c = 0 ... (32n) ... 224

a.b.c.0/18 +0.0.63.255 255.255.192.000 16,384 64 C c = 0, 64, 128, 192

a.b.c.0/17 +0.0.127.255 255.255.128.000 32,768 128 C c = 0, 128

a.b.0.0/16 +0.0.255.255 255.255.000.000 65,536 256 C = 1 B

a.b.0.0/15 +0.1.255.255 255.254.000.000 131,072 2B b = 0 ... (2n) ... 254

a.b.0.0/14 +0.3.255.255 255.252.000.000 262,144 4B b = 0 ... (4n) ... 252

a.b.0.0/13 +0.7.255.255 255.248.000.000 524,288 8B b = 0 ... (8n) ... 248

a.b.0.0/12 +0.15.255.255 255.240.000.000 1,048,576 16 B b = 0 ... (16n) ... 240

a.b.0.0/11 +0.31.255.255 255.224.000.000 2,097,152 32 B b = 0 ... (32n) ... 224

a.b.0.0/10 +0.63.255.255 255.192.000.000 4,194,304 64 B b = 0, 64, 128, 192

a.b.0.0/9 +0.127.255.255 255.128.000.000 8,388,608 128 B b = 0, 128

a.0.0.0/8 +0.255.255.255 255.000.000.000 16,777,216 256 B = 1 A

a.0.0.0/7 +1.255.255.255 254.000.000.000 33,554,432 2A a = 0 ... (2n) ... 254


a.0.0.0/6 +3.255.255.255 252.000.000.000 67,108,864 4A a = 0 ... (4n) ... 252

a.0.0.0/5 +7.255.255.255 248.000.000.000 134,217,728 8A a = 0 ... (8n) ... 248

a.0.0.0/4 +15.255.255.255 240.000.000.000 268,435,456 16 A a = 0 ... (16n) ... 240

a.0.0.0/3 +31.255.255.255 224.000.000.000 536,870,912 32 A a = 0 ... (32n) ... 224

a.0.0.0/2 +63.255.255.255 192.000.000.000 1,073,741,824 64 A a = 0, 64, 128, 192

a.0.0.0/1 +127.255.255.255 128.000.000.000 2,147,483,648 128 A a = 0, 128

0.0.0.0/0 +255.255.255.255 000.000.000.000 4,294,967,296 256 A

You might also like