0% found this document useful (0 votes)
143 views

Class Format Default Subnet Mask A B C: Power of 2'S Table

This document contains tables that explain subnetting concepts including the power of 2, default subnet masks for different address classes, binary math, possible subnet masks and their resulting subnets and hosts for Class A, B and C addresses. It shows how to calculate the number of subnets and hosts when borrowing bits from the host field to extend the network portion of the address.

Uploaded by

selooe
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
143 views

Class Format Default Subnet Mask A B C: Power of 2'S Table

This document contains tables that explain subnetting concepts including the power of 2, default subnet masks for different address classes, binary math, possible subnet masks and their resulting subnets and hosts for Class A, B and C addresses. It shows how to calculate the number of subnets and hosts when borrowing bits from the host field to extend the network portion of the address.

Uploaded by

selooe
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

POWER OF 2’S TABLE

21 = 2 29 = 512
22 = 4 210 = 1,024
23 = 8 211 = 2,048
24 = 16 212 = 4,096
25 = 32 213 = 8,192
26 = 64 214 = 16,384
27 = 128 215 = 32,768
28 = 256 216 = 65,536

DEFAULT SUBNET MASK

Class Format Default Subnet Mask


A network.host.host.host 255.0.0.0
B network.network.host.host 255.255.0.0
C network.host.host.host 255.255.255.0

BINARY MATH TABLE

128 64 32 16 8 4 2 1
1 1 1 1 1 1 1 1

SUBNET MASK TABLE

Binary Decimal
00000000 0
10000000 128
11000000 192
11100000 224
11110000 240
11111000 248
11111100 252
SUBNET CALCUALTION TABLE (2 X )

Host Bits Borrowed 2x Number of Subnets Created


1 21 2
2 22 4
3 23 8
4 24 16
5 25 32
6 26 64
7 27 128
8 28 256
9 29 512
10 210 1,024
11 211 2,048
12 212 4,096

SUBNET HOSTS & ADDRESSES CALCUALTION TABLE (2 X )

Host Bits Left 2h Hosts / Subnet (2h – 2) Addresses / Subnet (2h)


1 21 0 2
2 22 1 4
3 23 6 8
4 24 14 16
5 25 30 32
6 26 62 64
7 27 126 128
8 28 254 256
9 29 510 512
10 210 1,022 1,024
11 211 2,046 2,048
12 212 4,094 4,096
CLASS C POSSIBLE SUB NET MASKS

Binary (N.N.N.H) Decimal CIDR # Subnets (2x) Block Size (2y) # Hosts (2y - 2)
N.N.N.00000000 255.255.255.0 /24 20 = 1 28 = 256 28 – 2 = 254
N.N.N.10000000 255.255.255.128 /25 21 = 2 27 = 128 27 – 2 = 126
N.N.N.11000000 255.255.255.192 /26 22 = 4 26 = 64 26 – 2 = 62
N.N.N.11100000 255.255.255.224 /27 23 = 8 25 = 32 25 – 2 = 30
N.N.N.11110000 255.255.255.240 /28 24 = 16 24 = 16 24 – 2 = 14
N.N.N.11111000 255.255.255.248 /29 25 = 32 23 = 8 23 – 2 = 6
N.N.N.11111100 255.255.255.252 /30 26 = 64 22 = 4 22 – 2 = 2

CLASS B POSSIBLE SUBNET MASKS

Binary (N.N.H.H) Decimal CIDR # Subnets (2x) Block Size (2y) # Hosts (2y - 2)
N.N.00000000.00000000 255.255.0.0 /16 20 = 1 216 = 65,536 216 – 2 = 65,534
N.N.10000000.00000000 255.255.128.0 /17 21 = 2 215 = 32,768 215 – 2 = 32,766
N.N.11000000.00000000 255.255.192.0 /18 22 = 4 214 = 16,384 214 – 2 = 1,.382
N.N.11100000.00000000 255.255.224.0 /19 23 = 8 213 = 8,192 213 – 2 = 8,190
N.N.11110000.00000000 255.255.240.0 /20 24 = 16 212 = 4,096 212 – 2 = 4,094
N.N.11111000.00000000 255.255.248.0 /21 25 = 32 211 = 2,048 211 - 2 = 2,046
N.N.11111100.00000000 255.255.252.0 /22 26 = 64 210 = 1,024 210 – 2 = 1,022
N.N.11111110.00000000 255.255.254.0 /23 27 = 128 29 = 512 29 – 2 = 510
N.N.11111111.00000000 255.255.255.0 /24 28 = 256 28 = 256 28 – 2 = 254
N.N.11111111.10000000 255.255.255.128 /25 29 = 512 27 = 128 27 – 2 = 126
N.N.11111111.11000000 255.255.255.192 /26 210 = 1,024 26 = 64 26 – 2 = 62
N.N.11111111.11100000 255.255.255.224 /27 211 = 2,048 25 = 32 25 – 2 = 30
N.N.11111111.11110000 255.255.255.240 /28 212 = 4,096 24 = 16 24 – 2 = 14
N.N.11111111.11111000 255.255.255.248 /29 213 = 8,192 23 = 8 23 – 2 = 6
N.N.11111111.11111100 255.255.255.252 /30 214 = 16,384 22 = 4 22 – 2 = 2
CLASS A POSSIBLE SUBNET MASKS

x y y
Binary (N.H.H.H) Decimal CIDR # Subnets (2 ) Block Size (2 ) # Hosts (2 - 2)
0 22 22
N.00000000.00000000.00000000 255.0.0.0 /8 2 =1 2 = 16,777,216 2 – 2 = 16,777,214
1 23 23
N.10000000.00000000.00000000 255.128.0.0 /9 2 =2 2 = 8,388,608 2 – 2 = 8,388,606
2 22 22
N.11000000.00000000.00000000 255.192.0.0 /10 2 =4 2 = 4,194,304 2 – 2 = 4,194,302
3 21 21
N.11100000.00000000.00000000 255.224.0.0 /11 2 =8 2 = 2,097,152 2 – 2 = 2,097,150
4 20 20
N.11110000.00000000.00000000 255.240.0.0 /12 2 = 16 2 = 1,048,576 2 – 2 = 1,048,574
5 19 19
N.11111000.00000000.00000000 255.248.0.0 /13 2 = 32 2 = 524,288 2 – 2 = 524,286
6 18 18
N.11111100.00000000.00000000 255.252.0.0 /14 2 = 64 2 = 262,144 2 – 2 = 262,142
7 17 17
N.11111110.00000000.00000000 255.254.0.0 /15 2 = 128 2 = 131,072 2 – 2 = 131,070
8 16 16
N.11111111.00000000.00000000 255.255.0.0 /16 2 = 256 2 = 65,536 2 – 2 = 65,534
9 15 15
N.11111111.10000000.00000000 255.255.128.0 /17 2 = 512 2 = 32,768 2 – 2 = 32,766
10 14 14
N.11111111.11000000.00000000 255.255.192.0 /18 2 = 1,024 2 = 16,384 2 – 2 = 1,.382
11 13 13
N.11111111.11100000.00000000 255.255.224.0 /19 2 = 2,048 2 = 8,192 2 – 2 = 8,190
12 12 12
N.11111111.11110000.00000000 255.255.240.0 /20 2 = 4,096 2 = 4,096 2 – 2 = 4,094
13 11 11
N.11111111.11111000.00000000 255.255.248.0 /21 2 = 8,192 2 = 2,048 2 - 2 = 2,046
14 10 10
N.11111111.11111100.00000000 255.255.252.0 /22 2 = 16,384 2 = 1,024 2 – 2 = 1,022
15 9 9
N.11111111.11111110.00000000 255.255.254.0 /23 2 = 32,768 2 = 512 2 – 2 = 510
16 8 8
N.11111111.11111111.00000000 255.255.255.0 /24 2 = 65,536 2 = 256 2 – 2 = 254
17 7 7
N.11111111.11111111.10000000 255.255.255.128 /25 2 = 131,072 2 = 128 2 – 2 = 126
18 6 6
N.11111111.11111111.11000000 255.255.255.192 /26 2 = 262,144 2 = 64 2 – 2 = 62
19 5 5
N.11111111.11111111.11100000 255.255.255.224 /27 2 = 524,288 2 = 32 2 – 2 = 30
20 4 4
N.11111111.11111111.11110000 255.255.255.240 /28 2 = 1,048,576 2 = 16 2 – 2 = 14
21 3 3
N.11111111.11111111.11111000 255.255.255.248 /29 2 = 2,097,152 2 =8 2 –2=6
22 2 2
N.11111111.11111111.11111100 255.255.255.252 /30 2 = 4,194,304 2 =4 2 –2=2

You might also like