Sei sulla pagina 1di 3

Easy Subnetting Reference Charts by Sandra Hall

In order to use the reference charts you have to


know subnetting basics:
1 How to convert decimal to binary
2 How subnets and subnet masks work
3 The basic subnetting rules, such as broadcast
addresses and network addresses
For Class C subnetting, write this chart over and
over until you memorize it. This chart has 28
numbers, easy to remember.
Hosts/
CIDR Mask
Sub C
Interval

/30
/29
/28
/27
/26
/25
/24

252
248
240
224
192
128
0

4
8
16
32
64
128
256

64
32
16
8
4
2
1

Once you understand the relationship of the


interval or subnet multiplier to the CIDR, you can
begin to quickly compute the subnet mask or other
info required. The important relationship is the
number of significant bits in an address: 32, and the
number of total addresses in a subnet: 256.
Key relationship: Interval =2 raised to the power of
(32-CIDR). Example: to calculate interval for CIDR
/27; 2^(32-27=5)=32; new subnet begins every 32
hosts. For example /22 = 10 host bits; 8 bits will be
dropped for the last octet, leaving 2 bits, 2^2 = 4,
subtract that number from 256, giving a mask of
255.255.252.0.
If you start with a mask, ex. 255.255.255.252, you
can calculate your interval by subtracting the mask
from 256, i.e. 256-252=4. The subnets will be
multiples of 4.
Also, the CIDR and subnet mask are related by
multples of 8. For example, /30 and /22 have
similar subnet masks: /30 = 255.255.255.252 and
/22 = 255.255.252.0. The location of the 252
changes from the fourth octet to the third octet.
Practice often. subnettingquesting.com is a helpful
website.
Good luck!

10/3/12
Multiples of significant numbers; practice with these numbers:

16

32

64

128

256

8
12
16
20
24
28
32
36
40
44
48
52
56
60
64
68
72
76
80
84
88
92
96
100
104
108
112
116
120
124
128
132
136
140
144
148
152
156
160
164
168
172
176
180
184
188
192
196
200
204
208
212
216
220
224
228
232
236
240
244
248
256

16
24
32
40
48
56
64
72
80
88
96
104
112
120
128
136
144
152
160
168
176
184
192
200
208
216
224
232
240
248
256

32
48
64
80
96
112
128
144
160
176
192
208
224
240
256

64
96
128
160
192
224
256

128
192
256

256

512
1024
2048
4096
8192
16384
32768
65536

Powers of 2
1
2
2
4
3
8
4
16
5
32
6
64
7
128
8
256
9
512
10
1024
11
2048
12
4096
13
8192
14
16384
15
32768
16
65536

Easy Subnetting Reference Charts by Sandra Hall

10/3/12

More detail for calculating.Class B and C

CIDR
/30 (32 bits for net - 2 bits for host)
/29 (32 bits 3 bits)
/28 (32 bits 4 bits)
/27 (32 bits 5 bits)
/26 (32 6 bits)
/25 (32 7 bits)
/24 (32 8 bits)
/23
/22
/21
/20
/19
/18
/17
/16

Mask
256 - 4 = 252
256 - 8 = 248
256 - 16 = 240
256 - 32 = 224
256 - 64 = 192
256 - 128 = 128
256 256 = 0
254.0
252.0
248.0
240.0
224.0
192.0
128.0
0.0

Hosts
2^2=4
2^3=8
2^4=16
2^5=32
2^6=64
2^7=128
2^8= 256
2^9=512
2^10=1024
2^11=2048
2^12=4096
2^13=8192
2^14=16384
2^15=32768
2^16=65536

Interval
4
8
16
32
64
128
256
2
4
8
16
32
64
128
256

Sub C
256/4=64
256/8=32
256/16=16
256/32=8
256/64=4
256/128=2
256/256=1

Sub B
256 * 64= 16384
256 * 32 = 8192
256*16 = 4096
256 * 8 = 2048
256 * 4 = 1024
256 * 2 = 512
256 * 1 = 256
128
64
32
16
8
4
2
1

/30 and /22 have the same number of subnets, but different number of hosts. The number of hosts for class B is
the #of subnets * 256 .For example, /21 has 32 class B subnets and 8192 hosts.
CIDR

/30
/29
/28
/27
/26
/25
/24
/23
/22
/21
/20
/19
/18
/17
/16

Mask
252
248
240
224
192
128
0
254.0
252.0
248.0
240.0
224.0
192.0
128.0
0.0

Hosts
4
8
16
32
64
128
256
512
1024
2048
4096
8192
16384
32768
65536

Interval

Sub C

4
8
16
32
64
128
256
2
4
8
16
32
64
128
256

64
32
16
8
4
2
1

Sub B
16384
8192
4096
2048
1024
512
256
128
64
32
16
8
4
2
1

CIDR

Mask

Hosts/
Interval

Sub C

Tips on memorizing this table:

/30
/29
/28
/27
/26
/25
/24

252
248
240
224
192
128
0

4
8
16
32
64
128
256

64
32
16
8
4
2
1

Take and 8.5X11 sheet of paper and fold it in half


3 times. You will have 8 folded segments. Write
the subnet chart into each segment, thereby
repeating the chart 8 times. This repetition will
allow you to begin memorizing the table. Repeat
the writing and restating of the chart until you feel
comfortable subnetting Class B and Class C
without referring to any material.

Easy Subnetting Reference Charts by Sandra Hall


Subnetting Class B and C Same info put into a bigger chart.

Number
CIDR
Block

Class C subnets

Class B

of

subnets

Network
ID bits

10/3/12

Total number of
Number

Host addresses

of Host

per segment= (2

ID bits

^# of Host ID
bits)

Number of
usable Host
addresses per
segment= (2 ^#
of Host ID bits)2

Subnet Mask
(256-host bits)

/30

64

16384

30

255.255.255.252

/29

32

8192

29

255.255.255.248

/28

16

4096

28

16

14

255.255.255.240

/27

2048

27

32

30

255.255.255.224

/26

1024

26

64

62

255.255.255.192

/25

512

25

128

126

255.255.255.128

/24

256

24

256

254

255.255.255.0

/23

128

23

512

510

255.255.254.0

/22

64

22

10

1,024

1,022

255.255.252.0

/21

32

21

11

2,048

2,046

255.255.248.0

/20

16

20

12

4,096

4,094

255.255.240.0

/19

19

13

8,192

8,190

255.255.224.0

/18

18

14

16,384

16,382

255.255.192.0

/17

17

15

32,768

32,766

255.255.128.0

/16

16

16

65,536

65,534

255.255.0.0

Potrebbero piacerti anche