background image
86
Chapter 3
IP Addressing
2.
Examine the table to determine the maximum number of bits (starting
from the left) that all of the addresses have in common (where they
stop lining up; we bolded them to make them easier for you to see).
The number of common bits is the subnet mask for the summarized
address (/20).
In our example, we can see from the table that all of the addresses have the
first 20 bits in common. The decimal equivalent of these first 20 bits is
172.16.96.0. So, we can write our new summarized address as 172.16.96.0/20.
If we were to later add a network 172.16.98.0, it would need to come off the
router summarizing this address space. If we didn't, it could cause problems.
Okay, this is confusing, we know. This is why we're going to give you three
more examples.
Route Summarization Example 2
In this example, we will summarize 10.1.0.0 through 10.7.0.0. First, put
everything into binary, and then follow the bits, starting on the left and stop-
ping when the bits do not line up. Notice where we stopped boldfacing the
following:
Now, create the network number using only the boldfaced bits. Do not
count the bits that are not in boldface. The second octet has no bits on (bits
in the bolded section), so we get this:
10.0.0.0
10.1.0.0
00001010.00000001.00000000.00000000
10.2.0.0
00001010.00000010.00000000.00000000
10.3.0.0
00001010.00000011.00000000.00000000
10.4.0.0
00001010.00000100.00000000.00000000
10.5.0.0
00001010.00000101.00000000.00000000
10.6.0.0
00001010.00000110.00000000.00000000
10.7.0.0
00001010.00000111.00000000.00000000
Copyright ©2001 SYBEX , Inc., Alameda, CA
www.sybex.com