www.howtonetwork.org

CCNA & CCNP Certifcation Training

  • About
  • Contact
  • FAQ
  • Join
  • Home
  • CCNA
    • ICND1
    • ICND2
    • 101 CCNA LABS
  • CCNP
    • ROUTE
    • SWITCH
    • TSHOOT
    • 101 CCNP LABS
  • CompTIA
    • Security+
    • Network+
  • Design
    • CCDA
    • CCDP
You are here: Home / ROUTE / Module 2 / EIGRP – EIGRP Route Summarization

EIGRP – EIGRP Route Summarization

As stated in Chapter 1, route summarization reduces the amount of information that routers must process, which allows for faster convergence within the network. Summarization also restricts the size of the area that is affected by network changes by hiding detailed topology information from certain areas within the network. And finally, as was stated earlier in this chapter, summarization is used to define a Query boundary for EIGRP. EIGRP supports two types of route summarization. These two types are:

  1. Automatic route summarization
  2. Manual route summarization

By default, automatic route summarization is in effect when EIGRP is enabled on the router. This is implemented using the auto-summary command. This command allows EIGRP to perform automatic route summarization at Classful boundaries. This operation of this default feature is illustrated referencing the network topology in Figure 2-20:

Fig. 2-20. EIGRP Automatic Route Summarization

Referencing the EIGRP network illustrated in Figure 2-20, R1 and R2 are running EIGRP and are using autonomous system 150. The 10.1.1.0/24, 10.2.2.0/24, and 10.3.3.0/24 subnets are directly connected to R1. R1 is advertising these routes to R2. R1 and R2 are connected using a back-to-back Serial connection on the 150.1.1.0/24 subnet. Based on the networks connected to these routers, by default, EIGRP will perform automatic summarization will perform the following:

  • The 10.1.1.0/24, 10.2.2.0/24, and 10.3.3.0/24 subnets will be summarized to 10.0.0.0/8
  • The 150.1.1.0/24 subnet will be summarized to 150.1.0.0/16

This default behavior can be validated by looking at the output of the show ip protocols command. The output of this command on R1 is illustrated below:

R1#show ip protocols
Routing Protocol is “eigrp 150”
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Default networks flagged in outgoing updates
Default networks accepted from incoming updates
EIGRP metric weight K1=1, K2=0, K3=1, K4=0, K5=0
EIGRP maximum hopcount 100
EIGRP maximum metric variance 1
Redistributing: eigrp 150
EIGRP NSF-aware route hold timer is 240s
Automatic network summarization is in effect
Automatic address summarization:
    150.1.0.0/16 for Loopback1, Loopback2, Loopback3
      Summarizing with metric 2169856
    10.0.0.0/8 for Serial0/0
      Summarizing with metric 128256
Maximum path: 4
Routing for Networks:
10.1.1.0/24
10.2.2.0/24
10.3.3.0/24
150.1.1.0/24
Routing Information Sources:
Gateway         Distance      Last Update
(this router)         90      00:03:12
150.1.1.2             90      00:03:12
Distance: internal 90 external 170

In the output above, the 10.1.1.0/24, 10.2.2.0/24, and 10.3.3.0/24 subnets have been automatically summarized to 10.0.0.0/8. This summary address is advertised out of Serial0/0. The 150.1.1.0/24 subnet has been summarized to 150.1.0.0/16. This summary address is advertised out of Loopback 1, Loopback 2, and Loopback 3. Remember, by default, EIGRP will send out updates on all interface for which EIGRP routing is enabled.

Referencing the output printed above, we know that sending updates on a Loopback interface is a waste resources because there can never physically be a device connected to a router Loopback interface listening for such updates. This default behavior can be disabled by using the passive-interface router configuration command as follows:

R1(config)#router eigrp 150
R1(config-router)#passive-interface loopback 1
R1(config-router)#passive-interface loopback 2
R1(config-router)#passive-interface loopback 3
R1(config-router)#exit

The result of this configuration is that EIGRP packets are no longer sent out of the Loopback interfaces. The summary address is therefore not advertised out of these interfaces:

R1#show ip protocols
Routing Protocol is “eigrp 150”
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Default networks flagged in outgoing updates
Default networks accepted from incoming updates
EIGRP metric weight K1=1, K2=0, K3=1, K4=0, K5=0
EIGRP maximum hopcount 100
EIGRP maximum metric variance 1
Redistributing: eigrp 150
EIGRP NSF-aware route hold timer is 240s
  Automatic network summarization is in effect
  Automatic address summarization:
    10.0.0.0/8 for Serial0/0
Summarizing with metric 128256
Maximum path: 4
Routing for Networks:
10.0.0.0
150.1.0.0
  Passive Interface(s):
    Loopback0
    Loopback1
    Loopback2
    Loopback3
Routing Information Sources:
Gateway         Distance      Last Update
(this router)         90      00:03:07
150.1.1.2             90      00:01:12
Distance: internal 90 external 170

NOTE: The passive-interfaces command is described in detail later in this chapter.

Continuing with automatic summarization, following automatic summarization at the Classful boundary, EIGRP installs a route to the summary address into the EIGRP Topology Table and IP routing table. The route is highlighted below in the EIGRP Topology Table, along with the more specific entries and their respective directly connected interfaces:

R1#show ip eigrp topology
IP-EIGRP Topology Table for AS(150)/ID(10.3.3.1)Codes: P – Passive, A – Active, U – Update, Q – Query, R – Reply,
r – reply Status, s – sia StatusP 10.0.0.0/8, 1 successors, FD is 128256
        via Summary (128256/0), Null0
P 10.3.3.0/24, 1 successors, FD is 128256
via Connected, Loopback3
P 10.2.2.0/24, 1 successors, FD is 128256
via Connected, Loopback2
P 10.1.1.0/24, 1 successors, FD is 128256
via Connected, Loopback1
…
[Truncated Output] …

In the routing table, the summary route is directly connected to the Null0 interface. The route has a default administrative distance value of 5. This is illustrated in the following output:

R1#show ip route 10.0.0.0 255.0.0.0
Routing entry for 10.0.0.0/8
Known via “eigrp 150”, distance 5, metric 128256, type internal
Redistributing via eigrp 150
Routing Descriptor Blocks:
* directly connected, via Null0
Route metric is 128256, traffic share count is 1
Total delay is 5000 microseconds, minimum bandwidth is 10000000 Kbit
Reliability 255/255, minimum MTU 1514 bytes
Loading 1/255, Hops 0

When EIGRP performs automatic summarization, the router advertises the summary route and suppresses the more specific routes. In other words, while the summary route is advertised, the more specific prefixes are suppressed in updates to EIGRP neighbors. This can be validated by looking at the routing table on R2:

R2#show ip route eigrp
D    10.0.0.0/8 [90/2298856] via 150.1.1.1, 00:29:05, Serial0/0

This default behavior works well in basic networks such as the one illustrated in Figure 2-20. However, it can have an adverse impact in discontiguous networks. A discontiguous network comprises a major network that separates another major network as shown in Figure 2-21:

Fig. 2-21. Discontiguous Networks

Referencing the diagram illustrated in Figure 2-21, the major 150.1.0.0/16 network separates the two major 10.0.0.0/8 networks. When automatic summarization is enabled, both R1 and R2 will summarize the 10.1.1.0/24 and 10.2.2.0/24 subnets, respectively, to the 10.0.0.0/8 address. This summary route will be installed with a next hop interface of Null0. The Null0 interface is a ‘bit-bucket’.  Any packets sent to this interface are effectively discarded.

Because both routers advertise each other only the summary addresses, neither router will be able to reach the 10.x.x.x/24 subnet of the other router. To understand the ramifications of automatic summarization in the network illustrated in Figure 2-21, let us go through the steps one at a time, beginning with the configuration on R1 and R2, which is as follows:

R1(config)#router eigrp 150
R1(config-router)#network 10.1.1.0 0.0.0.255
R1(config-router)#network 150.1.1.0 0.0.0.255
R1(config-router)#exit

 

R2(config)#router eigrp 150
R2(config-router)#network 10.2.2.0 0.0.0.255
R2(config-router)#network 150.1.1.0 0.0.0.255
R2(config-router)#exit

Because automatic summarization at the Classful boundary is enabled by default on both of the routers, they will both generate two summary addresses: one for 10.0.0.0/8 and another for 150.1.0.0/16. These summary addresses will both point to the Null0 interface. Based on this, the routing table on R1 shows the following entries:

R1#show ip route eigrp
10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
D       10.0.0.0/8 is a summary, 00:04:51, Null0
150.1.0.0/16 is variably subnetted, 2 subnets, 2 masks
D       150.1.0.0/16 is a summary, 00:06:22, Null0

Similarly, the routing table on R2 also reflects the same:

R2#show ip route eigrp
10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
D       10.0.0.0/8 is a summary, 00:01:58, Null0
150.1.0.0/16 is variably subnetted, 2 subnets, 2 masks
D       150.1.0.0/16 is a summary, 00:01:58, Null0

Even though a summary address of 150.1.0.0/16 has been installed into the IP routing table, R1 and R2 are still able to ping each other because the more route specific entry (150.1.1.0/24) resides on a directly connected interface. The more specific entries in a summary route can be viewed by issuing the show ip route [address][mask] longer-prefixes command. The output of this command is illustrated below for the 150.1.0.0/16 summary:

R1#show ip route 150.1.0.0 255.255.0.0 longer-prefixes
Codes: C – connected, S – static, R – RIP, M – mobile, B – BGP
D – EIGRP, EX – EIGRP external, O – OSPF, IA – OSPF inter area
N1 – OSPF NSSA external type 1, N2 – OSPF NSSA external type 2
E1 – OSPF external type 1, E2 – OSPF external type 2
i – IS-IS, su – IS-IS summary, L1 – IS-IS level-1, L2 – IS-IS level-2
ia – IS-IS inter area, * – candidate default, U – per-user static route
o – ODR, P – periodic downloaded static routeGateway of last resort is not set150.1.0.0/16 is variably subnetted, 2 subnets, 2 masks
C       150.1.1.0/24 is directly connected, Serial0/0
D       150.1.0.0/16 is a summary, 00:10:29, Null0

Because the more specific 150.1.1.0/24 route entry exists, packet sent to the 150.1.1.2 address will be forwarded via the Serial0/0 interface. This allows connectivity between R1 and R2:

R1#ping 150.1.1.2Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 150.1.1.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/3/4 ms

However, packets to any other subnets off the major 150.1.0.0/16 will be sent to the Null0 interface because no specific route entries exist.

So far, everything appears to be in order. We have determined that due to the more specific route entry off the major 150.1.0.0/16 network, R1 and R2 are able to ping each other. The problem, however, is connectivity between the major 10.0.0.0/8 subnets on R1 and R2. R1 shows the following specific route entries for its generated 10.0.0/8 summary address:

R1#show ip route 10.0.0.0 255.0.0.0 longer-prefixes
Codes: C – connected, S – static, R – RIP, M – mobile, B – BGP
D – EIGRP, EX – EIGRP external, O – OSPF, IA – OSPF inter area
N1 – OSPF NSSA external type 1, N2 – OSPF NSSA external type 2
E1 – OSPF external type 1, E2 – OSPF external type 2
i – IS-IS, su – IS-IS summary, L1 – IS-IS level-1, L2 – IS-IS level-2
ia – IS-IS inter area, * – candidate default, U – per-user static route
o – ODR, P – periodic downloaded static routeGateway of last resort is not set10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C       10.1.1.0/24 is directly connected, FastEthernet0/0
D       10.0.0.0/8 is a summary, 00:14:23, Null0

Similarly, router R2 shows the following specific entries for its generated 10.0.0.0/8 summary:

R2#show ip route 10.0.0.0 255.0.0.0 longer-prefixes
Codes: C – connected, S – static, R – RIP, M – mobile, B – BGP
D – EIGRP, EX – EIGRP external, O – OSPF, IA – OSPF inter area
N1 – OSPF NSSA external type 1, N2 – OSPF NSSA external type 2
E1 – OSPF external type 1, E2 – OSPF external type 2
i – IS-IS, su – IS-IS summary, L1 – IS-IS level-1, L2 – IS-IS level-2
ia – IS-IS inter area, * – candidate default, U – per-user static route
o – ODR, P – periodic downloaded static routeGateway of last resort is not set10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C       10.2.2.0/24 is directly connected, FastEthernet0/0
D       10.0.0.0/8 is a summary, 00:15:11, Null0

Neither router has a route to the others 10.x.x.x/24 subnet. If, for example, R1 attempts to send packets to 10.2.2.0/24, the summary address will be used and the packets are forwarded to the Null0 interface. This is illustrated in the following output:

R1#show ip route 10.2.2.0
Routing entry for 10.0.0.0/8
Known via “eigrp 150”, distance 5, metric 28160, type internal
Redistributing via eigrp 150
Routing Descriptor Blocks:
* directly connected, via Null0
Route metric is 28160, traffic share count is 1
Total delay is 100 microseconds, minimum bandwidth is 100000 Kbit
Reliability 255/255, minimum MTU 1500 bytes
Loading 1/255, Hops 0

R1 will be unable to ping the 10.x.x.x/24 subnet on R2 and vice-versa:

R1#ping 10.2.2.2Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.2.2.2, timeout is 2 seconds:
…..
Success rate is 0 percent (0/5)

There are two solutions to this issue:

  1. Manually configure static routes for the 10.x.x.x/24 subnets on both routers
  2. Disable EIGRP automatic Classful network summarization

The first option is very basic. However, static route configuration is not scalable and requires a lot of configuration overhead in large networks. The second option, which is also the recommended option, is both scalable and requires less configuration overhead than the first. Automatic summarization is disabled by issuing the no auto-summary command:

R1(config)#router eigrp 150
R1(config-router)#no auto-summary
R1(config-router)#exit

 

R2(config)#router eigrp 150
R2(config-router)#no auto-summary
R2(config-router)#exit

The result of this configuration is that the specific subnets off the major network are advertised by both routers. A summary route is not generated:

R2#show ip route eigrp
10.0.0.0/24 is subnetted, 2 subnets
D       10.1.1.0 [90/2172416] via 150.1.1.1, 00:01:17, Serial0/0

IP connectivity between the 10.x.x.x/24 subnets can be validated using a simple ping:

R2#ping 10.1.1.1 source 10.2.2.2 repeat 10Type escape sequence to abort.
Sending 10, 100-byte ICMP Echos to 10.1.1.1, timeout is 2 seconds:
Packet sent with a source address of 10.2.2.2
!!!!!!!!!!
Success rate is 100 percent (10/10), round-trip min/avg/max = 1/3/4 ms

Before we go into the details pertaining to manual route summarization, it is important to know that EIGRP will not automatically summarize external networks unless there is an internal network that will be included in the summary. To better understand this, we will refer to Figure 2-22 which illustrates a basic EIGRP network:

Fig. 2-22. Summarizing External Networks

Referencing Figure 2-21, R1 is redistributing and then advertising the 10.0.0.0/24, 10.1.1.0/24, 10.2.2.0/24, and 10.3.3.0/24 external networks via EIGRP. Automatic route summarization is enabled on R1. The initial configuration on R1 is as follows:

R1(config)#router eigrp 150
R1(config-router)#redistribute connected metric 8000000 5000 255 1 1514
R1(config-router)#network 150.1.1.1 0.0.0.0
R1(config-router)#exit

The show ip protocols command shows that EIGRP is enabled for Serial0/0 and is redistributing connected networks. Automatic summarization is also enabled.

R1#show ip protocols
Routing Protocol is “eigrp 150”
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Default networks flagged in outgoing updates
Default networks accepted from incoming updates
EIGRP metric weight K1=1, K2=0, K3=1, K4=0, K5=0
EIGRP maximum hopcount 100
EIGRP maximum metric variance 1
Redistributing: connected, eigrp 150
EIGRP NSF-aware route hold timer is 240s
Automatic network summarization is in effect
Maximum path: 4
Routing for Networks:
    150.1.1.1/32
Routing Information Sources:
Gateway         Distance      Last Update
150.1.1.2             90      00:00:07
Distance: internal 90 external 170

Because the 10.x.x.x/24 prefixes are all external routes, EIGRP will not automatically summarize these prefixes as illustrated in the previous example. EIGRP will therefore not add a summary route to either the Topology Table or IP routing table for these entries. This is illustrated in the following output:

R1#show ip eigrp topology
IP-EIGRP Topology Table for AS(150)/ID(10.3.3.1)Codes: P – Passive, A – Active, U – Update, Q – Query, R – Reply,
r – reply Status, s – sia StatusP 10.0.0.0/24, 1 successors, FD is 1280256
via Rconnected (1280256/0)
P 10.1.1.0/24, 1 successors, FD is 1280256
via Rconnected (1280256/0)
P 10.2.2.0/24, 1 successors, FD is 1280256
via Rconnected (1280256/0)
P 10.3.3.0/24, 1 successors, FD is 1280256
via Rconnected (1280256/0)
…
[Truncated Output] …

The specific route entries are advertised to R2 as external EIGRP routes:

R2#show ip route eigrp
10.0.0.0/24 is subnetted, 4 subnets
D EX    10.3.3.0 [170/3449856] via 150.1.1.1, 00:07:02, Serial0/0
D EX    10.2.2.0 [170/3449856] via 150.1.1.1, 00:07:02, Serial0/0
D EX    10.1.1.0 [170/3449856] via 150.1.1.1, 00:07:02, Serial0/0
D EX    10.0.0.0 [170/3449856] via 150.1.1.1, 00:07:02, Serial0/0

Now, assume that the 10.0.0.0/24 subnet is an internal network, while the 10.1.1.0/24, 10.2.2.0/24, and 10.3.3.0/24 subnets are external routes. Because one of the routes that will comprise the Classful summary address 10.0.0.0/8 is an internal route, EIGRP will create a summary address and include that in the EIGRP Topology Table and IP routing table. The show ip protocols command shows that the 10.0.0.0/24 network is now an internal EIGRP network:

R1#show ip protocols
Routing Protocol is “eigrp 150”
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Default networks flagged in outgoing updates
Default networks accepted from incoming updates
EIGRP metric weight K1=1, K2=0, K3=1, K4=0, K5=0
EIGRP maximum hopcount 100
EIGRP maximum metric variance 1
Redistributing: connected, eigrp 150
EIGRP NSF-aware route hold timer is 240s
Automatic network summarization is in effect
Automatic address summarization:
    150.1.0.0/16 for Loopback0
      Summarizing with metric 2169856
    10.0.0.0/8 for Serial0/0
      Summarizing with metric 128256
Maximum path: 4
Routing for Networks:
    10.0.0.1/32
    150.1.1.1/32
Routing Information Sources:
Gateway         Distance      Last Update
(this router)         90      00:00:05
Gateway         Distance      Last Update
150.1.1.2             90      00:00:02
Distance: internal 90 external 170

In the output above, EIGP automatic summarization has generated a summary address for because the 10.0.0.0/24 internal subnet is a part of the aggregate address. The EIGRP Topology table shows the external and internal entries, as well as the summary address:

R1#show ip eigrp topology
IP-EIGRP Topology Table for AS(150)/ID(10.3.3.1)Codes: P – Passive, A – Active, U – Update, Q – Query, R – Reply,
r – reply Status, s – sia StatusP 10.0.0.0/8, 1 successors, FD is 128256
via Summary (128256/0), Null0
P 10.0.0.0/24, 1 successors, FD is 128256
via Connected, Loopback0
P 10.1.1.0/24, 1 successors, FD is 1280256
via Rconnected (1280256/0)
P 10.2.2.0/24, 1 successors, FD is 1280256
via Rconnected (1280256/0)
P 10.3.3.0/24, 1 successors, FD is 1280256
via Rconnected (1280256/0)
…
[Truncated Output] …

This time, only a single route is advertised to R2 as illustrated in the following output:

R2#show ip route eigrp
D    10.0.0.0/8 [90/2297856] via 150.1.1.1, 00:04:05, Serial0/0

From the perspective of R2, this is simply an internal EIGRP route. In other words, the router does not have any knowledge that the summary address is also comprised on external routes.

R2#show ip route 10.0.0.0 255.0.0.0
Routing entry for 10.0.0.0/8
Known via “eigrp 150”, distance 90, metric 2297856, type internal
Redistributing via eigrp 150
Last update from 150.1.1.1 on Serial0/0, 00:05:34 ago
Routing Descriptor Blocks:
* 150.1.1.1, from 150.1.1.1, 00:05:34 ago, via Serial0/0
Route metric is 2297856, traffic share count is 1
Total delay is 25000 microseconds, minimum bandwidth is 1544 Kbit
Reliability 255/255, minimum MTU 1500 bytes
Loading 1/255, Hops 1

R2 is able to reach both the internal 10.0.0.0/24 network and the other external 10.x.x.x/24 networks via the received summary route:

R2#ping 10.0.0.1Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.0.0.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms

 

R2#ping 10.3.3.1Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.3.3.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/3/4 ms

Unlike EIGRP automatic summarization, EIGRP manual route summarization is configured and implemented at the interface level using the ip summary-address eigrp [ASN] [network] [mask] [distance] [leak-map <name>]interface configuration command. By default, an EIGRP summary address is assigned a default administrative distance value of 5. This default assignment can be changed by specifying the desired administrative distance value as specified by the distance keyword.

By default, when manual route summarization is configured, EIGRP will not advertise the more specific route entries that fall within the summarized network entry. The leak-map <name> keyword can be configured to allow EIGRP route leaking wherein EIGRP allows specified specific route entries to be advertised in conjunction with the summary address. Those entries that are not specified in the leak map are still suppressed.

When manually summarizing routes, it is important to be as specific as possible. Otherwise, the configuration might result in a black-holing of traffic in a manner similar to the example pertaining to discontiguous networks that was described earlier in this section. This concept is illustrated in Figure 2-23:

Fig. 2-23. Black-Holing Traffic with Poor Route Summarization

Referencing Figure 2-21, if a manual summary address of 10.0.0.0/8 is configured on both of the routers, the more specific prefixes are suppressed. Because EIGRP also installs a route to the summary address into both the EIGRP Topology Table and the IP routing table with a next hop interface of Null0, the same issue experienced with automatic summarization in discontiguous networks is experienced in this network and the respective subnets on either router will be unable to communicate with each other.

In addition to this, it is also important to understand that if poorly implemented within the network, route summarization may result in sub-optimal routing within the network. This concept is illustrated in Figure 2-24:

Fig. 2-24. Sub-Optimal Routing With Route Summarization

By default, when a summary route is created for EIGRP, the router advertises the summary address with a metric equal to the minimum of all more specific routes. In other words, the summary address will have the same metric as the lowest most specific route included in the creation of the summary address.

Referencing the network topology illustrated in Figure 2-22, both R2 and R3 are advertising the summary address 10.0.0.0/8 to R1. This summary is comprised of the more specific 10.4.4.0/24 and 10.6.6.0/24 prefixes. The metric used by the summary address on both routers is calculated as illustrated below in Table 2-5:

Starting Point (Router) Metric To 10.4.4.0/24 Metric to 10.6.6.0/24
R2 5 + 5 = 10 5 + 45 + 5 + 5 = 60
R3 5 + 45 + 5 = 55 5 + 5 + 5 = 15

Tab. 2-5. Summary Route Metric Calculation

Based on the metric calculation in Table 2-5, R2 clearly has the lowest metric path to 10.4.4.0/24 for traffic originating from R1, while R3 has the lowest metric path to 10.6.6.0/24 for traffic originating from R1. However, when R1 advertises the 10.0.0.0/8 summary to R1, the summary address uses the lowest minimum metric of all routes that the summary is comprised of. Based on this example, R2 advertises the summary address to R1 with a metric of 10. R2 follows the same logic and advertises the summary route to R1 with a metric of 15.

When R1 receives the summary routes from R2 and R3, it uses the one with the lowest metric to forward traffic destined to subnets contained within the 10.0.0.0/8 major Classful network via R2. This is illustrated in Figure 2-25:

Fig. 2-25. Sub-Optimal Routing With Route Summarization

Referencing Figure 2-22, we can clearly see that while this is the optimal path for the 10.4.4.0/24 subnet, it is a suboptimal path for the 10.6.6.0/24 subnet. It is therefore very important to understand the network topology before implementing route summarization in the network.

Reverting back to the configuration of manual route summarization when using EIGRP, the network topology illustrated in Figure 2-26 will be used to demonstrate manual route summarization, as well as route leaking when configuring EIGRP route summarization:

Fig. 2-26. Configuring EIGRP Route Summarization

Based on the interfaces configured on R1, the routing table on R2 shows the following entries:

R2#show ip route eigrp
10.0.0.0/24 is subnetted, 4 subnets
D       10.3.3.0 [90/2297856] via 150.1.1.1, 00:00:14, Serial0/0
D       10.2.2.0 [90/2297856] via 150.1.1.1, 00:00:14, Serial0/0
D       10.1.1.0 [90/2297856] via 150.1.1.1, 00:00:14, Serial0/0
D       10.0.0.0 [90/2297856] via 150.1.1.1, 00:00:14, Serial0/0

To summarize these entries on R1 and advise a single specific route, the following configuration is applied to the Serial0/0 interface of R1:

R1(config)#interface serial 0/0
R1(config-if)#ip summary-address eigrp 150 10.0.0.0 255.252.0.0
R1(config-if)#exit

Following this configuration, the summary entry 10.0.0.0/14 is installed into the Topology Table and also into the IP routing table on R1. The Topology Table entry is as follows:

R1#show ip eigrp topology
IP-EIGRP Topology Table for AS(150)/ID(10.3.3.1)Codes: P – Passive, A – Active, U – Update, Q – Query, R – Reply,
r – reply Status, s – sia StatusP 10.0.0.0/14, 1 successors, FD is 128256
        via Summary (128256/0), Null0
P 10.3.3.0/24, 1 successors, FD is 128256
via Connected, Loopback3
P 10.2.2.0/24, 1 successors, FD is 128256
via Connected, Loopback2
P 10.0.0.0/24, 1 successors, FD is 128256
via Connected, Loopback0
P 10.1.1.0/24, 1 successors, FD is 128256
via Connected, Loopback1
…
[Truncated Output] …

The routing table entry also reflects the summary route with a next hop interface of Null0:

R1#show ip route
Codes: C – connected, S – static, R – RIP, M – mobile, B – BGP
D – EIGRP, EX – EIGRP external, O – OSPF, IA – OSPF inter area
N1 – OSPF NSSA external type 1, N2 – OSPF NSSA external type 2
E1 – OSPF external type 1, E2 – OSPF external type 2
i – IS-IS, su – IS-IS summary, L1 – IS-IS level-1, L2 – IS-IS level-2
ia – IS-IS inter area, * – candidate default, U – per-user static route
o – ODR, P – periodic downloaded static routeGateway of last resort is not set10.0.0.0/8 is variably subnetted, 5 subnets, 2 masks
C       10.3.3.0/24 is directly connected, Loopback3
C       10.2.2.0/24 is directly connected, Loopback2
C       10.1.1.0/24 is directly connected, Loopback1
C       10.0.0.0/24 is directly connected, Loopback0
D       10.0.0.0/14 is a summary, 00:02:37, Null0
     150.1.0.0/24 is subnetted, 1 subnets
C       150.1.1.0 is directly connected, Serial0/0
150.2.0.0/24 is subnetted, 1 subnets
C       150.2.2.0 is directly connected, Serial0/1

Again, the show ip route [address] [mask] longer-prefixes command can be used to view the specific route entries that comprise the aggregate or summary route as illustrated in the following output on R1:

R1#show ip route 10.0.0.0 255.252.0.0 longer-prefixes
Codes: C – connected, S – static, R – RIP, M – mobile, B – BGP
D – EIGRP, EX – EIGRP external, O – OSPF, IA – OSPF inter area
N1 – OSPF NSSA external type 1, N2 – OSPF NSSA external type 2
E1 – OSPF external type 1, E2 – OSPF external type 2
i – IS-IS, su – IS-IS summary, L1 – IS-IS level-1, L2 – IS-IS level-2
ia – IS-IS inter area, * – candidate default, U – per-user static route
o – ODR, P – periodic downloaded static routeGateway of last resort is not set10.0.0.0/8 is variably subnetted, 5 subnets, 2 masks
C       10.3.3.0/24 is directly connected, Loopback3
C       10.2.2.0/24 is directly connected, Loopback2
C       10.1.1.0/24 is directly connected, Loopback1
C       10.0.0.0/24 is directly connected, Loopback0
D       10.0.0.0/14 is a summary, 00:04:03, Null0

On R2, a single route entry for the 10.0.0.0/14 summary address is received as shown below:

R2#show ip route eigrp
10.0.0.0/14 is subnetted, 1 subnets
D       10.0.0.0 [90/2297856] via 150.1.1.1, 00:06:22, Serial0/0

To reinforce the concept about the metric for the summary route, let us assume that the routes on R1 are all external EIGRP routes, i.e. have been redistributed into EIGRP, with different metrics. The EIGRP Topology Table on R1 shows the following:

R1#show ip eigrp topology
IP-EIGRP Topology Table for AS(150)/ID(10.3.3.1)Codes: P – Passive, A – Active, U – Update, Q – Query, R – Reply,
r – reply Status, s – sia StatusP 10.0.0.0/24, 1 successors, FD is 10127872
via Rconnected (10127872/0)
P 10.1.1.0/24, 1 successors, FD is 3461120
via Rconnected (3461120/0)
P 10.2.2.0/24, 1 successors, FD is 2627840
via Rconnected (2627840/0)
P 10.3.3.0/24, 1 successors, FD is 1377792
via Rconnected (1377792/0)
…
[Truncated Output] …

The same summary address configured on R1 in the previous example is configured again:

R1(config)#int s0/0
R1(config-if)#ip summary-address eigrp 150 10.0.0.0 255.252.0.0
R1(config-if)#exit

Based on this configuration, the summary route is placed into the EIGRP Topology Table and IP routing table with a metric equal to the lowest metric of all routes which it encompasses. Based on the output of the show ip eigrp topology command shown previously, the summary address will be assigned the same metric assigned to the 10.3.3.0/24 prefix:

R1#show ip eigrp topology
IP-EIGRP Topology Table for AS(150)/ID(10.3.3.1)Codes: P – Passive, A – Active, U – Update, Q – Query, R – Reply,
r – reply Status, s – sia StatusP 10.0.0.0/14, 1 successors, FD is 1377792
        via Summary (1377792/0), Null0
P 10.0.0.0/24, 1 successors, FD is 10127872
via Rconnected (10127872/0)
P 10.1.1.0/24, 1 successors, FD is 3461120
via Rconnected (3461120/0)
P 10.2.2.0/24, 1 successors, FD is 2627840
via Rconnected (2627840/0)
P 10.3.3.0/24, 1 successors, FD is 1377792
        via Rconnected (1377792/0)
P 150.1.1.0/24, 1 successors, FD is 2169856
via Connected, Serial0/0

Prev

Next

About Us

This is a free bonus site for members of www.howtonetwork.com

Copyright

The content on this copyright Reality Press Ltd.
Copyright Reality Press Ltd.