Professional Documents
Culture Documents
Ip Addressing and Subnetting Workbook - Instructors Version v1 - 2
Ip Addressing and Subnetting Workbook - Instructors Version v1 - 2
Ip Addressing and Subnetting Workbook - Instructors Version v1 - 2
10011000
1010100
10001111100
1011100101011100
101100011101001
1011110100011010
00001010010110010
1001010101100111
1111010101000101
1101001101010011
001010010101010
1010101000110010
010101001011000
110101100011010
11010100001011
001010100110
1001010010
IP Addressing
and
Subnetting
Workbook
Version 1.2
Instructors Edition
11111110
10010101
00011011
11010011
10000110
IP Address Classes
Class A
1 127
Class B
128 191
10
10000000.00000000.00000000.00000000
Class C
192 223
110
11000000.00000000.00000000.00000000
Class D
224 239
Class E
240 255
Network .
Network .
Network .
Network
Host
. Network
Host
Host
10.0.0.0 to 10.255.255.255
Class B
172.16.0.0 to 172.31.255.255
Class C
192.168.0.0 to 192.168.255.255
255.0.0.0
Class B
255.255.0.0
Class C
255.255.255.0
32
16
Answers
146
119
255
197
246
19
129
49
120
240
59
00011011
27
10101010
170
01101111
111
11111000
248
00100000
32
01010101
85
00111110
62
00000011
11101101
237
11000000
192
Scratch Area
128
16
2
146
64
32
16
4
2
1
119
128 64
32
16
1 = 255
1
1
1
0
1
1
1
0
_________________________________________
238
0
0
1
0
0
0
1
0
_________________________________________
34
0
1
1
1
1
0
1
1
_________________________________________
123
0
0
1
1
0
0
1
0
_________________________________________
50
1
1
1
1
1
1
1
1
_________________________________________
255
1
1
0
0
1
0
0
0
_________________________________________
200
0
0
0
0
1
0
1
0
_________________________________________
10
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
Scratch Area
238
-128
110
-64
46
-32
14
-8
6
-4
2
-2
0
34
-32
2
-2
0
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
_____
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
Network Addresses
Using the IP address and subnet mask shown write out the network address:
188.10.18.2
255.255.0.0
10.10.48.80
255.255.255.0
192.149.24.191
255.255.255.0
150.203.23.19
255.255.0.0
10.10.10.10
255.0.0.0
186.13.23.110
255.255.255.0
223.69.230.250
255.255.0.0
200.120.135.15
255.255.255.0
27.125.200.151
255.0.0.0
199.20.150.35
255.255.255.0
191.55.165.135
255.255.255.0
28.212.250.254
255.255.0.0
188 . 10 . 0 . 0
_____________________________
10 . 10 . 48 . 0
_____________________________
192 . 149 . 24 . 0
_____________________________
150 . 203 . 0 . 0
_____________________________
10 . 0 . 0 . 0
_____________________________
186 . 13 . 23 . 0
_____________________________
223 . 69 . 0 . 0
_____________________________
200 . 120 . 135 . 0
_____________________________
27 . 0 . 0 . 0
_____________________________
199 . 20 . 150 . 0
_____________________________
191 . 55 . 165 . 0
_____________________________
28 . 212 . 0 . 0
_____________________________
Host Addresses
Using the IP address and subnet mask shown write out the host address:
188.10.18.2
255.255.0.0
10.10.48.80
255.255.255.0
222.49.49.11
255.255.255.0
128.23.230.19
255.255.0.0
10.10.10.10
255.0.0.0
200.113.123.11
255.255.255.0
223.169.23.20
255.255.0.0
203.20.35.215
255.255.255.0
117.15.2.51
255.0.0.0
199.120.15.135
255.255.255.0
191.55.165.135
255.255.255.0
48.21.25.54
255.255.0.0
6
0 . 0 . 18 . 2
_____________________________
0 . 0 . 0 . 80
_____________________________
0 . 0 . 0 . 11
_____________________________
0 . 0 . 230 . 19
_____________________________
0 . 10 . 10 . 10
_____________________________
0 . 0 . 0 . 11
_____________________________
0 . 0 . 23 . 215
_____________________________
0 . 0 . 0 . 51
_____________________________
0 . 15 . 2 . 51
_____________________________
0 . 0 . 0 . 135
_____________________________
0 . 0 . 0 . 135
_____________________________
0 . 0 . 25 . 54
_____________________________
177.100.18.4
255 . 255 . 0 . 0
_____________________________
119.18.45.0
255 . 0 . 0 . 0
_____________________________
191.249.234.191
255 . 255 . 0 . 0
_____________________________
223.23.223.109
10.10.250.1
255 . 0 . 0 . 0
_____________________________
126.123.23.1
255 . 255 . 0 . 0
_____________________________
223.69.230.250
192.12.35.105
77.251.200.51
255 . 0 . 0 . 0
_____________________________
189.210.50.1
255 . 255 . 0 . 0
_____________________________
88.45.65.35
255 . 0 . 0 . 0
_____________________________
128.212.250.254
255 . 255 . 0 . 0
_____________________________
193.100.77.83
125.125.250.1
255 . 0 . 0 . 0
_____________________________
1.1.10.50
255 . 0 . 0 . 0
_____________________________
220.90.130.45
134.125.34.9
255 . 255 . 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 doesnt 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.
Default Subnet Masks:
Class A
255.0.0.0
Class B
255.255.0.0
Class C
255.255.255.0
ANDING Equations:
1 AND 1 = 1
1 AND 0 = 0
0 AND 1 = 0
0 AND 0 = 0
Sample:
What you see...
IP Address:
192 . 100 . 10 . 33
C
192 . 100 . 10 . 33
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
IP Address: 1 1 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
Default 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 . 0 0 0 0 0 0 0 0
AND: 1 1 0 0 0 0 0 0 . 1 1 0 0 1 0 0 . 0 0 0 0 1 0 1 0 . 0 0 0 0 0 0 0 0
ANDING with the default subnet mask allows your computer to figure out the network
portion of the address.
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.
IP Address:
Custom Subnet Mask:
Address Ranges:
192 . 100 . 10 . 0
255.255.255.240
192.10.10.0 to 192.100.10.15
(Invalid Range)
192.100.10.16 to 192.100.10.31 (1st Usable Range)
192.100.10.32 to 192.100.10.47 (Range in the sample below)
192.100.10.48 to 192.100.10.63
192.100.10.64 to 192.100.10.79
192.100.10.80 to 192.100.10.95
192.100.10.96 to 192.100.10.111
192.100.10.112 to 192.100.10.127
192.100.10.128 to 192.100.10.143
192.100.10.144 to 192.100.10.159
192.100.10.160 to 192.100.10.175
192.100.10.176 to 192.100.10.191
192.100.10.192 to 192.100.10.207
192.100.10.208 to 192.100.10.223
192.100.10.224 to 192.100.10.239
192.100.10.240 to 192.100.10.255 (Invalid Range)
Sub
Network Host
Network
IP Address: 1 1 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
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 0 0 0 0
AND: 1 1 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
In the next set of problems you will determine the necessary information to determine the
correct subnet mask for a variety of IP addresses.
Number of
Subnets
192 . 10 . 10 .
256 128 64 32
-
8 16
128 64 32 16
32
64 128 256
128
64
32
+16
240
10
16
4
2
0
16
-2
14
16
-2
14
2
1
Number of
Hosts
- Binary values
1 . 128 64 32 16
0 .
64
-2
62
536
65,
768
32,
1024
-2
1,022
84
16,3
2
8,19
128
+64
192
96
4,0
8
204
128
64
32
16
Add the binary value
numbers to the left of the line to
8
create the custom subnet mask.
4
2
+1
255
128 256.
4
102
16
. 256 128 64 32 16
512
16 32 64
512
165 . 100 . 0
4
1,02
48
2,0
96
4,0
2
8,19
84
16,3
768
32,
Number of
Subnets
536
65,
Number of
Hosts -
11
255 . 255 . 0 . 0
Default subnet mask _______________________________
255 . 255 . 255 . 192
Custom subnet mask _______________________________
1,024
Total number of subnets ___________________
1,022
Number of usable subnets ___________________
64
Total number of host addresses ___________________
62
Number of usable addresses ___________________
10
Number of bits borrowed ___________________
Show your work for Problem 3 in the space below.
1 . 128 64 32 16
0 .
64
-2
62
536
65,
768
32,
1024
-2
1,022
84
16,3
128
+64
192
2
8,19
12
96
4,0
8
204
128
64
32
16
Add the binary value
numbers to the left of the line to
8
create the custom subnet mask.
4
2
+1
255
128 256.
4
102
16
. 256 128 64 32 16
512
16 32 64
512
148 . 75 . 0
4
1,02
48
2,0
96
4,0
2
8,19
84
16,3
768
32,
Number of
Subnets
536
65,
Number of
Hosts -
Number of
Subnets
210 . 100 . 56 .
128
64
+32
224
256 128 64 32
-
8 16
128 64 32 16
8
-2
6
16
32
8
Number of
Hosts
64 128 256
4
- Binary values
32
-2
30
13
Number of
Subnets
195 . 85 . 8 .
256 128 64 32
-
8 16
128 64 32 16
128
64
32
16
8
+4
252
14
64
-2
60
16
32
8
4
-2
2
Number of
Hosts
64 128 256
4
- Binary values
512
16
4
4,30
4,19
2
7,15
2,09
6
8,57
1,04
. 256 128 64 32
88
4,2
52
,144
262
2
,07
131
36
65,5
68
32,7
4
1,02
84
16,3
16
48
2,0
. 128 64 32
2
8,19
96
4,0
96
4,0
2
8,19
64 128 256 .
48
2,0
84
16,3
16 32
16
4
1,02
68
32,7
512
36
65,5
2
,07
131
,144
262
88
4,2
52
6
8,57
1,04
2
7,15
2,09
Number of
Subnets
4
4,30
4,19
Number of
Hosts
. 128 64
32
16
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
+2
254
128
-2
126
131,072
-2
131,070
15
1 . 128 64 32 16
0 .
2,048
-2
2,046
32
-2
30
536
65,
768
32,
84
16,3
128
64
32
16
8
4
2
+1
255
2
8,19
96
4,0
8
204
128 256.
4
102
. 256 128 64 32 16
512
16
16
512
178 . 100 . 0
16 32 64
4
1,02
48
2,0
96
4,0
2
8,19
84
16,3
768
32,
Number of
Subnets
536
65,
Number of
Hosts -
Number of
Subnets
200 . 175 . 14 .
256 128 64 32
-
8 16
128 64 32 16
128
+64
240
4
-2
2
16
32
8
Number of
Hosts
64 128 256
4
- Binary values
64
-2
62
17
1 . 128 64 32 16
64
-2
62
0 .
1,024
-2
1,022
536
65,
768
32,
18
84
16,3
128
64
32
16
8
+4
252
2
8,19
96
4,0
8
204
128 256.
4
102
. 256 128 64 32 16
512
16
512
128 . 77 . 0
16 32 64
4
1,02
48
2,0
96
4,0
2
8,19
84
16,3
768
32,
Number of
Subnets
536
65,
Number of
Hosts -
Number of
Subnets
198 . 100 . 10 .
256 128 64 32
-
8 16
128 64 32 16
128
+64
192
64
-2
62
16
32
8
Number of
Hosts
64 128 256
4
- Binary values
4
-2
2
19
512
16
4
4,30
4,19
2
7,15
2,09
6
8,57
1,04
. 256 128 64 32
88
4,2
52
,144
262
2
,07
131
36
65,5
68
32,7
4
1,02
84
16,3
2
8,19
16
48
2,0
96
4,0
96
4,0
64 128 256
. 128 64 32
4
2
1
2
8,19
48
2,0
4
1,02
84
16,3
68
32,7
16 32
16
8
512
Subnets
2
4
8
Binary values -128 64 32
36
65,5
Number of
2
,07
131
,144
262
88
4,2
52
6
8,57
1,04
2
7,15
2,09
4
4,30
4,19
Number of
Hosts
. 128 64
32
16
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
+1
255
20
256
-2
254
65,536
-2
65,534
Number of
Subnets
218 . 35 . 50 .
256 128 64 32
-
8 16
128 64 32 16
128
64
+32
224
64
-2
62
16
32
8
Number of
Hosts
64 128 256
4
- Binary values
4
-2
2
21
Number of
Subnets
218 . 35 . 50 .
256 128 64 32
-
128 64 32 16
128
64
+32
224
22
8 16
8
-2
6
16
32
8
Number of
Hosts
64 128 256
4
32
-2
30
- Binary values
1 . 128 64 32 16
16
-2
14
0 .
536
65,
768
32,
84
16,3
128
64
32
+16
240
2
8,19
96
4,0
8
204
128 256.
4
102
. 256 128 64 32 16
512
16
512
172 . 59 . 0
16 32 64
4
1,02
48
2,0
96
4,0
2
8,19
84
16,3
768
32,
Number of
Subnets
536
65,
Number of
Hosts -
4,096
-2
4,094
23
1 . 128 64 32 16
0 .
64
-2
62
1,024
-2
1,022
536
65,
768
32,
128
+64
192
84
16,3
24
2
8,19
128
64
32
16
8
4
2
+1
255
96
4,0
8
204
128 256.
4
102
. 256 128 64 32 16
512
16
512
172 . 59 . 0
16 32 64
4
1,02
48
2,0
96
4,0
2
8,19
84
16,3
768
32,
Number of
Subnets
536
65,
Number of
Hosts -
16
4
4,30
4,19
2
7,15
2,09
6
8,57
1,04
. 256 128 64 32
88
4,2
52
,144
262
2
,07
131
36
65,5
512
16
68
32,7
. 128 64 32
4
1,02
84
16,3
48
2,0
2
8,19
96
4,0
16
64 128 256
96
4,0
16 32
2
8,19
48
2,0
84
16,3
4
1,02
512
Subnets
68
32,7
Number of
36
65,5
2
,07
131
,144
262
88
4,2
52
6
8,57
1,04
2
7,15
2,09
4
4,30
4,19
Number of
Hosts
. 128 64
32
16
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
224
32
-2
30
524,288
-2
524,286
25
Subnetting
Problem 1
Number of needed usable subnets 14
Number of needed usable hosts 14
Network Address 192.10.10.0
C
Address class __________
255 . 255 . 255 . 0
Default subnet mask _______________________________
255 . 255 . 255 . 240
Custom subnet mask _______________________________
16
Total number of subnets ___________________
14
Number of usable subnets ___________________
16
Total number of host addresses ___________________
14
Number of usable addresses ___________________
4
Number of bits borrowed ___________________
What is the 3rd usable
192.10.10.48 to 192.10.10.63
subnet range? _______________________________________________
What is the subnet number
192 . 10 . 10 . 112
for the 7th usable subnet? ________________________
What is the subnet
broadcast address for
192 . 10 . 10 . 207
the 12th usable subnet? ________________________
What are the assignable
addresses for the 8th
192.10.10.129 to 192.10.10.142
usable subnet? ______________________________________
26
Number of
Subnets
256 128 64 32
-
8 16
16
32
128 64 32 16
192. 10 . 10 . 0
(Invalid range) 0
1
1
1
1
1
1
1
(Invalid range) 1
Custom subnet
mask
1
1
1
1
0
0
0
0
1
1
1
1
1
1
0
0
1
1
0
0
1
1
0
0
1
1
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
128
64
32
+16
240
Number of
Hosts
64 128 256
4
- Binary values
192.10.10.0
192.10.10.16
192.10.10.32
192.10.10.48
192.10.10.64
192.10.10.80
192.10.10.96
192.10.10.112
192.10.10.128
192.10.10.144
192.10.10.160
192.10.10.176
192.10.10.192
192.10.10.208
192.10.10.224
192.10.10.240
Usable subnets
16
-2
14
to
to
to
to
to
to
to
to
to
to
to
to
to
to
to
to
192.10.10.15
192.10.10.31
192.10.10.47
192.10.10.63
192.10.10.79
192.10.10.95
192.10.10.111
192.10.10.127
192.10.10.143
192.10.10.159
192.10.10.175
192.10.10.191
192.10.10.207
192.10.10.223
192.10.10.239
192.10.10.255
Usable hosts
16
-2
14
The binary value of the last bit borrowed is the range. In this
problem the range is 16.
The first and last range of addresses are not usable.
27
Subnetting
Problem 2
Number of needed usable subnets 1000
Number of needed usable hosts 60
Network Address 165.100.0.0
B
Address class __________
255 . 255 . 0 . 0
Default subnet mask _______________________________
255 . 255 . 255 . 192
Custom subnet mask _______________________________
1,024
Total number of subnets ___________________
1,022
Number of usable subnets ___________________
64
Total number of host addresses ___________________
62
Number of usable addresses ___________________
10
Number of bits borrowed ___________________
What is the 14th usable
165.100.3.128 to 165.100.3.191
subnet range? _______________________________________________
What is the subnet number
165 . 100 . 1 . 64
for the 5th usable subnet? ________________________
What is the subnet
broadcast address for
165 . 100 . 1 . 127
the 5th usable subnet? ________________________
What are the assignable
addresses for the 8th
165.100.2.1 to 165.100.0.62
usable subnet? ______________________________________
28
84
16,3
536
65,
768
32,
128
64
1024
32
Usable
-2
16
subnets 1,022
8
Custom 128
4
subnet mask +64
2
192
+1
255
64
Usable -2
hosts 62
165 . 100 . 0
0 .
1
1
1
1
. 0
. 0
. 1
. 1
0
1
0
1
0
1
0
1
. 0
. 0
. 1
. 1
0
0
0
0
to
to
to
to
to
to
to
to
to
to
to
to
to
to
to
to
165.100.3.63
165.100.3.127
165.100.3.191
165.100.3.255
165.100.0.63
165.100.0.127
165.100.0.191
165.100.0.255
165.100.1.63
165.100.1.127
165.100.1.191
165.100.1.255
165.100.0.63
165.100.0.127
165.100.0.191
165.100.0.255
165.100.255.191
165.100.255.255
Down to
165.100.3.0
165.100.3.64
165.100.3.128
165.100.3.192
165.100.2.0
165.100.2.64
165.100.2.128
165.100.2.192
165.100.1.0
165.100.1.64
165.100.1.128
165.100.1.192
165.100.0.0
165.100.0.64
165.100.0.128
165.100.0.192
165.100.255.128 to
(Invalid range) 165.100.255.192 to
1
1
1
1
1
1
1
1
0
1
0
1
. 0
. 0
. 1
. 1
1
1
1
1
1
1
0
1
0
1
1 . 128 64 32 16
.
(Invalid range)
512
96
4,0
8
204
4
102
16
2
8,19
128 256.
536
65,
768
32,
16 32 64
2
8,19
96
4,0
48
2,0
4
1,02
84
16,3
. 256 128 64 32 16
512
Number of
Subnets
Number of
Hosts -
29
Subnetting
Problem 3
Number of needed usable subnets 1
Network Address 195.223.50.0
C
Address class __________
255 . 255 . 255 . 0
Default subnet mask _______________________________
255 . 255 . 255 . 192
Custom subnet mask _______________________________
4
Total number of subnets ___________________
2
Number of usable subnets ___________________
64
Total number of host addresses ___________________
62
Number of usable addresses ___________________
2
Number of bits borrowed ___________________
30
256 128 64 32
2
8 16
128 64 32 16
195. 223 . 50 . 0
(Invalid range)
0
1
1 0
(Invalid range) 1 1
16
32
8
Number of
Hosts
64 128 256
4
4
-2
2
195.223.50.0
195.223.50.64
195.223.50.128
195.223.50.192
128
+64
192
- Binary values
to
to
to
to
195.223.50.63
195.223.50.127
195.223.50.191
195.223.50.255
64
-2
62
31
Subnetting
Problem 4
Number of needed usable subnets 750
Network Address 190.35.0.0
B
Address class __________
255 . 255 . 0 . 0
Default subnet mask _______________________________
255 . 255 . 255 . 192
Custom subnet mask _______________________________
1,024
Total number of subnets ___________________
1,022
Number of usable subnets ___________________
64
Total number of host addresses ___________________
62
Number of usable addresses ___________________
10
Number of bits borrowed ___________________
32
84
16,3
536
65,
768
32,
64
-2
62
1,024
-2
1,022
190 . 35 . 0
128
+64
252
128
64
32
16
8
4
2
+1
252
0 .
1
1
1
1
1
1
1
1
1
1
1
1
0
0
0
0
1
1
1
1
.
.
.
.
.
.
.
.
.
.
.
.
1
1
0
0
1
1
0
0
1
1
0
0
1
1
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
190.35.0.0
190.35.0.64
190.35.0.128
190.35.0.192
190.35.1.0
190.35.1.64
190.35.1.128
190.35.1.192
190.35.2.0
190.35.2.64
190.35.2.128
190.35.2.192
190.35.3.0
190.35.3.64
190.35.3.128
190.35.3.192
1 . 128 64 32 16
.
0
(Invalid range)
512
96
4,0
8
204
4
102
16
2
8,19
128 256.
to
to
to
to
to
to
to
to
to
to
to
to
to
to
to
to
536
65,
768
32,
16 32 64
2
8,19
96
4,0
48
2,0
4
1,02
84
16,3
. 256 128 64 32 16
512
Number of
Subnets
Number of
Hosts -
190.35.0.63
190.35.0.127
190.35.0.191
190.35.0.255
190.35.1.63
190.35.1.127
190.35.1.191
190.35.1.255
190.35.2.63
190.35.2.127
190.35.2.191
190.35.2.255
190.35.3.63
190.35.3.127
190.35.3.191
190.35.3.255
33
Subnetting
Problem 5
Number of needed usable hosts 6
Network Address 126.0.0.0
A
Address class __________
255 . 0 . 0 . 0
Default subnet mask _______________________________
255 . 255 . 255 . 248
Custom subnet mask _______________________________
2,097,152
Total number of subnets ___________________
2,097,150
Number of usable subnets ___________________
8
Total number of host addresses ___________________
6
Number of usable addresses ___________________
21
Number of bits borrowed ___________________
34
36
65,5
96
4,0
84
16,3
48
2,0
84
16,3
2
8,19
4
1,02
512
2
,07
131
,144
262
88
4,2
52
6
8,57
1,04
4
4,30
4,19
2
7,15
2,09
2
68
32,7
1
36
65,5
. 128 64
.
32
88
4,2
52
,144
262
2
,07
131
. 256 128 64 32
16
16
4
4,30
4,19
2
7,15
2,09
6
8,57
1,04
2
128
64
32
16
+8
248
2,097,152
-2
2,097,150
8
-2
6
128
64
32
16
8
4
2
+1
255
1
1
1
1
1
1
1
1
1
1
1
1
0
0
0
0
1
1
1
1
to
to
1 126.0.0.8
to
1 0 126.0.0.16
1 1 126.0.0.24 to
0 0 126.0.0.32 to
0 1 126.0.0.40 to
1 0 126.0.0.48 to
1 1 126.0.0.56 to
0 0 126.0.0.64 to
0 1 126.0.0.72 to
1 0 126.0.0.80 to
to
1 1 126.0.0.88
0 0 126.0.0.96 to
0 1 126.0.0.104 to
1 0 126.0.0.112 to
1 1 126.0.0.120 to
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
96
4,0
16
68
32,7
2
8,19
. 128 64 32
48
2,0
16 32 64 128 256
16
8
4
2
1
4
1,02
Subnets
2
4
8
Binary values -128 64 32
512
Number of
Number of
Hosts
126.0.0.7
126.0.0.15
126.0.0.23
126.0.0.31
126.0.0.39
126.0.0.47
126.0.0.55
126.0.0.63
126.0.0.71
126.0.0.79
126.0.0.87
126.0.0.95
126.0.0.103
126.0.0.111
126.0.0.119
126.0.0.127
35
Subnetting
Problem 6
Number of needed usable subnets 10
Network Address 192.70.10.0
C
Address class __________
255 . 255 . 255 . 0
Default subnet mask _______________________________
255 . 255 . 255 . 240
Custom subnet mask _______________________________
16
Total number of subnets ___________________
14
Number of usable subnets ___________________
16
Total number of host addresses ___________________
14
Number of usable addresses ___________________
4
Number of bits borrowed ___________________
36
16
256 128 64 32
-
192 . 70 . 10 .
8 16
32
128 64 32 16
1
1
0
0
1
1
0
0
1
1
0
0
1
1
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
(Invalid range) 0
1
1
1
1
1
1
1
(Invalid range) 1
1
1
1
1
0
0
0
0
1
1
1
1
64 128 256
4
- Binary values
192.70.10.0
192.70.10.16
192.70.10.32
192.70.10.48
192.70.10.64
192.70.10.80
192.70.10.96
192.70.10.112
192.70.10.128
192.70.10.144
192.70.10.160
192.70.10.176
192.70.10.192
192.70.10.208
192.70.10.224
192.70.10.240
128
+64
240
Number of
Hosts
16
-2
14
16
-2
14
to
to
to
to
to
to
to
to
to
to
to
to
to
to
to
to
192.70.10.15
192.70.10.31
192.70.10.47
192.70.10.63
192.70.10.79
192.70.10.95
192.70.10.111
192.70.10.127
192.70.10.143
192.70.10.159
192.70.10.175
192.70.10.191
192.70.10.0207
192.70.10.223
192.70.10.239
192.70.10.255
37
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 ___________________
254
Number of usable subnets ___________________
65,536
Total number of host addresses ___________________
65,534
Number of usable addresses ___________________
8
Number of bits borrowed ___________________
37
2
8,19
48
2,0
512
2
,07
131
,144
262
88
4,2
52
6
8,57
1,04
4
4,30
4,19
2
7,15
2,09
1
. 128 64
16
32
16
1
1
1
1
1
1
1
1
1
1
1
1
0
0
0
0
1
1
1
1
1
1
0
0
1
1
0
0
1
1
0
0
1
1
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
(Invalid range) 0
10.0.0.0
10.1.0.0
10.2.0.0
10.3.0.0
10.4.0.0
10.5.0.0
10.6.0.0
10.7.0.0
10.8.0.0
10.9.0.0
10.10.0.0
10.11.0.0
10.12.0.0
10.13.0.0
10.14.0.0
10.15.0.0
to
to
to
to
to
to
to
to
to
to
to
to
to
to
to
to
10.0.255.255
10.1.255.255
10.2.255.255
10.3.255.255
10.4.255.255
10.5.255.255
10.6.255.255
10.7.255.255
10.8.255.255
10.9.255.255
10.10.255.255
10.11.255.255
10.12.255.255
10.13.255.255
10.14.255.255
10.15.255.255
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
4
1,02
65,536
-2
65,534
84
16,3
2
68
32,7
36
65,5
. 256 128 64 32
88
4,2
52
,144
262
2
,07
131
256
-2
254
84
16,3
96
4,0
4
4,30
4,19
2
7,15
2,09
6
8,57
1,04
128
64
32
16
8
4
2
+1
255
36
65,5
96
4,0
16
68
32,7
2
8,19
. 128 64 32
48
2,0
16 32 64 128 256
16
8
4
2
1
4
1,02
Subnets
2
4
8
Binary values -128 64 32
512
Number of
Number of
Hosts
39
Subnetting
Problem 8
Number of needed usable subnets 4
Network Address 172.50.0.0
B
Address class __________
255 . 255 . 0 . 0
Default subnet mask _______________________________
255 . 255 . 224 . 0
Custom subnet mask _______________________________
8
Total number of subnets ___________________
6
Number of usable subnets ___________________
8,192
Total number of host addresses ___________________
8,190
Number of usable addresses ___________________
3
Number of bits borrowed ___________________
40
8,192
-2
8,190
8
-2
6
536
65,
768
32,
1
1
1
(Invalid range) 1
1
1 0
1 1
0 0
0 1
1 0
1 1
0 .
to
to
to
to
to
to
to
to
172.50.31.255
172.50.63.255
172.50.95.255
172.50.127.255
172.50.159.255
172.50.191.255
172.50.223.255
172.50.255.255
1 . 128 64 32 16
172.50.32.0
172.50.64.0
172.50.96.0
172.50.128.0
172.50.160.0
172.50.192.0
172.50.224.0
172 . 50 . 0
512
16
96
4,0
8
204
4
102
2
8,19
128 256.
536
65,
768
32,
128
64
+32
224
84
16,3
16 32 64
2
8,19
96
4,0
48
2,0
4
1,02
84
16,3
. 256 128 64 32 16
512
Number of
Subnets
Number of
Hosts -
41
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 _______________________________
255 . 255 . 255 . 224
Custom subnet mask _______________________________
2,048
Total number of subnets ___________________
2,046
Number of usable subnets ___________________
32
Total number of host addresses ___________________
30
Number of usable addresses ___________________
11
Number of bits borrowed ___________________
42
84
16,3
536
65,
768
32,
64
-2
62
1,024
-2
1,022
128
64
32
16
8
4
2
+1
252
128
64
+32
224
172 . 50 . 0
0 .
1
1
1
1
1
1
1
1
.
.
.
.
.
.
.
.
1
1
1
1
0
0
0
0
1
1
1
1
1
1
0
0
1
1
0
0
1
1
0
0
1
1
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
172.50.0.0
172.50.0.32
172.50.0.64
172.50.0.96
172.50.0.128
172.50.0.160
172.50.0.192
172.50.0.224
172.50.1.0
172.50.1.32
172.50.1.64
172.50.1.96
172.50.1.128
172.50.1.160
172.50.1.192
172.50.1.224
1 . 128 64 32 16
. range) 0
(Invalid
512
96
4,0
8
204
4
102
16
2
8,19
128 256.
to
to
to
to
to
to
to
to
to
to
to
to
to
to
to
to
536
65,
768
32,
16 32 64
2
8,19
96
4,0
48
2,0
4
1,02
84
16,3
. 256 128 64 32 16
512
Number of
Subnets
Number of
Hosts -
172.50.0.31
172.50.0.63
172.50.0.95
172.50.0.127
172.50.0.159
172.50.0.191
172.50.0.223
172.50.0.255
172.50.1.31
172.50.1.63
172.50.1.95
172.50.1.127
172.50.1.159
172.50.1.191
172.50.1.223
172.50.1.255
43
Subnetting
Problem 10
Number of needed usable subnets 45
Network Address 220.100.100.0
C
Address class __________
255 . 255 . 255 . 0
Default subnet mask _______________________________
255 . 255 . 255 . 252
Custom subnet mask _______________________________
64
Total number of subnets ___________________
62
Number of usable subnets ___________________
4
Total number of host addresses ___________________
2
Number of usable addresses ___________________
6
Number of bits borrowed ___________________
44
4
-2
2
64
-2
62
128
64
32
16
8
+4
252
Number of
Subnets
-
1
1
1
1
1
1
1
1
1
1
1
1
0
0
0
0
1
1
1
1
1
1
0
0
1
1
0
0
1
1
0
0
1
1
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
to
to
to
to
to
to
to
to
to
to
to
to
to
to
to
to
- Binary values
Number of
Hosts
220.100.100.0
220.100.100.4
220.100.100.8
220.100.100.12
220.100.100.16
220.100.100.20
220.100.100.24
220.100.100.28
220.100.100.32
220.100.100.36
220.100.100.40
220.100.100.44
220.100.100.48
220.100.100.52
220.100.100.56
220.100.100.60
64 128 256
(Invalid range) 0
128 64 32 16
32
16
8 16
256 128 64 32
220.100.100.3
220.100.100.7
220.100.100.11
220.100.100.15
220.100.100.19
220.100.100.23
220.100.100.27
220.100.100.31
220.100.100.35
220.100.100.39
220.100.100.43
220.100.100.47
220.100.100.51
220.100.100.55
220.100.100.59
220.100.100.63
45
Subnetting
Problem 11
Number of needed usable hosts 8,000
Network Address 135.70.0.0
B
Address class __________
255 . 255 . 0 . 0
Default subnet mask _______________________________
255 . 255 . 224 . 0
Custom subnet mask _______________________________
8
Total number of subnets ___________________
6
Number of usable subnets ___________________
8,192
Total number of host addresses ___________________
8,190
Number of usable addresses ___________________
3
Number of bits borrowed ___________________
46
84
16,3
536
65,
768
32,
8,192
-2
8,190
128
64
+32
224
1
1
1
(Invalid range) 1
8
-2
6
1
1 0
1 1
0 0
0 1
1 0
1 1
(Invalid range) 0
135 . 70 . 0
0 .
to
to
to
to
to
to
to
to
135.70.31.255
135.70.63.255
135.70.95.255
135.70.127.255
135.70.159.255
135.70.191.255
135.70.223.255
135.70.255.255
1 . 128 64 32 16
135.70.0.0
135.70.32.0
135.70.64.0
135.70.96.0
135.70.128.0
135.70.160.0
135.70.192.0
135.70.224.0
512
96
4,0
8
204
4
102
16
2
8,19
128 256.
536
65,
768
32,
16 32 64
2
8,19
96
4,0
48
2,0
4
1,02
84
16,3
. 256 128 64 32 16
512
Number of
Subnets
Number of
Hosts -
47
Subnetting
Problem 12
Number of needed usable hosts 45
Network Address 198.125.50.0
C
Address class __________
255 . 255 . 255 . 0
Default subnet mask _______________________________
255 . 255 . 255 . 192
Custom subnet mask _______________________________
4
Total number of subnets ___________________
2
Number of usable subnets ___________________
64
Total number of host addresses ___________________
62
Number of usable addresses ___________________
2
Number of bits borrowed ___________________
48
198 . 125 . 50 .
256 128 64 32
-
128
+64
192
4
-2
2
8 16
128 64 32 16
32
8
Number of
Hosts
64 128 256
4
1
1
0
1
0
1
198.125.50.0
198.125.50.64
198.125.50.128
198.125.50.192
(Invalid range)
(Invalid range)
16
0
to
to
to
to
- Binary values
198.125.50.63
198.125.50.127
198.125.50.191
198.125.50.255
64
-2
62
49
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 ___________________
1,022
Number of usable subnets ___________________
64
Total number of host addresses ___________________
62
Number of usable addresses ___________________
10
Number of bits borrowed ___________________
50
84
16,3
536
65,
768
32,
64
-2
62
1,024
-2
1,022
128
+64
252
128
64
32
16
8
4
2
+1
252
165 . 200 . 0
0 .
1
1
1
1
1
1
1
1
1
1
1
1
0
0
0
0
1
1
1
1
.
.
.
.
.
.
.
.
1
1
0
0
1
1
0
0
1
1
0
0
1
1
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
to
to
to
to
to
to
to
to
to
to
to
to
to
to
to
to
165.200.0.63
165.200.0.127
165.200.0.191
165.200.0.255
165.200.1.63
165.200.1.127
165.200.1.191
165.200.1.255
165.200.2.63
165.200.2.127
165.200.2.191
165.200.2.255
165.200.3.63
165.200.3.127
165.200.3.191
165.200.3.255
165.200.255.64 to 165.200.255.127
165.200.155.128 to 165.200.255.191
165.200.255.192 to 165.200.255.255
165.200.0.0
165.200.0.64
165.200.0.128
165.200.0.192
165.200.1.0
165.200.1.64
165.200.1.128
165.200.1.192
165.200.2.0
165.200.2.64
165.200.2.128
165.200.2.192
165.200.3.0
165.200.3.64
165.200.3.128
165.200.3.192
1 . 128 64 32 16
.
0
(Invalid range)
1021
1022
(Invalid range) 1023
512
96
4,0
8
204
4
102
16
2
8,19
128 256.
536
65,
768
32,
16 32 64
2
8,19
96
4,0
48
2,0
4
1,02
84
16,3
. 256 128 64 32 16
512
Number of
Subnets
Number of
Hosts -
51
Subnetting
Problem 14
Number of needed usable hosts 16
Network Address 200.10.10.0
C
Address class __________
255 . 255 . 255 . 0
Default subnet mask _______________________________
255 . 255 . 255 . 224
Custom subnet mask _______________________________
8
Total number of subnets ___________________
6
Number of usable subnets ___________________
32
Total number of host addresses ___________________
30
Number of usable addresses ___________________
3
Number of bits borrowed ___________________
52
200 . 10 . 10 .
256 128 64 32
-
8 16
128 64 32 16
(Invalid range) 0
1
1
1
(Invalid range) 1
128
64
+32
224
8
-2
6
32
-2
30
1
1 0
1 1
0 0
0 1
1 0
1 1
16
32
8
Number of
Hosts
64 128 256
4
200.10.10.0
200.10.10.32
200.10.10.64
200.10.10.96
200.10.10.128
200.10.10.160
200.10.10.192
200.10.10.224
- Binary values
to
to
to
to
to
to
to
to
200.10.10.31
200.10.10.63
200.10.10.95
200.10.10.127
200.10.10.159
200.10.10.191
200.10.10.223
200.10.10.255
53
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 ___________________
2,046
Number of usable subnets ___________________
8,192
Total number of host addresses ___________________
8,190
Number of usable addresses ___________________
11
Number of bits borrowed ___________________
54
84
16,3
48
2,0
512
2
,07
131
,144
262
88
4,2
52
6
8,57
1,04
4
4,30
4,19
2
7,15
2,09
. 128 64
16
32
16
1
1
1
1
1
1
1
.
.
.
.
.
.
.
1
1
1
1
0
0
0
0
1
1
1
1
1
0
0
1
1
0
0
1
1
0
0
1
.
(Invalid range)
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
93.0.0.0
93.0.32.0
93.0.64.0
93.0.96.0
93.0.128.0
93.0.160.0
93.0.192.0
93.0.224.0
93.1.0.0
93.1.32.0
93.1.64.0
93.1.96.0
93.1.128.0
93.1.160.0
93.1.192.0
to
to
to
to
to
to
to
to
to
to
to
to
to
to
to
93.0.31.255
93.0.63.255
93.0.95.255
93.0.127.255
93.0.159.255
93.0.191.255
93.0.223.255
93.0.255.255
93.1.31.255
93.1.63.255
93.1.95.255
93.1.127.255
93.1.159.255
93.1.191.255
93.1.223.255
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
4
1,02
8,192
-2
8,190
2
8,19
2,048
-2
2,046
84
16,3
2
68
32,7
1
36
65,5
2
,07
131
88
4,2
52
,144
262
128
64
+32
224
96
4,0
. 256 128 64 32
4
4,30
4,19
2
7,15
2,09
6
8,57
1,04
128
64
32
16
8
4
2
+1
255
36
65,5
96
4,0
16
68
32,7
2
8,19
. 128 64 32
48
2,0
16 32 64 128 256
16
8
4
2
1
4
1,02
Subnets
2
4
8
Binary values -128 64 32
512
Number of
Number of
Hosts
55
IP Address: 0.230.190.192
Subnet Mask: 255.0.0.0
________________________________
The network ID cannot be 0.
________________________________
IP Address: 192.10.10.1
Subnet Mask: 255.255.255.0
________________________________
OK
________________________________
IP Address: 245.150.190.10
Subnet Mask: 255.255.255.0
________________________________
245 is reserved for
________________________________
experimental use.
IP Address: 135.70.191.255
Subnet Mask: 255.255.254.0
________________________________
This is the broadcast address
________________________________
for this range.
IP Address: 127.100.100.10
Subnet Mask: 255.0.0.0
________________________________
127 is reserved for loopback
________________________________
testing.
IP Address: 93.0.128.1
Subnet Mask: 255.255.224.0
________________________________
OK
________________________________
IP Address: 200.10.10.128
Subnet Mask: 255.255.255.224
IP Address: 165.100.255.189
Subnet Mask: 255.255.255.192
________________________________
OK
________________________________
IP Address: 190.35.0.10
Subnet Mask: 255.255.255.192
________________________________
This address is taken from the first
________________________________
range for this subnet which is invalid.
IP Address: 218.35.50.195
Subnet Mask: 255.255.0.0
________________________________
This has a class B subnet
________________________________
mask.
________________________________
A class C address must use a
________________________________
minimum of 24 bits.
IP Address: 135.70.255.255
Subnet Mask: 255.255.224.0
________________________________
This is a broadcast address.
________________________________
56
Subnet
Mask
255.192.0.0
255.224.0.0
255.240.0.0
255.248.0.0
255.252.0.0
255.254.0.0
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
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
Total # of
Subnets
4
8
16
32
64
128
256
512
1,024
2,048
4,096
8,192
16,384
32,768
65,536
131,072
262,144
524,288
1,048,576
2,097,152
4,194,304
Usable # of
Subnets
2
6
14
30
62
126
254
510
1,022
2,046
4,094
8,190
16,382
32,766
65,534
131,070
262,142
524,286
1,048,574
2,097,150
4,194,302
Total # of
Hosts
4,194,304
2,097,152
1,048,576
524,288
262,144
131,072
65,536
32,768
16,384
8,192
4,096
2,048
1,024
512
256
128
64
32
16
8
4
Usable # of
Hosts
4,194,302
2,097,150
1,048,574
524,286
262,142
131,070
65,534
32,766
16,382
8,190
4,094
2,046
1,022
510
254
126
62
30
14
6
2
Total # of
Hosts
16,384
8,192
4,096
2,048
1,024
512
256
128
64
32
16
8
4
Usable # of
Hosts
16,382
8,190
4,094
2,046
1,022
510
254
126
62
30
14
6
2
Total # of
Hosts
64
32
16
8
4
Usable # of
Hosts
62
30
14
6
2
Subnet
Mask
255.255.192.0
255.255.224.0
255.255.240.0
255.255.248.0
255.255.252.0
255.255.254.0
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
# of Bits
Borrowed
2
3
4
5
6
Subnet
Mask
255.255.255.192
255.255.255.224
255.255.255.240
255.255.255.248
255.255.255.252
Total # of
Subnets
4
8
16
32
64
128
256
512
1,024
2,048
4,096
8,192
16,384
Usable # of
Subnets
2
6
14
30
62
126
254
510
1,022
2,046
4,094
8,190
16,382
Usable # of
Subnets
2
6
14
30
62
Inside Cover