1
CHAPTER 5
Classless Addressing
Exercises
1.
With the information given, the first address is found by ANDing the host address
with the mask 255.255.0.0 (/16).
The last address can be found by ORing the host address with the mask comple-
ment 0.0.255.255.
However, we need to mention that this is the largest possible block with 2
16
addresses. We can have many small blocks as long as the number of addresses
divides this number.
2.
With the information given, the first address is found by ANDing the host address
with the mask 255.255.255.192 (/26).
Host Address: 25
.
34
.
12
.
56
Mask (ANDed): 255
.
255
.
0
.
0
Network Address (First): 25
.
34
.
0
.
0
Host Address: 25
.
34
.
12
.
56
Mask Complement (ORed): 0
.
0
.
255
.
255
Last Address: 25
.
34
.
255
.
255
Host Address: 182
.
44
.
82
.
16
Mask (ANDed): 255
.
255
.
255
.
192
Network Address (First): 182
.
44
.
82
.
0
Chapter05.fm Page 1 Monday, December 27, 2004 8:55 AM