Beruflich Dokumente
Kultur Dokumente
1010100
10011000 10001111100
1011100101011100
101100011101001
1011110100011010
00001010010110010
1001010101100111
1111010101000101
1101001101010011
001010010101010
1010101000110010
010101001011000
110101100011010
11010100001011
001010100110
1001010010
IP Addressing
and Subnetting
IPv4
Workbook
Version 2.1
Instructor’s Edition
11111110
10010101
00011011
10000110
11010011
IPv4 Address Classes
Class A 1 – 127 Leading bit pattern 0 00000000.00000000.00000000.00000000
Network . Host . Host . Host
TEST-NET Addresses - The address block 192.0.2.0 to 192.0.2.255 (192.0.2.0/24) is set aside
for teaching and learning purposes.
Experimental Addresses - The addresses in the block 240.0.0.0 to 255.255.255.254 are listed as
reserved for future use (RFC 3330).
Class B 255.255.0.0
Class C 255.255.255.0
Special Thanks to Melvin Baker and Jim Dorsch for taking the time to check this workbook for errors,
and to everyone who has sent in suggestions to improve the series.
Inside Cover
Binary To Decimal Conversion
128 64 32 16 8 4 2 1 Answers Scratch Area
1 0 0 1 0 0 1 0 146 128 64
16 32
0 1 1 1 0 1 1 1 119 2 16
146 4
1 1 1 1 1 1 1 1 255 2
1
1 1 0 0 0 1 0 1 197 119
1 1 1 1 0 1 1 0 246
0 0 0 1 0 0 1 1 19
1 0 0 0 0 0 0 1 129
0 0 1 1 0 0 0 1 49
0 1 1 1 1 0 0 0 120
1 1 1 1 0 0 0 0 240
0 0 1 1 1 0 1 1 59
0 0 0 0 0 1 1 1 7
00011011 27
10101010 170
01101111 111
11111000 248
00100000 32
01010101 85
00111110 62
00000011 3
11101101 237
11000000 192
1
Decimal To Binary Conversion
Use all 8 bits for each problem
128 64 32 16 8 4 2 1 = 255 Scratch Area
1 1 1 0 1 1 1 0
_________________________________________ 238 238 34
-128 -32
0 0 1 0 0 0 1 0
_________________________________________ 34 110 2
-64 -2
0 1 1 1 1 0 1 1
_________________________________________ 123 46 0
-32
0 0 1 1 0 0 1 0
_________________________________________ 50 14
-8
1 1 1 1 1 1 1 1
_________________________________________ 255 6
-4
1 1 0 0 1 0 0 0
_________________________________________ 200 2
-2
0 0 0 0 1 0 1 0
_________________________________________ 10 0
1 0 0 0 1 0 1 0
_________________________________________ 138
0 0 0 0 0 0 0 1
_________________________________________ 1
0 0 0 0 1 1 0 1
_________________________________________ 13
1 1 1 1 1 0 1 0
_________________________________________ 250
0 1 1 0 1 0 1 1
_________________________________________ 107
1 1 1 0 0 0 0 0
_________________________________________ 224
0 1 1 1 0 0 1 0
_________________________________________ 114
1 1 0 0 0 0 0 0
_________________________________________ 192
1 0 1 0 1 1 0 0
_________________________________________ 172
0 1 1 0 0 1 0 0
_________________________________________ 100
0 1 1 1 0 1 1 1
_________________________________________ 119
0 0 1 1 1 0 0 1
_________________________________________ 57
0 1 1 0 0 0 1 0
_________________________________________ 98
1 0 1 1 0 0 1 1
_________________________________________ 179
0 0 0 0 0 0 1 0
_________________________________________ 2
2
Address Class Identification
Address Class
10.250.1.1 A
_____
150.10.15.0 B
_____
192.14.2.0 C
_____
148.17.9.1 B
_____
193.42.1.1 C
_____
126.8.156.0 A
_____
220.200.23.1 C
_____
230.230.45.58 D
_____
177.100.18.4 B
_____
119.18.45.0 A
_____
249.240.80.78 E
_____
199.155.77.56 C
_____
117.89.56.45 A
_____
215.45.45.0 C
_____
199.200.15.0 C
_____
95.0.21.90 A
_____
33.0.0.0 A
_____
158.98.80.0 B
_____
219.21.56.0 C
_____
3
Network & Host Identification
Circle the network portion Circle the host portion of
of these addresses: these addresses:
177.100.18.4 10.15.123.50
119.18.45.0 171.2.199.31
209.240.80.78 198.125.87.177
199.155.77.56 223.250.200.222
117.89.56.45 17.45.222.45
215.45.45.0 126.201.54.231
192.200.15.0 191.41.35.112
95.0.21.90 155.25.169.227
33.0.0.0 192.15.155.2
158.98.80.0 123.102.45.254
217.21.56.0 148.17.9.155
10.250.1.1 100.25.1.1
150.10.15.0 195.0.21.98
192.14.2.0 25.250.135.46
148.17.9.1 171.102.77.77
193.42.1.1 55.250.5.5
126.8.156.0 218.155.230.14
220.200.23.1 10.250.1.1
4
Network Addresses
Using the IP address and subnet mask shown write out the network address:
188.10.18.2 188 . 10 . 0 . 0
_____________________________
255.255.0.0
10.10.48.80 10 . 10 . 48 . 0
_____________________________
255.255.255.0
10.10.10.10 10 . 0 . 0 . 0
_____________________________
255.0.0.0
186.13.23.110 186 . 13 . 23 . 0
_____________________________
255.255.255.0
223.69.230.250 223 . 69 . 0 . 0
_____________________________
255.255.0.0
27.125.200.151 27 . 0 . 0 . 0
_____________________________
255.0.0.0
28.212.250.254 28 . 212 . 0 . 0
_____________________________
255.255.0.0
5
Host Addresses
Using the IP address and subnet mask shown write out the host address:
188.10.18.2 0 . 0 . 18 . 2
_____________________________
255.255.0.0
10.10.48.80 0 . 0 . 0 . 80
_____________________________
255.255.255.0
222.49.49.11 0 . 0 . 0 . 11
_____________________________
255.255.255.0
128.23.230.19 0 . 0 . 230 . 19
_____________________________
255.255.0.0
10.10.10.10 0 . 10 . 10 . 10
_____________________________
255.0.0.0
200.113.123.11 0 . 0 . 0 . 11
_____________________________
255.255.255.0
223.169.23.20 0 . 0 . 23 . 20
_____________________________
255.255.0.0
203.20.35.215 0 . 0 . 0 . 215
_____________________________
255.255.255.0
117.15.2.51 0 . 15 . 2 . 51
_____________________________
255.0.0.0
199.120.15.135 0 . 0 . 0 . 135
_____________________________
255.255.255.0
191.55.165.135 0 . 0 . 0 . 135
_____________________________
255.255.255.0
48.21.25.54 0 . 0 . 25 . 54
_____________________________
255.255.0.0
6
Default Subnet Masks
Write the correct default subnet mask for each of the following addresses:
119.18.45.0 255 . 0 . 0 . 0
_____________________________
10.10.250.1 255 . 0 . 0 . 0
_____________________________
126.123.23.1 255 . 0 . 0 . 0
_____________________________
77.251.200.51 255 . 0 . 0 . 0
_____________________________
88.45.65.35 255 . 0 . 0 . 0
_____________________________
125.125.250.1 255 . 0 . 0 . 0
_____________________________
1.1.10.50 255 . 0 . 0 . 0
_____________________________
95.250.91.99 255 . 0 . 0 . 0
_____________________________
7
ANDING With
Default subnet masks
Every IP address must be accompanied by a subnet mask. By now you should be able to look
at an IP address and tell what class it is. Unfortunately your computer doesn’t think that way.
For your computer to determine the network and subnet portion of an IP address it must
“AND” the IP address with the subnet mask.
ANDING Equations:
1 AND 1 = 1
1 AND 0 = 0
0 AND 1 = 0
0 AND 0 = 0
Sample:
Address Class: C
Network Portion: 192 . 100 . 10 . 33
Host Portion: 192 . 100 . 10 . 33
In order for you computer to get the same information it must AND the IP address with
the subnet mask in binary.
Network Host
ANDING with the default subnet mask allows your computer to figure out the network
portion of the address.
8
ANDING With
Custom subnet masks
When you take a single network such as 192.100.10.0 and divide it into five smaller networks
(192.100.10.16, 192.100.10.32, 192.100.10.48, 192.100.10.64, 192.100.10.80) the outside
world still sees the network as 192.100.10.0, but the internal computers and routers see five
smaller subnetworks. Each independent of the other. This can only be accomplished by using
a custom subnet mask. A custom subnet mask borrows bits from the host portion of the
address to create a subnetwork address between the network and host portions of an IP
address. In this example each range has 14 usable addresses in it. The computer must still
AND the IP address against the custom subnet mask to see what the network portion is and
which subnetwork it belongs to.
Sub
Network Network Host
IP Address: 1 1 0 0 0 0 0 0 . 0 1 1 0 0 1 0 0 . 0 0 0 0 1 0 1 0 . 0 0 1 0 0 0 0 1 (192 . 100 . 10 . 33)
Custom Subnet Mask: 1 1 1 1 1 1 1 1 . 1 1 1 1 1 1 1 1 . 1 1 1 1 1 1 1 1 . 1 1 1 1 0 0 0 0 (255 . 255 . 255 . 240)
AND: 1 1 0 0 0 0 0 0 . 0 1 1 0 0 1 0 0 . 0 0 0 0 1 0 1 0 . 0 0 1 0 0 0 0 0 (192 . 100 . 10 . 32)
In the next set of problems you will determine the necessary information to determine the
correct subnet mask for a variety of IP addresses.
9
How to determine the number of subnets and the
number of hosts per subnet
The formula that can provide this basic information:
Number of subnets = 2 s
This formula calculates the number of hosts or subnets based on the number of binary bits
used. For example if you borrow three bits from the host portion of the address use the
number of subnets formula to determine the total number of subnets gained by borrowing the
three bits. This would be 23 or 2 x 2 x 2 = 8 subnets
To determine the number of hosts per subnet you would take the number of binary bits used in
the host portion and apply this to the number of hosts per subnet formula If five bits are in the
host portion of the address this would be 2 5 or 2 x 2 x 2 x 2 x 2 = 32 hosts.
When dealing with the number of hosts per subnet you have to subtract two addresses from
the range. The first address in every range is the subnet number. The last address in every
range is the broadcast address. These two addresses cannot be assigned to any device in
the network which is why you have to subtract two addresses to find the number of usable
addresses in each range.
For example, if two bits are borrowed for the network portion of the address you can easily
determine the number of subnets and hosts per subnets using the formula.
195. 223 . 50 . 0 0 0 0 0 0 0 0
10
Custom Subnet
Problems
Custom Subnet Masks
Problem 1
Number of needed subnets 14
Number of needed usable hosts 14
Network Address 192.10.10.0
C
Address class __________
16
Total number of subnets ___________________
16
Total number of host addresses ___________________
14
Number of usable addresses ___________________
4
Number of bits borrowed ___________________
Number of
256 128 64 32 16 8 4 2 - Hosts
Number of
Subnets - 2 4 8 16 32 64 128 256
128 64 32 16 8 4 2 1 - Binary values
192 . 10 . 10 . 0 0 0 0 0 0 0 0
128
16 Observe the total number of
Add the binary value
64 hosts.
numbers to the left of the line to
-2
create the custom subnet mask. 32 Subtract 2 for the number of
14
+16
usable hosts.
240
12
Custom Subnet Masks
Problem 2
Number of needed subnets 1000
Number of needed usable hosts 60
Network Address 165.100.0.0
B
Address class __________
255 . 255 . 0 . 0
Default subnet mask _______________________________
1,024
Total number of subnets ___________________
64
Total number of host addresses ___________________
62
Number of usable addresses ___________________
10
Number of bits borrowed ___________________
32,
16,3
4,0
2,0
1,02
8,19
512
536
768
Number of
84
96
48
2
65,
32,
16,3
4,0
102
204
8,19
536
512
Number of
768
84
96
165 . 100 . 0 0 0 0 0 0 0 0 . 0 0 0 0 0 0 0 0
128 128
64 +64
32 192 64
Observe the total number of
16 hosts.
Add the binary value
numbers to the left of the line to 8 -2 Subtract 2 for the number of
create the custom subnet mask.
4 62 usable hosts.
2
+1
255
13
Custom Subnet Masks
255 . 255 . 0 . 0
Default subnet mask _______________________________
1,024
Total number of subnets ___________________
64
Total number of host addresses ___________________
62
Number of usable addresses ___________________
10
Number of bits borrowed ___________________
32,
16,3
4,0
2,0
1,02
8,19
512
536
768
Number of
84
96
48
2
65,
32,
16,3
4,0
102
204
8,19
536
512
Number of 768
84
96
148 . 75 . 0 0 0 0 0 0 0 0 . 0 0 0 0 0 0 0 0
128 128
64 +64
32 192 64
Observe the total number of
16 hosts.
Add the binary value
numbers to the left of the line to 8 -2 Subtract 2 for the number of
create the custom subnet mask.
4 62 usable hosts.
2 1024
+1 Subtract 2 for the total number of
-2 subnets to get the usable number of
255 subnets.
1,022
14
Custom Subnet Masks
Problem 4
Number of needed subnets 6
Number of needed usable hosts 30
Network Address 195.85.8.0
C
Address class _______
8
Total number of subnets ___________________
32
Total number of host addresses ___________________
30
Number of usable addresses ___________________
3
Number of bits borrowed ___________________
Number of
256 128 64 32 16 8 4 2 - Hosts
Number of
Subnets - 2 4 8 16 32 64 128 256
128 64 32 16 8 4 2 1 - Binary values
195 . 85 . 8 . 0 0 0 0 0 0 0 0
128
64 32 8
+32 -2 -2
224 30 6
15
Custom Subnet Masks
Problem 5
Number of needed subnets 6
Number of needed usable hosts 30
Network Address 210.100.56.0
C
Address class _______
8
Total number of subnets ___________________
32
Total number of host addresses ___________________
30
Number of usable addresses ___________________
3
Number of bits borrowed ___________________
Number of
256 128 64 32 16 8 4 2 - Hosts
Number of
Subnets - 2 4 8 16 32 64 128 256
128 64 32 16 8 4 2 1 - Binary values
210 . 100 . 56 . 0 0 0 0 0 0 0 0
128
64 8 32
+32 -2 -2
224 6 30
16
Custom Subnet Masks
Problem 6
Number of needed subnets 126
Number of needed usable hosts 131,070
Network Address 118.0.0.0
A
Address class _______
255 . 0 . 0 . 0
Default subnet mask _______________________________
255 . 254. 0 . 0
Custom subnet mask _______________________________
128
Total number of subnets ___________________
131,072
Total number of host addresses ___________________
131,070
Number of usable addresses ___________________
7
Number of bits borrowed ___________________
2,09
1,04
52
262
131
65,5
32,7
16,3
4,0
2,0
1,02
4,2
4,30
8,19
8,57
7,15
,07
Number of
,144
512
36
96
48
84
68
. 256 128 64 32 16 8 4 2
88
Hosts
-
2
2
2
4
4
6
1,04
2,09
4,19
262
52
131
65,5
32,7
16,3
1,02
2,0
4,0
4,2
4,30
8,19
8,57
7,15
,07
Number of
,144
512
.
36
48
96
84
68
88
2
4
4
6
118. 0 0 0 0 0 0 0 0 . 0 0 0 0 0 0 0 0 . 0 0 0 0 0 0 0 0
128
64
32
16
8
4 128 131,072
+2 -2 -2
254 126 131,070
17
Custom Subnet Masks
Problem 7
Number of needed subnets 2000
Number of needed usable hosts 15
Network Address 178.100.0.0
B
Address class __________
255 . 255 . 0 . 0
Default subnet mask _______________________________
2,048
Total number of subnets ___________________
32
Total number of host addresses ___________________
30
Number of usable addresses ___________________
11
Number of bits borrowed ___________________
32,
16,3
4,0
2,0
1,02
8,19
512
536
768
Number of
84
96
48
2
65,
32,
16,3
4,0
102
204
8,19
536
512
Number of
768
84
96
178 . 100 . 0 0 0 0 0 0 0 0 . 0 0 0 0 0 0 0 0
128
64
32
16
8
4 2,048 32
2 -2 -2
+1 2,046 30
18 255
Custom Subnet Masks
Problem 8
Number of needed subnets 3
Number of needed usable hosts 45
Network Address 200.175.14.0
C
Address class _______
4
Total number of subnets ___________________
64
Total number of host addresses ___________________
62
Number of usable addresses ___________________
2
Number of bits borrowed ___________________
Number of
256 128 64 32 16 8 4 2 - Hosts
Number of
Subnets - 2 4 8 16 32 64 128 256
128 64 32 16 8 4 2 1 - Binary values
200 . 175 . 14 . 0 0 0 0 0 0 0 0
128 4 64
+64 -2 -2
240 2 62
19
Custom Subnet Masks
Problem 9
Number of needed subnets 60
Number of needed usable hosts 1,000
Network Address 128.77.0.0
B
Address class _______
255 . 255 . 0 . 0
Default subnet mask _______________________________
64
Total number of subnets ___________________
1,024
Total number of host addresses ___________________
1,022
Number of usable addresses ___________________
6
Number of bits borrowed ___________________
32,
16,3
4,0
2,0
1,02
8,19
512
536
768
Number of
84
96
48
2
65,
32,
16,3
4,0
102
204
8,19
536
512
Number of
768
84
96
128 . 77 . 0 0 0 0 0 0 0 0 . 0 0 0 0 0 0 0 0
128
64
32
16
8 64 1,024
+4 -2 -2
252 62 1,022
20
Custom Subnet Masks
Problem 10
Number of needed usable hosts 60
Network Address 198.100.10.0
C
Address class _______
4
Total number of subnets ___________________
64
Total number of host addresses ___________________
62
Number of usable addresses ___________________
2
Number of bits borrowed ___________________
Number of
256 128 64 32 16 8 4 2 - Hosts
Number of
Subnets - 2 4 8 16 32 64 128 256
128 64 32 16 8 4 2 1 - Binary values
198 . 100 . 10 . 0 0 0 0 0 0 0 0
128 64 4
+64 -2 -2
192 62 2
21
Custom Subnet Masks
Problem 11
Number of needed subnets 250
Network Address 101.0.0.0
A
Address class _______
255 . 0 . 0 . 0
Default subnet mask _______________________________
255 . 255 . 0 . 0
Custom subnet mask _______________________________
256
Total number of subnets ___________________
65,536
Total number of host addresses ___________________
65,534
Number of usable addresses ___________________
8
Number of bits borrowed ___________________
2,09
1,04
52
262
131
65,5
32,7
16,3
4,0
2,0
1,02
4,2
4,30
8,19
8,57
7,15
,07
Number of
,144
512
36
96
48
84
68
. 256 128 64 32 16 8 4 2
88
Hosts
-
2
2
2
4
4
6
1,04
2,09
4,19
262
52
131
65,5
32,7
16,3
1,02
2,0
4,0
4,2
4,30
8,19
8,57
7,15
,07
Number of
,144
512
. .
36
48
96
84
68
88
2
2
4
4
6
101. 0 0 0 0 0 0 0 0 . 0 0 0 0 0 0 0 0 . 0 0 0 0 0 0 0 0
128
64
32
16
8
4
2 256 65,536
+1 -2 -2
255 254 65,534
22
Custom Subnet Masks
Problem 12
Number of needed subnets 5
Network Address 218.35.50.0
C
Address class _______
8
Total number of subnets ___________________
32
Total number of host addresses ___________________
30
Number of usable addresses ___________________
3
Number of bits borrowed ___________________
Number of
256 128 64 32 16 8 4 2 - Hosts
Number of
Subnets - 2 4 8 16 32 64 128 256
128 64 32 16 8 4 2 1 - Binary values
218 . 35 . 50 . 0 0 0 0 0 0 0 0
128
64 64 4
+32 -2 -2
224 62 2
23
Custom Subnet Masks
Problem 13
Number of needed usable hosts 25
Network Address 218.35.50.0
C
Address class _______
8
Total number of subnets ___________________
32
Total number of host addresses ___________________
30
Number of usable addresses ___________________
3
Number of bits borrowed ___________________
Number of
256 128 64 32 16 8 4 2 - Hosts
Number of
Subnets - 2 4 8 16 32 64 128 256
128 64 32 16 8 4 2 1 - Binary values
218 . 35 . 50 . 0 0 0 0 0 0 0 0
128
64 8 32
+32 -2 -2
224 6 30
24
Custom Subnet Masks
Problem 14
Number of needed subnets 10
Network Address 172.59.0.0
B
Address class _______
255 . 255 . 0 . 0
Default subnet mask _______________________________
16
Total number of subnets ___________________
4,096
Total number of host addresses ___________________
4,094
Number of usable addresses ___________________
4
Number of bits borrowed ___________________
32,
16,3
4,0
2,0
1,02
8,19
512
536
768
Number of
84
96
48
2
65,
32,
16,3
4,0
102
204
8,19
536
512
Number of 768
84
96
172 . 59 . 0 0 0 0 0 0 0 0 . 0 0 0 0 0 0 0 0
128
64
32 16 4,096
+16 -2 -2
240 14 4,094
25
Custom Subnet Masks
Problem 15
Number of needed usable hosts 50
Network Address 172.59.0.0
B
Address class _______
255 . 255 . 0 . 0
Default subnet mask _______________________________
1,024
Total number of subnets ___________________
64
Total number of host addresses ___________________
62
Number of usable addresses ___________________
10
Number of bits borrowed ___________________
32,
16,3
4,0
2,0
1,02
8,19
512
536
768
Number of
84
96
48
2
65,
32,
16,3
4,0
102
204
8,19
536
512
Number of
768
84
96
172 . 59 . 0 0 0 0 0 0 0 0 . 0 0 0 0 0 0 0 0
128
64
32
16
8
4
2 128 64 1,024
+1 +64 -2 -2
255 192 62 1,022
26
Custom Subnet Masks
Problem 16
Number of needed usable hosts 29
Network Address 23.0.0.0
A
Address class _______
255 . 0 . 0 . 0
Default subnet mask _______________________________
524,288
Total number of subnets ___________________
32
Total number of host addresses ___________________
30
Number of usable addresses ___________________
19
Number of bits borrowed ___________________
2,09
1,04
52
262
131
65,5
32,7
16,3
4,0
2,0
1,02
4,2
4,30
8,19
8,57
7,15
,07
Number of
,144
512
36
96
48
84
68
. 256 128 64 32 16 8 4 2
88
Hosts
-
2
2
2
4
4
6
1,04
2,09
4,19
262
52
131
65,5
32,7
16,3
1,02
2,0
4,0
4,2
4,30
8,19
8,57
7,15
,07
Number of
,144
512
. .
36
48
96
84
68
88
2
2
4
4
6
23 . 0 0 0 0 0 0 0 0 . 0 0 0 0 0 0 0 0 . 0 0 0 0 0 0 0 0
128
64 32 524,288
+32 -2 -2
224 30 524,286
27
Subnetting
Problem 1
Number of needed subnets 14
Number of needed usable hosts 14
Network Address 192.10.10.0
C
Address class __________
16
Total number of subnets ___________________
16
Total number of host addresses ___________________
14
Number of usable addresses ___________________
4
Number of bits borrowed ___________________
28
Show your work for Problem 1 in the space below.
Number of
256 128 64 32 16 8 4 2 - Hosts
Number of
Subnets - 2 4 8 16 32 64 128 256
128 64 32 16 8 4 2 1 - Binary values
192. 10 . 10 . 0 0 0 0 0 0 0 0
128
64
32 16 16
Custom subnet
+16 Usable subnets
-2 Usable hosts
-2
mask 240 14 14
The binary value of the last bit borrowed is the range. In this
problem the range is 16.
Problem 2
Number of needed subnets 1000
Number of needed usable hosts 60
Network Address 165.100.0.0
B
Address class __________
255 . 255 . 0 . 0
Default subnet mask _______________________________
1,024
Total number of subnets ___________________
64
Total number of host addresses ___________________
62
Number of usable addresses ___________________
10
Number of bits borrowed ___________________
30
65,
32,
16,3
4,0
2,0
1,02
8,19
512
536
768
Number of
84
96
48
2
4
Hosts - . 256 128 64 32 16 8 4 2
65,
32,
16,3
4,0
102
204
8,19
536
512
Number of
768
2
4
8
Binary values - 128 64 32 16 8 4 2 1 . 128 64 32 16 8 4 2 1
165 . 100 . 0 0 0 0 0 0 0 0 . 0 0 0 0 0 0 0 0
(1) . 0 165.100.0.0 to 165.100.0.63
(2) 1 165.100.0.64 to 165.100.0.127
64 128 1 0 165.100.0.128 to 165.100.0.191
(3) 1 1 165.100.0.192 to 165.100.0.255
Usable -2 64
hosts 62 (4)
32
(5) 1 . 0 0 165.100.1.0 to 165.100.1.63
16
(6) 1 . 0 1 165.100.1.64 to 165.100.1.127
8 1 . 1 0 165.100.1.128 to 165.100.1.191
Custom 128 4
(7)
1 . 1 165.100.1.192 to 165.100.1.255
1
subnet mask +64 (8)
2
192 (9) 1 0 . 0 0 165.100.2.0 to 165.100.2.63
+1
(10) 1 0 . 0 1 165.100.2.64 to 165.100.2.127
255
The binary value of the last bit borrowed is
the range. In this problem the range is 64.
(11) 1 0 . 1 0 165.100.2.128 to 165.100.2.191
The first address in each subnet range is the
(12) 1 0 . 1 1 165.100.2.192 to 165.100.2.255
subnet number.
Down to
(1023) 1 1 1 1 1 1 1 1 . 1 0 165.100.255.128 to 165.100.255.191
(1024) 1 1 1 1 1 1 1 1 . 1 1 165.100.255.192 to 165.100.255.255
31
Subnetting
C
Address class __________
2
Total number of subnets ___________________
128
Total number of host addresses ___________________
126
Number of usable addresses ___________________
1
Number of bits borrowed ___________________
32
Show your work for Problem 3 in the space below.
Number of
256 128 64 32 16 8 4 2 - Hosts
Number of
Subnets - 2 4 8 16 32 64 128 256
128 64 32 16 8 4 2 1 - Binary values
195. 223 . 50 . 0 0 0 0 0 0 0 0
33
Subnetting
Problem 4
Number of needed subnets 750
Network Address 190.35.0.0
B
Address class __________
255 . 255 . 0 . 0
Default subnet mask _______________________________
1,024
Total number of subnets ___________________
64
Total number of host addresses ___________________
62
Number of usable addresses ___________________
10
Number of bits borrowed ___________________
34
65,
32,
16,3
4,0
2,0
1,02
8,19
512
536
768
Number of
84
96
48
2
4
Hosts - . 256 128 64 32 16 8 4 2
65,
32,
16,3
4,0
102
204
8,19
768
84
96
Subnets - 2 4 8 16 32 64 128 256.
2
4
8
Binary values - 128 64 32 16 8 4 2 1 . 128 64 32 16 8 4 2 1
190 . 35 . 0 0 0 0 0 0 0 0 . 0 0 0 0 0 0 0 0
Problem 5
Number of needed usable hosts 6
Network Address 126.0.0.0
A
Address class __________
255 . 0 . 0 . 0
Default subnet mask _______________________________
2,097,152
Total number of subnets ___________________
8
Total number of host addresses ________________
6
Number of usable addresses ___________________
21
Number of bits borrowed ___________________
36
4,19
2,09
1,04
52
262
131
65,5
Number of
32,7
16,3
4,0
2,0
1,02
4,2
-
4,30
8,19
8,57
7,15
Hosts
,07
,144
512
36
96
48
84
68
. 256 128 64 32 16 8 4 2
88
2
2
2
4
4
6
1,04
2,09
4,19
262
52
131
65,5
32,7
16,3
1,02
2,0
4,0
4,2
4,30
8,19
8,57
7,15
,07
Number of
,144
512
. .
36
48
96
84
88
2
2
4
4
6
Subnets - 2 4 8 16 32 64 128 256
Binary values -128 64 32 16 8 4 2 1 . 128 64 32 16 8 4 2 1 . 128 64 32 16 8 4 2 1
126. 0 0 0 0 0 0 0 0 . 0 0 0 0 0 0 0 0 . 0 0 0 0 0 0 0 0
38
Show your work for Problem 6 in the space below.
Number of
256 128 64 32 16 8 4 2 - Hosts
Number of
Subnets - 2 4 8 16 32 64 128 256
128 64 32 16 8 4 2 1 - Binary values
192 . 70 . 10 . 0 0 0 0 0 0 0 0
(1) 0 192.70.10.0 to 192.70.10.15
(2) 1 192.70.10.16 to 192.70.10.31
(3) 1 0 192.70.10.32 to 192.70.10.47
(4) 1 1 192.70.10.48 to 192.70.10.63
(5) 1 0 0 192.70.10.64 to 192.70.10.79
(6) 1 0 1 192.70.10.80 to 192.70.10.95
(7) 1 1 0 192.70.10.96 to 192.70.10.111
(8) 1 1 1 192.70.10.112 to 192.70.10.127
(9) 1 0 0 0 192.70.10.128 to 192.70.10.143
(10) 1 0 0 1 192.70.10.144 to 192.70.10.159
(11) 1 0 1 0 192.70.10.160 to 192.70.10.175
(12) 1 0 1 1 192.70.10.176 to 192.70.10.191
(13) 1 1 0 0 192.70.10.192 to 192.70.10.0207
(14) 1 1 0 1 192.70.10.208 to 192.70.10.223
(15) 1 1 1 0 192.70.10.224 to 192.70.10.239
(16) 1 1 1 1 192.70.10.240 to 192.70.10.255
128 16
+64 -2
240 14
39
Subnetting
Problem 7
Network Address 10.0.0.0 /16
A
Address class __________
255 . 0 . 0 . 0
Default subnet mask _______________________________
255 . 255 . 0 . 0
Custom subnet mask _______________________________
256
Total number of subnets ___________________
65,536
Total number of host addresses ___________________
65,534
Number of usable addresses ___________________
8
Number of bits borrowed ___________________
40
4,19
2,09
1,04
52
262
131
65,5
32,7
16,3
4,0
2,0
1,02
Number of
4,2
4,30
8,19
8,57
7,15
,07
,144
512
Hosts
-
36
96
48
84
68
. 256 128 64 32 16 8 4 2
88
2
2
2
4
4
6
1,04
2,09
4,19
262
52
131
65,5
32,7
16,3
1,02
2,0
4,0
4,2
4,30
8,19
8,57
7,15
,07
Number of
,144
512
. .
36
48
96
84
88
2
2
4
4
6
Subnets - 2 4 8 16 32 64 128 256
Binary values -128 64 32 16 8 4 2 1 . 128 64 32 16 8 4 2 1 . 128 64 32 16 8 4 2 1
10. 0 0 0 0 0 0 0 0 . 0 0 0 0 0 0 0 0 . 0 0 0 0 0 0 0 0
Problem 8
Number of needed subnets 5
Network Address 172.50.0.0
B
Address class __________
255 . 255 . 0 . 0
Default subnet mask _______________________________
8
Total number of subnets ___________________
8,192
Total number of host addresses ___________________
8,190
Number of usable addresses ___________________
3
Number of bits borrowed ___________________
42
65,
32,
16,3
4,0
2,0
1,02
8,19
512
536
768
Number of
84
96
48
2
4
Hosts - . 256 128 64 32 16 8 4 2
65,
32,
16,3
4,0
102
204
8,19
768
84
96
Subnets - 2 4 8 16 32 64 128 256.
2
4
8
Binary values - 128 64 32 16 8 4 2 1 . 128 64 32 16 8 4 2 1
172 . 50 . 0 0 0 0 0 0 0 0 . 0 0 0 0 0 0 0 0
128
64
+32
8,192 224
-2
8,190
43
Subnetting
Problem 9
Number of needed usable hosts 28
Network Address 172.50.0.0
B
Address class __________
255 . 255 . 0 . 0
Default subnet mask _______________________________
2,048
Total number of subnets ___________________
32
Total number of host addresses ___________________
30
Number of usable addresses ___________________
11
Number of bits borrowed ___________________
44
65,
32,
16,3
4,0
2,0
1,02
8,19
512
536
768
Number of
84
96
48
2
4
Hosts - . 256 128 64 32 16 8 4 2
65,
32,
16,3
4,0
102
204
8,19
768
84
96
Subnets - 2 4 8 16 32 64 128 256.
2
4
8
Binary values - 128 64 32 16 8 4 2 1 . 128 64 32 16 8 4 2 1
172 . 50 . 0 0 0 0 0 0 0 0 . 0 0 0 0 0 0 0 0
C
Address class __________
64
Total number of subnets ___________________
4
Total number of host addresses ___________________
2
Number of usable addresses ___________________
6
Number of bits borrowed ___________________
46
Number of
256 128 64 32 16 8 4 2 - Hosts
Number of
Subnets - 2 4 8 16 32 64 128 256
128 64 32 16 8 4 2 1 - Binary values
220 . 100 . 100 . 0 0 0 0 0 0 0 0
B
Address class __________
255 . 255 . 0 . 0
Default subnet mask _______________________________
8
Total number of subnets ___________________
8,192
Total number of host addresses ___________________
8,190
Number of usable addresses ___________________
3
Number of bits borrowed ___________________
48
65,
32,
16,3
4,0
2,0
1,02
8,19
512
536
768
Number of
84
96
48
2
4
Hosts - . 256 128 64 32 16 8 4 2
65,
32,
16,3
204
8,19
536
512
Number of
768
84
96
Subnets - 2 4 8 16 32 64 128 256.
2
4
8
Binary values - 128 64 32 16 8 4 2 1 . 128 64 32 16 8 4 2 1
135 . 70 . 0 0 0 0 0 0 0 0 . 0 0 0 0 0 0 0 0
128
64
+32
224
8,192
-2
8,190
49
Subnetting
Problem 12
Number of needed usable hosts 45
Network Address 198.125.50.0
C
Address class __________
4
Total number of subnets ___________________
64
Total number of host addresses ___________________
62
Number of usable addresses ___________________
2
Number of bits borrowed ___________________
50
Show your work for Problem 12 in the space below.
Number of
256 128 64 32 16 8 4 2 - Hosts
Number of
Subnets - 2 4 8 16 32 64 128 256
128 64 32 16 8 4 2 1 - Binary values
198 . 125 . 50 . 0 0 0 0 0 0 0 0
(1) 0 198.125.50.0 to 198.125.50.63
(2) 1 198.125.50.64 to 198.125.50.127
(3) 1 0 198.125.50.128 to 198.125.50.191
(4) 1 1 198.125.50.192 to 198.125.50.255
128 64
+64 -2
192 62
51
Subnetting
Problem 13
Network Address 165.200.0.0 /26
B
Address class __________
255 . 255 . 0 . 0
Default subnet mask _______________________________
255 . 255 . 255 . 192
Custom subnet mask _______________________________
1,024
Total number of subnets ___________________
64
Total number of host addresses ___________________
62
Number of usable addresses ___________________
10
Number of bits borrowed ___________________
52
65,
32,
16,3
4,0
2,0
1,02
8,19
512
536
768
Number of
84
96
48
2
4
Hosts - . 256 128 64 32 16 8 4 2
65,
32,
16,3
4,0
102
204
8,19
768
84
96
Subnets - 2 4 8 16 32 64 128 256.
2
4
8
Binary values - 128 64 32 16 8 4 2 1 . 128 64 32 16 8 4 2 1
165 . 200 . 0 0 0 0 0 0 0 0 . 0 0 0 0 0 0 0 0
Problem 14
Number of needed usable hosts 16
Network Address 200.10.10.0
C
Address class __________
8
Total number of subnets ___________________
32
Total number of host addresses ___________________
30
Number of usable addresses ___________________
3
Number of bits borrowed ___________________
54
Show your work for Problem 14 in the space below.
Number of
256 128 64 32 16 8 4 2 - Hosts
Number of
Subnets - 2 4 8 16 32 64 128 256
128 64 32 16 8 4 2 1 - Binary values
200 . 10 . 10 . 0 0 0 0 0 0 0 0
(1) 0 200.10.10.0 to 200.10.10.31
(2) 1 200.10.10.32 to 200.10.10.63
(3) 1 0 200.10.10.64 to 200.10.10.95
(4) 1 1 200.10.10.96 to 200.10.10.127
(5) 1 0 0 200.10.10.128 to 200.10.10.159
(6) 1 0 1 200.10.10.160 to 200.10.10.191
(7) 1 1 0 200.10.10.192 to 200.10.10.223
(8) 1 1 1 200.10.10.224 to 200.10.10.255
128
64 32
+32 -2
224 30
55
Subnetting
Problem 15
Network Address 93.0.0.0 \19
A
Address class __________
255 . 0 . 0 . 0
Default subnet mask _______________________________
255 . 255 . 224 . 0
Custom subnet mask _______________________________
2,048
Total number of subnets ___________________
8,192
Total number of host addresses ___________________
8,190
Number of usable addresses ___________________
11
Number of bits borrowed ___________________
56
4,19
2,09
1,04
52
262
131
65,5
32,7
16,3
4,0
2,0
1,02
4,2
4,30
8,19
8,57
7,15
,07
Number of
,144
512
36
96
48
84
68
. 256 128 64 32 16 8 4 2
88
Hosts
-
2
2
2
4
4
6
1,04
2,09
4,19
262
52
131
65,5
32,7
16,3
1,02
2,0
4,0
4,2
4,30
8,19
8,57
7,15
,07
Number of
,144
512
36
48
96
84
68
88
2
2
4
4
6
Subnets - 2 4 8 16 32 64 128 256
Binary values -128 64 32 16 8 4 2 1 . 128 64 32 16 8 4 2 1 . 128 64 32 16 8 4 2 1
93. 0 0 0 0 0 0 0 0 . 0 0 0 0 0 0 0 0 . 0 0 0 0 0 0 0 0
Marketing Management
24 Hosts Reasearch 15 Hosts
60 Hosts
B
Address class _____________________________
255.255.224.0
Custom subnet mask _____________________________
4
Minimum number of subnets needed _________
+ 4
Extra subnets required for 100% growth _________
(Round up to the next whole number)
= 8
Total number of subnets needed _________
Number of host addresses
60
in the largest subnet group _________
Number of addresses needed for
+ 60
100% growth in the largest subnet _________
(Round up to the next whole number)
172.16.0.0 to 172.31.255
IP address range for Research _____________________________
172.16.32.0 to 172.63.255
IP address range for Marketing _____________________________
172.16.64.0 to 172.95.255
IP address range for Management _____________________________
IP address range for Router A
172.16.96.0 to 172.127.255
to Router B serial connection _____________________________
58
65,
32,
16,3
4,0
2,0
1,02
8,19
512
536
768
84
96
48
2
4
Hosts - . 256 128 64 32 16 8 4 2
65,
32,
16,3
4,0
102
204
8,19
536
512
Number of
768
84
96
Subnets - 2 4 8 16 32 64 128 256.
2
4
8
Binary values - 128 64 32 16 8 4 2 1 . 128 64 32 16 8 4 2 1
172 . 16 . 0 0 0 0 0 0 0 0 . 0 0 0 0 0 0 0 0
60
x1.0
60
59
Practical Subnetting 2
Based on the information in the graphic shown, design a network addressing scheme that will
supply the minimum number of hosts per subnet, and allow enough extra subnets and
hosts for 30% growth in all areas. Circle each subnet on the graphic and answer the questions
below.
IP Address 135.126.0.0
S0/0/0
F0/0 Router A S0/0/1
S0/0/1 F0/0
Router B F0/1
= 7
Total number of subnets needed _________
Number of host addresses
20
in the largest subnet group _________
Number of addresses needed for
+ 6
30% growth in the largest subnet _________
(Round up to the next whole number)
135.126.0.0 to 135.126.0.31
IP address range for Tech Ed _____________________________
135.126.0.32 to 135.126.0.63
IP address range for English _____________________________
135.126.0.64 to 135.126.0.95
IP address range for Science _____________________________
IP address range for Router A
to Router B serial connection 135.126.0.96 to 135.126.0.127
_____________________________
IP address range for Router A
to Router B serial connection135.126.0.128 to 135.126.0.159
_____________________________
60
65,
32,
16,3
4,0
2,0
1,02
8,19
512
536
768
Number of
84
96
48
2
4
Hosts - . 256 128 64 32 16 8 4 2
65,
32,
16,3
4,0
102
204
8,19
768
84
96
Subnets - 2 4 8 16 32 64 128 256.
2
4
8
Binary values - 128 64 32 16 8 4 2 1 . 128 64 32 16 8 4 2 1
135. 126 . 0 0 0 0 0 0 0 0 . 0 0 0 0 0 0 0 0
IP Address 172.16.0.0
F0/0
S0/0/1
F0/0 Sales
Router A
Administrative Router B 185 Hosts
30 Hosts F0/1 S0/0/0
Marketing
50 Hosts
B
Address class _____________________________
255.255.255.0
Custom subnet mask _____________________________
4
Minimum number of subnets needed _________
+ 1
Extra subnets required for 25% growth _________
(Round up to the next whole number)
= 5
Total number of subnets needed _________
Number of host addresses
185
in the largest subnet group _________
Number of addresses needed for
+ 47
25% growth in the largest subnet _________
(Round up to the next whole number)
172.16.0.0 to 172.16.0.255
IP address range for Sales _____________________________
172.16.1.0 to 172.16.1.255
IP address range for Marketing _____________________________
172.16.2.0 to 172.16.2.255
IP address range for Administrative _____________________________
IP address range for Router A
172.16.3.0 to 172.16.3.255
to Router B serial connection _____________________________
62
65,
32,
16,3
4,0
2,0
1,02
8,19
512
536
768
Number of
84
96
48
2
4
Hosts - . 256 128 64 32 16 8 4 2
65,
32,
16,3
4,0
102
204
8,19
768
84
96
Subnets - 2 4 8 16 32 64 128 256.
2
4
8
Binary values - 128 64 32 16 8 4 2 1 . 128 64 32 16 8 4 2 1
172. 16 . 0 0 0 0 0 0 0 0 . 0 0 0 0 0 0 0 0
IP Address 135.126.0.0
F0/0 S0/0/0
Router A S0/0/1
Router B
S0/0/1 F0/0
S0/0/0
Router C F0/0
F0/1
Dallas
150 Hosts New York
Washington D.C. 325 Hosts
220 Hosts
B
Address class _____________________________
255.255.240.0
Custom subnet mask _____________________________
5
Minimum number of subnets needed _________
+ 4
Extra subnets required for 70% growth _________
(Round up to the next whole number)
= 9
Total number of subnets needed _________
Number of host addresses
325
in the largest subnet group _________
Number of addresses needed for
+ 228
70% growth in the largest subnet _________
(Round up to the next whole number)
32,
16,3
4,0
2,0
1,02
8,19
512
536
768
Number of
84
96
48
2
4
Hosts - . 256 128 64 32 16 8 4 2
65,
32,
16,3
4,0
102
204
8,19
768
84
96
Subnets - 2 4 8 16 32 64 128 256.
2
4
8
Binary values - 128 64 32 16 8 4 2 1 . 128 64 32 16 8 4 2 1
135. 126 . 0 0 0 0 0 0 0 0 . 0 0 0 0 0 0 0 0
IP Address 210.15.10.0
F0/1
F0/0
English classroom
15 Hosts Art Classroom
12 Hosts
C
Address class _____________________________
255.255.255.192
Custom subnet mask _____________________________
2
Minimum number of subnets needed _________
+ 2
Extra subnets required for 100% growth _________
(Round up to the next whole number)
= 4
Total number of subnets needed _________
Number of host addresses
30
in the largest subnet group _________
Number of addresses needed for
+ 30
100% growth in the largest subnet _________
(Round up to the next whole number)
210.15.10.0 to 210.15.10.63
IP address range for Router F0/0 Port _____________________________
210.15.10.64 to 210.15.10.127
IP address range for Router F0/1 Port _____________________________
66
Show your work for Problem 5 in the space below.
Number of
256 128 64 32 16 8 4 2 - Hosts
Number of
Subnets - 2 4 8 16 32 64 128 256
128 64 32 16 8 4 2 1 - Binary values
210. 15 . 10 . 0 0 0 0 0 0 0 0
67
Practical Subnetting 6
Based on the information in the graphic shown, design a network addressing scheme that will
supply the minimum number of subnets, and allow enough extra subnets and hosts for 20%
growth in all areas. Circle each subnet on the graphic and answer the questions below.
IP Address 10.0.0.0
S0/0/0
Router A S0/0/1 Technology
S0/0/1 S0/0/0 Router B Building
F0/0
F0/1 320 Hosts
S0/0/0 S0/0/1
Art & Drama Router C
Administration
75 Hosts 35 Hosts
F0/0 F0/1
Science Building
225 Hosts
A
Address class _____________________________
255.240.0.0
Custom subnet mask _____________________________
7
Minimum number of subnets needed _________
+ 2
Extra subnets required for 20% growth _________
(Round up to the next whole number)
= 9
Total number of subnets needed _________
Start with the first subnet and arrange your sub-networks from the largest group to the smallest.
10.0.0.0 to 10.15.255.255
IP address range for Technology _____________________________
10.16.0.0 to 10.31.255.255
IP address range for Science _____________________________
10.32.0.0 to 10.47.255.255
IP address range for Arts & Drama _____________________________
10.48.0.0 to 10.63.255.255
IP Address range Administration _____________________________
IP address range for Router A
10.64.0.0 to 10.79.255.255
to Router B serial connection _____________________________
IP address range for Router A
10.80.0.0 to 10.95.255.255
to Router C serial connection _____________________________
IP address range for Router B
10.96.0.0 to 10.111.255.255
to Router C serial connection _____________________________
68
4,19
2,09
1,04
52
262
131
65,5
Number of
32,7
16,3
4,0
2,0
1,02
4,2
-
4,30
8,19
8,57
7,15
Hosts
,07
,144
512
36
96
48
84
68
. 256 128 64 32 16 8 4 2
88
2
2
2
4
4
6
1,04
2,09
4,19
262
52
131
65,5
32,7
16,3
1,02
2,0
4,0
4,2
4,30
8,19
8,57
7,15
,144
512
. .
36
48
96
84
68
88
2
2
4
4
6
Subnets - 2 4 8 16 32 64 128 256
Binary values -128 64 32 16 8 4 2 1 . 128 64 32 16 8 4 2 1 . 128 64 32 16 8 4 2 1
10. 0 0 0 0 0 0 0 0 . 0 0 0 0 0 0 0 0 . 0 0 0 0 0 0 0 0
Administration
Research Deployment
Marketing 33 Hosts Sales 135 Hosts 63 Hosts
75 Hosts 255 Hosts
B
Address class _____________________________
255.255.252.0
Custom subnet mask _____________________________
4
Minimum number of subnets needed _________
+ 5
Extra subnets required for 125% growth _________
(Round up to the next whole number)
= 9
Total number of subnets needed _________
Number of host addresses
363
in the largest subnet group _________
Number of addresses needed for
+ 454
125% growth in the largest subnet _________
(Round up to the next whole number)
177.135.0.0 to 177.135.3.255
IP address range for Router A Port F0/0 _____________________________
177.135.4.0 to 177.135.7.255
IP address range for Research _____________________________
177.135.8.0 to 177.135.11.255
IP address range for Deployment _____________________________
IP address range for Router A
to Router B serial connection 177.135.12.0 to 177.135.15.255
_____________________________
70
65,
32,
16,3
4,0
2,0
1,02
8,19
512
536
768
Number of
84
96
48
2
4
Hosts - . 256 128 64 32 16 8 4 2
65,
32,
16,3
4,0
102
204
8,19
768
84
96
Subnets - 2 4 8 16 32 64 128 256.
2
4
8
Binary values - 128 64 32 16 8 4 2 1 . 128 64 32 16 8 4 2 1
177.135 . 0 0 0 0 0 0 0 0 . 0 0 0 0 0 0 0 0
IP Address 192.168.1.0
F0/0 S0/0/0
Router A S0/0/1 F0/1
Router B
F0/0
New York
8 Hosts
Boston
5 Hosts
Research & Development
8 Hosts
C
Address class _____________________________
255.255.255.224
Custom subnet mask _____________________________
3
Minimum number of subnets needed _________
+ 3
Extra subnets required for 85% growth _________
(Round up to the next whole number)
= 6
Total number of subnets needed _________
Number of host addresses
13
in the largest subnet group _________
Number of addresses needed for
+ 12
85% growth in the largest subnet _________
(Round up to the next whole number)
192.168.1.0 to 192.168.1.31
IP address range for Router A F0/0 _____________________________
192.168.1.32 to 192.168.1.63
IP address range for New York _____________________________
72
Show your work for Problem 8 in the space below.
Number of
256 128 64 32 16 8 4 2 - Hosts
Number of
Subnets - 2 4 8 16 32 64 128 256
128 64 32 16 8 4 2 1 - Binary values
192. 168 . 1 . 0 0 0 0 0 0 0 0
73
Practical Subnetting 9
Based on the information in the graphic shown, design a network addressing scheme that will
supply the minimum number of hosts per subnet, and allow enough extra subnets and
hosts for 15% growth in all areas. Circle each subnet on the graphic and answer the questions
below.
IP Address 148.55.0.0
S0/0/0
Router A S0/0/1 F0/1
Router B
S0/0/1 F0/0
S0/0/0 Dallas
1500 Hosts
Router C
F0/0
S0/0/1
Router D S0/0/0
Ft. Worth
B
Address class _____________________________
2300 Hosts
255.255.240.0
Custom subnet mask _____________________________
5
Minimum number of subnets needed _________
+ 1
Extra subnets required for 15% growth _________
(Round up to the next whole number)
= 6
Total number of subnets needed _________
Number of host addresses
2300
in the largest subnet group _________
Number of addresses needed for
+ 345
15% growth in the largest subnet _________
(Round up to the next whole number)
148.55.0.0. to 148.55.15.255
IP address range for Ft. Worth _____________________________
148.55.16.0. to 148.55.31.255
IP address range for Dallas _____________________________
148.55.32.0. to 148.55.47.255
IP address range for Router A _____________________________
to Router B serial connection
148.55.48.0. to 148.55.63.255
IP address range for Router A _____________________________
to Router C serial connection
148.55.64.0. to 148.55.79.255
IP address range for Router C _____________________________
74 to Router D serial connection
65,
32,
16,3
4,0
2,0
1,02
8,19
512
536
768
Number of
84
96
48
2
4
Hosts - . 256 128 64 32 16 8 4 2
65,
32,
16,3
4,0
102
204
8,19
768
84
96
Subnets - 2 4 8 16 32 64 128 256.
2
4
8
Binary values - 128 64 32 16 8 4 2 1 . 128 64 32 16 8 4 2 1
148. 55 . 0 0 0 0 0 0 0 0 . 0 0 0 0 0 0 0 0
IP Address 172.16.0.0
Marketing
Sales
56 Hosts
115 Hosts
S0/0/0 F0/0
F0/0 Router A S0/0/1
Router B
F0/1
Management Research
25 Hosts 35 Hosts
B
Address class _____________________________
255.255.255.240
Custom subnet mask _____________________________
4
Minimum number of subnets needed _________
+ 5
Extra subnets required for 110% growth _________
(Round up to the next whole number)
= 9
Total number of subnets needed _________
Number of host addresses
140
in the largest subnet group _________
Number of addresses needed for
+ 154
110% growth in the largest subnet _________
(Round up to the next whole number)
172.16.0.0 to 172.16.15.255
IP address range for Sales/Managemnt _____________________________
172.16.16.0 to 172.16.31.255
IP address range for Marketing _____________________________
172.16.32.0 to 172.16.47.255
IP address range for Research _____________________________
IP address range for Router A
172.16.48.0 to 172.16.63.255
to Router B serial connection _____________________________
76
65,
32,
16,3
4,0
2,0
1,02
8,19
512
536
768
Number of
84
96
48
2
4
Hosts - . 256 128 64 32 16 8 4 2
65,
32,
16,3
204
8,19
536
512
Number of
768
84
96
Subnets - 2 4 8 16 32 64 128 256.
2
4
8
Binary values - 128 64 32 16 8 4 2 1 . 128 64 32 16 8 4 2 1
172.16 . 0 0 0 0 0 0 0 0 . 0 0 0 0 0 0 0 0
Using the material in this workbook identify which of the addresses below are correct and
usable. If they are not usable addresses explain why.
IP Address: 192.10.10.1 OK
________________________________
Subnet Mask: 255.255.255.0 ________________________________
Reference Pages 28-29
IP Address: 93.0.128.1 OK
________________________________
Subnet Mask: 255.255.224.0 ________________________________
Reference Pages 56-57
IP Address: 165.100.255.189 OK
________________________________
Subnet Mask: 255.255.255.192 ________________________________
Reference Pages 30-31
Class B Addresses
VLSM Chart 16-23 Bits (3rd octet)
Class C Addresses
VLSM Chart 24-30 Bits (4th octet)
Visualizing Subnets Using
The Box Method
/24
255.255.255.0
256 Hosts
1 Subnet
/25
255.255.255.128
128 Hosts
2 Subnets
/26
255.255.255.192
64 Hosts
4 Subnets
80
Split each individual square and you
get eight subnets with 32 addresses,
/27
255.255.255.224
32 Hosts
8 Subnets
Split the boxes in half again and you
get sixteen subnets with sixteen
addresses,
/28
255.255.255.240
16 Hosts
16 Subnets
The next split gives you thirty two
subnets with eight addresses,
/29
255.255.255.248
8 Hosts
32 Subnets
The last split gives sixty four subnets
with four addresses each,
/30
255.255.255.252
4 Hosts
64 Subnets
81
Visualizing Subnets Using
The Circle Method
The circle method is another method used to visualize the breakdown
of subnets and addresses into smaller sizes. By shading or coloring in the
different sections of the circle you can easily break up your subnets without
overlapping your addresses. You adjust each subnet to the correct size
needed.
Start with a circle. The whole circle is
a single subnet comprised of 256
addresses.
/24
255.255.255.0
256 Hosts
1 Subnet
/25
255.255.255.128
128 Hosts
2 Subnets .128 .127
.192 .63
/26 .191 .64
255.255.255.192
64 Hosts
4 Subnets .128 .127
82
Split each quarter and you get eight .255 .0
subnets with 32 addresses. .224 .31
.223 .32
.192 .63
/27 .191 .64
255.255.255.224
.160
32 Hosts .159 .96
.95
/28 .192
.191
.63
.64
255.255.255.240 .176
.175
.79
.80
16 Subnets .144
.143
.128 .127
.112
.111
.248 - .255
.0 - .7
- .247
5
.8 - .1
9
3
.23
- .2
subnets with eight addresses. 1
.240
.23
1
2-
- .3
.16
4-
.23
.24
3 9
.22
.22 .3
6- 2-
.21 5 .3 7
- .4
.21
8-
.20 .40
.55
.207
.200 - .48 -
.192 - .199 .56 - .63
/29 .184 - .191
.176
.64 - .71
- .183 .72 -
255.255.255.248 .16
.16
8. -
175 .80
-
.79
.87
0- .8
8-
8 Hosts
.15
.16
.9
.96 - .111
2-
7
5
.14
.10
.136 -
.15
- .1
.112
.120 - .127
.128 - .135
4-
4
9
03
.15
32 Subnets
- .11
.143
1
.0 - .3
.4 - .7
- 47
1
.8 - .1
3
.248 - .2
- .15
.2
- .24
9
.20 .19
.23 - .23
35
.244
.24 - .23
.12
-
.240
.2 2 - .2
- . 31
.2 - .27
2
.23
7
.2 8 - .
1
22
.3
2
8-
3 5
.3
24
22
-. 2- 39
20
.2 6 - .2
19 .3 -.
5 .36 3
- .4
.21 .21
2-
.21 8 - .21
1 .40 .47
-
.20 7 .44
- .20 .51
.204 .48 -
.203 5
.200 - .52 - .5
.199
.56 - .59
.19 6 -
.60 - .63
/30
.192 - .195
.188 - .191
.64 - .67
.184 - .187
.68 - .71
.180 -
.176 .183 .72 - .7
255.255.255.252
5
- .17 .76 -
.17 9 .79
2. - .80
.16 175 - .8
.16
8.
- .84 3
17 - .8
.1 4 - .1 1 .88 7
4 Hosts -.
60 67 .9
-. 2 - 91
.1 2 - .
16
56
.9
.1
.9 .10
.10 4 - .1 1
3
5
5
-.
.1
6-
.10 8 - .11
15
0-
4
.14
.10
.9
8-
9
.1
.112
15
9
.136 -
.116
4-
.120 - .12
.132 - .13
64 Subnets
4
.15
5
.124 - .127
.128 - .131
3
0
07
.14
- .11
- .14
1
- .119
.139
7
5
3
3
5
83
Class A Addresses
VLSM Chart 8-15 Bits (2nd octet)
/8 /9 /10 /11 /12 /13 /14 /15
255.0.0.0 255.128.0.0 255.192.0.0 255.224.0.0 255.240.0.0 255.248.0.0 255.252.0.0 255.254.0.0
16,777,216 Hosts 8,388.608 Hosts 4,194,304 Hosts 2,097,152 Hosts 1,048,576 Hosts 524,288 Hosts 262,144 Hosts 131,072 Hosts
0-1
0-3 2-3
0-7 4-5
4-7 6-7
0-15 8-9
8-11 10 - 11
8-15 12 - 13
12-15 14 - 15
0-31 16 - 17
16-19 18 - 19
16-23 20 - 21
20-23 22 - 23
16-31 24 - 25
24-27 26 - 27
24-31 28 - 29
28-31 30 - 31
0-63 32 - 33
32-35 34 - 35
32-39 36 - 37
36-39 38 - 39
32-47 40 - 41
40-43 42 - 43
40-47 44 - 45
44-47 46 - 47
32-63 48 - 49
48-51 50 - 51
48-55 52 - 53
52-55 54 - 55
48-63 56 - 57
56-59 58 - 59
56-63 60 - 61
60-63 62 - 63
0-127 64 - 65
64-67 66 - 67
64-71 68 - 69
68-71 70 - 71
64-79 72 - 73
72-75 74 - 75
72-79 76 - 77
76-79 78 - 79
64-95 80 - 81
80-83 82 - 83
80-87 84 - 85
84-87 86 - 87
80-95 88 - 89
88-91 90 - 91
88-95 92 - 93
92-95 94 - 95
64-127 96 - 97
96-99 98 - 99
96-103 100 - 101
100-103 102 - 103
96-111 104 - 105
104-107 106 - 107
104-111 108 - 109
108-111 110 - 111
96-127 112 - 113
112-115 114 - 115
112-119 116 - 117
116-119 118 - 119
112-127 120 - 121
120-123 122 - 123
120-127 124 - 125
124-127 126 - 127
0 - 255 128 - 129
128-131 130 - 131
128-135 132 - 133
132-135 134 - 135
128-143 136 - 137
136-139 138 - 139
136-143 140 - 141
140-143 142 - 143
128-159 144 - 145
144-147 146 - 147
144-151 148 - 149
148-151 150 - 151
144-159 152 - 153
152-155 154 - 155
152-159 156 - 157
156-159 158 - 159
128-191 160 - 161
160-163 162 - 163
160-167 164 - 165
164-167 166 - 167
160-175 168 - 169
168-171 170 - 171
160-191 168-175 172 - 173
172-175 174 - 175
176 - 177
176-179 178 - 179
176-183 180 - 181
180-183 182 - 183
176-191 184 - 185
184-187 186 - 187
184-191 188 - 189
188-191 190 - 191
128-255 192 - 193
192-195 194 - 195
192-199 196 - 197
196-199 198 - 199
192-207 200 - 201
200-203 202 - 203
200-207 204 - 205
204-207 206 - 207
192-223 208 - 209
208-211 210 - 211
208-215 212 - 213
212-215 214 - 215
208-223 216 - 217
216-219 218 - 219
216-223 220 - 221
220-223 222 - 223
192-255 224 - 225
224-227 226 - 227
224-231 228 - 229
228-231 230 - 231
224-239 232 - 233
232-235 234 - 235
232-239 236 - 237
236-239 238 - 239
224-255 240 - 241
240-243 242 - 243
240-247 244 - 245
244-247 246 - 247
240-255 248 - 249
248-251 250 - 251
248-255 252 - 253
252-255 254 - 255
84
Class B Addresses
VLSM Chart 16-23 Bits (3rd octet)
/16 /17 /18 /19 /20 /21 /22 /23
255.255.0.0 255.255.128.0 255.255.192.0 255.255.224.0 255.255.240.0 255.255.248.0 255.255.252.0 255.255.254.0
65,536 Hosts 32,768 Hosts 16,384 Hosts 8,192 Hosts 4,096 Hosts 2,048 Hosts 1,024 Hosts 512 Hosts
0-1
0-3 2-3
0-7 4-5
4-7 6-7
0-15 8-9
8-11 10 - 11
8-15 12 - 13
12-15 14 - 15
0-31 16 - 17
16-19 18 - 19
16-23 20 - 21
20-23 22 - 23
16-31 24 - 25
24-27 26 - 27
24-31 28 - 29
28-31 30 - 31
0-63 32 - 33
32-35 34 - 35
32-39 36 - 37
36-39 38 - 39
32-47 40 - 41
40-43 42 - 43
40-47 44 - 45
44-47 46 - 47
32-63 48 - 49
48-51 50 - 51
48-55 52 - 53
52-55 54 - 55
48-63 56 - 57
56-59 58 - 59
56-63 60 - 61
60-63 62 - 63
0-127 64 - 65
64-67 66 - 67
64-71 68 - 69
68-71 70 - 71
64-79 72 - 73
72-75 74 - 75
72-79 76 - 77
76-79 78 - 79
64-95 80 - 81
80-83 82 - 83
80-87 84 - 85
84-87 86 - 87
80-95 88 - 89
88-91 90 - 91
88-95 92 - 93
92-95 94 - 95
64-127 96 - 97
96-99 98 - 99
96-103 100 - 101
100-103 102 - 103
96-111 104 - 105
104-107 106 - 107
104-111 108 - 109
108-111 110 - 111
96-127 112 - 113
112-115 114 - 115
112-119 116 - 117
116-119 118 - 119
112-127 120 - 121
120-123 122 - 123
120-127 124 - 125
124-127 126 - 127
0 - 255 128 - 129
128-131 130 - 131
128-135 132 - 133
132-135 134 - 135
128-143 136 - 137
136-139 138 - 139
136-143 140 - 141
140-143 142 - 143
128-159 144 - 145
144-147 146 - 147
144-151 148 - 149
148-151 150 - 151
144-159 152 - 153
152-155 154 - 155
152-159 156 - 157
156-159 158 - 159
128-191 160 - 161
160-163 162 - 163
160-167 164 - 165
164-167 166 - 167
160-175 168 - 169
168-171 170 - 171
160-191 168-175 172 - 173
172-175 174 - 175
176 - 177
176-179 178 - 179
176-183 180 - 181
180-183 182 - 183
176-191 184 - 185
184-187 186 - 187
184-191 188 - 189
188-191 190 - 191
128-255 192 - 193
192-195 194 - 195
192-199 196 - 197
196-199 198 - 199
192-207 200 - 201
200-203 202 - 203
200-207 204 - 205
204-207 206 - 207
192-223 208 - 209
208-211 210 - 211
208-215 212 - 213
212-215 214 - 215
208-223 216 - 217
216-219 218 - 219
216-223 220 - 221
220-223 222 - 223
192-255 224 - 225
224-227 226 - 227
224-231 228 - 229
228-231 230 - 231
224-239 232 - 233
232-235 234 - 235
232-239 236 - 237
236-239 238 - 239
224-255 240 - 241
240-243 242 - 243
240-247 244 - 245
244-247 246 - 247
240-255 248 - 249
248-251 250 - 251
248-255 252 - 253
252-255 254 - 255
85
Class C Addresses
VLSM Chart 24-30 Bits (4th octet)
/24 /25 /26 /27 /28 /29 /30
255.255.255.0 255.255.255.128 255.255.255.192 255.255.255.224 255.255.255.240 255.255.255.248 255.255.255.252
256 Hosts 128 Hosts 64 Hosts 32 Hosts 16 Hosts 8 Hosts 4 Hosts
0-3
0-7
4-7
0-15
8-11
8-15
0-31 12-15
16-19
16-23
20-23
16-31
24-27
24-31
28-31
0-63
32-35
32-39
36-39
32-47
40-43
40-47
32-63 44-47
48-51
48-55
52-55
48-63
56-59
56-63
0-127 60-63
64-67
64-71
68-71
64-79
72-75
72-79
64-95 76-79
80-83
80-87
84-87
80-95
88-91
88-95
92-95
64-127
96-99
96-103
100-103
96-111
104-107
104-111
96-127 108-111
112-115
112-119
116-119
112-127
120-123
120-127
124-127
0 - 255
128-131
128-135
132-135
128-143
136-139
136-143
128-159 140-143
144-147
144-151
148-151
144-159
152-155
152-159
156-159
128-191
160-163
160-167
164-167
160-175
160-191 168-171
168-175
172-175
176-179
176-183
180-183
176-191
184-187
184-191
128-255 188-191
192-195
192-199
196-199
192-207
200-203
200-207
192-223 204-207
208-211
208-215
212-215
208-223
216-219
216-223
220-223
192-255
224-227
224-231
228-231
224-239
232-235
232-239
224-255 236-239
240-243
240-247
244-247
240-255
248-251
248-255
252-255
86
Class A Addressing Guide
# of Bits Subnet Total # of Total # of Usable # of
CIDR Borrowed Mask Subnets Hosts Hosts
______________________________________________________________________________________________
/8 0 255.0.0.0 1 16,777,216 16,777,214
_____________________________________________________________________________________________
/9 1 255.128.0.0 2 8,388,608 8,388,606
_____________________________________________________________________________________________
/10 2 255.192.0.0 4 4,194,304 4,194,302
__________________________________________________________________________________________________
/11 3 255.224.0.0 8 2,097,152 2,097,150
______________________________________________________________________________________________
/12 4 255.240.0.0 16 1,048,576 1,048,574
_____________________________________________________________________________________________
/13 5 255.248.0.0 32 524,288 524,286
________________________________________________________________________________________________
/14 6 255.252.0.0 64 262,144 262,142
______________________________________________________________________________________________
/15 7 255.254.0.0 128 131,072 131,070
__________________________________________________________________________________________________
/16 8 255.255.0.0 256 65,536 65,534
___________________________________________________________________________________________________
/17 9 255.255.128.0 512 32,768 32,766
_______________________________________________________________________________________________
/18 10 255.255.192.0 1,024 16,384 16,382
_____________________________________________________________________________________________________
/19 11 255.255.224.0 2,048 8,192 8,190
______________________________________________________________________________________________
/20 12 255.255.240.0 4,096 4,096 4,094
__________________________________________________________________________________________________
/21 13 255.255.248.0 8,192 2,048 2,046
_________________________________________________________________________________________________
/22 14 255.255.252.0 16,384 1,024 1,022
________________________________________________________________________________________________
/23 15 255.255.254.0 32,768 512 510
____________________________________________________________________________________________________
/24 16 255.255.255.0 65,536 256 254
_____________________________________________________________________________________________________
/25 17 255.255.255.128 131,072 128 126
____________________________________________________________________________________________________
/26 18 255.255.255.192 262,144 64 62
___________________________________________________________________________________________________
/27 19 255.255.255.224 524,288 32 30
____________________________________________________________________________________________________
/28 20 255.255.255.240 1,048,576 16 14
____________________________________________________________________________________________________
/29 21 255.255.255.248 2,097,152 8 6
________________________________________________________________________________________________
/30 22 255.255.255.252 4,194,304 4 2