Professional Documents
Culture Documents
This tutorial explains route summarization and auto summarization features in detail
through examples. Learn how route summarization and auto summarization features
work in networking.
What is the route summarization?
Instead of advertising individual contiguous routes, routing protocols generally
prefer to advertise a single summarized route that represents all contiguous routes.
This feature is known as the root summarization.
Technically, route summarization is a feature that takes a bunch of contiguous routes
from the routing table and advertises them as a single summarized or aggregated
route. This feature works only if two or more routes are contiguous. If routes are not
contiguous, this feature will not work.
A network is considered contiguous when all of its hosts can access other hosts of
the same network without going outside of the network. To access any other host of
the network, if a host has to go outside the network then the network is considered
as a discontiguous network.
If a routing protocol automatically creates a summary route, it is known as the auto-
summarization. In simple words, auto summarization is a state in which, under
certain conditions, a routing protocol automatically uses the route summarization
feature.
One such a condition is when the router sits between classful networks with some
interface in one Class A, B, or C network and other interfaces in another Class A, B, or
C network. In such a situation, the router automatically summarizes contiguous
routes as a single classful network address.
In this network, three routers R0, R1, and R2 are connected. R0's serial interface
S0/0/0 is connected to R1's serial interface S0/0/0 and R1's serial interface S0/0/1 is
connected to R2's serial interface S0/0/0. Networks 192.168.1.0/30 and
192.168.1.4/30 are used to connect serial interfaces, respectively.
Four subnets of the network 10.0.0.0 are connected to the left side of the router R0.
How router R0 will advertise these routes on the right side from the serial interface
depends on whether the route summarization feature is enabled or not.
If the route summarization feature is disabled, the router R0 will advertise these
routes as they are. Router R1 will receive these advertised routes on its serial
interface and will add them to its routing table.
The following image shows how this process works.
But if the route summarization feature is enabled, instead of advertising four
contiguous routes separately, router R0 will advertise a single summarized route
from the serial interface. Router R1 will also receive a single summarized route and
will add that route to its routing table.
The following image shows this process.
Since route summarization is enabled on both routers (R0 and R1) and both routers
contain the subnets of the same network (10.0.0.0), they will both advertise the same
summarized route (10.0.0.0/8) to router R1.
Router R1 receives the same summarized route on its serial interfaces S0/0/0 and
S0/0/1. Since received routes are the same, R1 adds both routes to its routing table
as a single route through a special feature known as the load balancing.
If multiple routes for a single destination are merged through the load
balancing feature, based on network conditions, the router can use any route from
them to forward the traffic.
When R1 receives data packets for the network 10.0.0.0/8, depending on network
condition, it can use either serial 0/0/0 or serial 0/0/1 to forward them. This approach
does not work properly. By using this approach, sometimes R1 may forward packets
to the correct destination and sometimes not.
For example, suppose R1 receives a packet for the destination network 10.5.0.0/24
and it forwards that packet to the 192.168.1.1 (R0), then it will be incorrect. Because
R0 has no route for the destination network 10.5.0.0/24.
Same way, if R1 receives a packet for the destination network 10.1.0.0/24 and it
forwards that packet to 192.168.1.6, then it will be also incorrect. Because R2 has no
route for the destination network 10.1.0.0/24.
Packets forwarded to an incorrect destination are destroyed.
Enabling/ disabling automatic route summarization
Different routing protocols use route summarization feature differently. For example,
RIPv2 and EIGRP not only support the route summarization feature but also
automatically summarize contiguous networks across the network class boundaries.
On the other hand, OSPF does not summarize any type of routing information.
If the routing protocol supports the automatic route summarization feature,
depending on your network layout and requirement, you can enable or disable this
feature.
To enable automatic route summarization, use the 'auto-summary' command from
the router sub-config mode.
The following image shows how to enable automatic route summarization on RIPv2.
Thanks