background image
Route Summarization
151
and 24. Because different prefix lengths are available at different points, the concept has been
defined as
variable-length subnet masking
(VLSM). VLSM relies on providing prefix length
information clearly with each address. With classful routing, hundreds of addresses can go
unallocated. With VLSM, IP address space can be used more efficiently. As an example, let's
use a conventional classful address to configure a serial line and then compare it to an address
that uses VLSM.
With the network 172.1.100.1/24, the address space from 172.1.100.1 to 172.1.100.254 is used.
When the network 172.1.100.1/30 is used, the address space between 5 and 255 remains
available for other networks. In this example, more than 250 addresses are conserved using
VLSM! Distance vector routing protocols such as RIP and IGRP do not advertise classless
prefixes in their routing protocol updates.
Classless Interdomain Routing (CIDR)
Classless interdomain routing
(
CIDR
) allows for the reduction of the size of routing tables in
the Internet by creating aggregate routes, or supernets. CIDR eliminates the concept of network
classes and allows for better scalability when supporting the advertising of IP prefixes. CIDR
allows routers to group routes to cut down on the quantity of routing information carried by the
core routers. With CIDR, several IP networks appear to networks outside the group as a single,
larger entity. CIDR completely changes the concept of address classes. It does not categorize a
network by class. Instead, routes are viewed as a combination of addresses and masks. As long
as the network has a common prefix, it doesn't matter where the boundary exists between
network and host.
CIDR has the following advantages:
·
One routing entry might match a block of host, subnet, or network addresses
·
Routing tables can be shorter
·
Switching performance is faster
·
Routing protocol traffic is minimized
Route Summarization
Route summarization is also referred to as
supernetting
or
route aggregation
. Supernetting
means extending the network prefix to the left. Instead of displaying all network entries in a
routing table, a router announces a single network that shows the summarized prefix to its
neighbor routers. When traffic is forwarded to the source router, the routers can switch packets
to the appropriate subnet by applying the longest match rule. Summarization collapses the
prefix to the left, and subnetting extends the prefix to the right. Figure 5-5 depicts this idea.
87200333.book Page 151 Wednesday, August 22, 2001 2:37 PM