From point A to point B
Point A: you know that auto-summary summarizes at the class boundary and that a summary stops the Query. Point B: by the end of this chapter you will recognize a discontiguous network, explain why a router load-balances traffic toward two sites that have nothing in common and know what a command fixes and what only design can fix.
- The Day 2 agenda and a quick review of DUAL terminology
- The new topology: RT01, Switch01, RT02 and RT03 with an explicit router-id
- auto-summary and the Null0 route in the topology table
- Two false successors and pings that half fail
- maximum-paths, the design fix and the binary math of a summary
Day 2: agenda and DUAL review
Day 2 is almost all hands-on: about 25 labs built live, with an agenda and a clear outcome.
The plan: finish classic mode and migrate to named mode in two ways, with eigrp upgrade-cli and by configuring it from scratch; timers with BFD (Bidirectional Forwarding Detection); SHA authentication, which only exists in named mode; the composite metric, changing delay and bandwidth; equal cost multipath, unequal-cost load balancing and the default route. Stub routing may not fit in the time. The starting point is summarization.
First, a quick review:
- Successor and feasible successor: the route that wins on composite metric and the loop-free alternate. Feasible distance: the successor’s metric.
- Feasibility condition: if a route’s reported distance is strictly lower than the feasible distance, that route is loop-free and can be a feasible successor.
- Computed distance: the reported distance the neighbor advertises plus the local distance of the link to it.
Passive means DUAL is not recomputing; active means the 3-minute active timer is running, with a SIA-Query at 90 seconds if a Reply is missing.
Two ways to summarize
In older IOS releases, auto-summary was on by default in EIGRP. Not anymore. If you want to summarize, you have two paths:
- auto-summary for the whole process: every group of subnets of a major network is summarized when it crosses into a different major network. Always at the class A, B or C boundary.
- Interface summarization: in classic mode, on the physical interface; in named mode, inside the process, in the
af-interfacesubmode. Here you choose the bit, and you can even generate a default route.
The first lab uses the first path to show its most dangerous case: discontiguous networks.
auto-summary became disabled by default starting with IOS 15.0(1)M, 12.2(33)SRE and IOS XE 2.5, among other releases. Interface summarization is configured with ip summary-address eigrp.The Day 2 topology
There is a switch between RT01 and RT02, Switch01. It is there for the BFD exercise later on; for this lab you can ignore it. Its ports Gi0/0 and Gi0/1 go to VLAN 10, and Gi0/2 and Gi0/3 to VLAN 20. No need to create the VLANs: the switch creates them on its own when you assign them.
Switch(config)# hostname Switch01
Switch01(config)# interface range GigabitEthernet0/0 - 1
Switch01(config-if-range)# switchport mode access
Switch01(config-if-range)# switchport access vlan 10
Switch01(config-if-range)# no shutdown
Switch01(config-if-range)# interface range GigabitEthernet0/2 - 3
Switch01(config-if-range)# switchport mode access
Switch01(config-if-range)# switchport access vlan 20
Switch01(config-if-range)# no shutdown
! the switch creates VLAN 10 and VLAN 20 on its own
RT01 brings up router eigrp 10 in classic mode with eigrp router-id 0.0.0.1 and advertises, with wildcards, its loopback 0 (1.1.1.0/24), the link to RT02 (10.10.10.0/24), a second link over VLAN 20 (172.16.10.0/24) for later use and three new loopbacks: 11.11.10.0, 11.11.11.0 and 11.11.12.0, all /24.
RT01(config)# router eigrp 10
RT01(config-router)# eigrp router-id 0.0.0.1
RT01(config-router)# network 1.1.1.0 0.0.0.255
RT01(config-router)# network 10.10.10.0 0.0.0.255
RT01(config-router)# network 172.16.10.0 0.0.0.255
RT01(config-router)# network 11.11.10.0 0.0.0.255
RT01(config-router)# network 11.11.11.0 0.0.0.255
RT01(config-router)# network 11.11.12.0 0.0.0.255
RT01(config-router)# exit
RT01(config)# interface loopback 0
RT01(config-if)# ip address 1.1.1.1 255.255.255.0
RT01(config-if)# interface loopback 10
RT01(config-if)# ip address 11.11.10.1 255.255.255.0
RT01(config-if)# interface loopback 11
RT01(config-if)# ip address 11.11.11.1 255.255.255.0
RT01(config-if)# interface loopback 12
RT01(config-if)# ip address 11.11.12.1 255.255.255.0
RT01(config-if)# interface GigabitEthernet0/0
RT01(config-if)# description Conexion a RT02 por la GigabitEthernet0/1
RT01(config-if)# ip address 10.10.10.1 255.255.255.0
RT01(config-if)# no shutdown
Process first, interfaces later: EIGRP turns on in each interface as soon as a matching address shows up.
RT02 gets its loopback 2.2.2.2/24, Gi0/1 with 10.10.10.2 and the same AS 10, which must match to form the adjacency, with router-id 0.0.0.2.
RT02(config)# interface loopback 0
RT02(config-if)# ip address 2.2.2.2 255.255.255.0
RT02(config-if)# interface GigabitEthernet0/1
RT02(config-if)# ip address 10.10.10.2 255.255.255.0
RT02(config-if)# no shutdown
RT02(config-if)# router eigrp 10
RT02(config-router)# eigrp router-id 0.0.0.2
RT02(config-router)# network 2.2.2.0 0.0.0.255
RT02(config-router)# network 10.10.10.0 0.0.0.255
RT02(config-router)# do show ip eigrp neighbors
RT02(config-router)# do show ip protocols
! Automatic Summarization: disabled
Network 11 shows up on both sides of RT02, split by the transit links of network 10. Diagram: The House of Routing.
auto-summary and the Null0 route
show ip protocols on RT02 confirms it: Automatic Summarization: disabled. That is why RT02 receives the three /24s of network 11 as they are.
Jesús enables auto-summary on RT01. First there is a recomputation: Hellos and Updates are sent again and the adjacency resynchronizes. Then new entries show up in RT01’s topology table: 1.0.0.0/8, 10.0.0.0/8 and 11.0.0.0/8, all pointing to Null0.
RT01(config)# router eigrp 10
RT01(config-router)# auto-summary
RT01(config-router)# do show ip eigrp topology
! new summary entries to Null0: 1.0.0.0/8, 10.0.0.0/8 and 11.0.0.0/8
RT02# show ip route
! one route 11.0.0.0/8 instead of three /24 routes
RT02# ping 11.11.10.1
RT02# ping 11.11.11.1
RT02# ping 11.11.12.1
RT01(config-router)# no auto-summary
Null0 is an interface that does not exist. The router records the summary in its topology table and its routing table as a route to a null interface. It is loop prevention: a packet for a subnet of the summary that does not exist is dropped instead of bouncing around.
On RT02 the change is immediate: where there were three /24s, there is now a single 11.0.0.0/8. And pings to 11.11.10.1, 11.11.11.1 and 11.11.12.1 still work. No reachability is lost: RT01 simply gives its neighbors less information.
That is the big advantage of summarization: a smaller table, less memory and, in EIGRP, a smaller query domain. Then no auto-summary again, to set up the next exercise.
RT03 and network 11 on the other side
RT02 advertises the link to RT03, 10.10.11.0/24, with 10.10.11.2 on its Gi0/0. RT03 joins with router-id 0.0.0.3 and three loopbacks: 11.11.13.1, 11.11.14.1 and 11.11.15.1, all /24.
Jesús tells it as a field story: someone asks for 5000 addresses for a new area, and somebody subnets network 11 without noticing it is already used elsewhere. They are different subnets of the same class A major network.
RT02(config)# router eigrp 10
RT02(config-router)# network 10.10.11.0 0.0.0.255
RT02(config-router)# interface GigabitEthernet0/0
RT02(config-if)# description Conexion a RT03 por la GigabitEthernet0/0
RT02(config-if)# ip address 10.10.11.2 255.255.255.0
RT02(config-if)# no shutdown
RT03(config)# interface loopback 13
RT03(config-if)# ip address 11.11.13.1 255.255.255.0
RT03(config-if)# interface loopback 14
RT03(config-if)# ip address 11.11.14.1 255.255.255.0
RT03(config-if)# interface loopback 15
RT03(config-if)# ip address 11.11.15.1 255.255.255.0
RT03(config-if)# router eigrp 10
RT03(config-router)# eigrp router-id 0.0.0.3
RT03(config-router)# network 3.3.3.0 255.255.255.0
RT03(config-router)# network 11.11.13.0 255.255.255.0
RT03(config-router)# network 11.11.14.0 255.255.255.0
RT03(config-router)# network 11.11.15.0 255.255.255.0
RT03(config-router)# network 10.10.11.0 255.255.255.0
RT03(config-router)# interface GigabitEthernet0/0
RT03(config-if)# description Conexion a RT02 por la GigabitEthernet0/0
RT03(config-if)# ip address 10.10.11.3 255.255.255.0
RT03(config-if)# no shutdown
RT03# show ip eigrp neighbors
RT03# show ip route
RT03# show ip eigrp topology
RT03# ping 11.11.10.1
On RT03 the network statements use a subnet mask: EIGRP accepts a mask or a wildcard. Verification follows three steps: neighbors, D routes and the topology table. Without summarization, each /24 travels on its own and RT03 can ping RT01’s networks.
On RT02, 11.11.10–12 are learned via 10.10.10.1, on the left, and 11.11.13–15 via 10.10.11.3, on the right. No problem yet, because each prefix arrives from its own side.
Two successors that do not exist
First, auto-summary on RT01 only. RT02 learns 11.0.0.0/8 with administrative distance 90 and metric 130816, via 10.10.10.1. If you do the math with the default values: the minimum bandwidth is 1 Gbps (107/106 = 10) and the delays add up to 501 tens of µs, 1 for the Gigabit link and 500 for the loopback. (10 + 501) × 256 = 130816.
Pings still work toward both sides thanks to the longest match rule: for 11.11.13.1, RT02 finds the /24 that comes from RT03, more specific than the /8. Only when nothing matches does the router fall back to a default route.
Then the boss shows up: “Jesús, don’t advertise all those routes, summarize”. auto-summary on RT03 too.
RT01(config)# router eigrp 10
RT01(config-router)# auto-summary
RT02# show ip route
! D 11.0.0.0/8 [90/130816] via 10.10.10.1
RT03(config)# router eigrp 10
RT03(config-router)# auto-summary
RT02# show ip eigrp topology
! 11.0.0.0/8: 2 successors, via 10.10.10.1 and via 10.10.11.3
RT02# ping 11.11.10.1
RT02# ping 11.11.11.1
! some pings answer, others return unreachable
RT02’s topology table shows something that looks wonderful: 11.0.0.0/8 with two successors. Both neighbors advertise the same summary with the same computed distance, so RT02 installs both and load-balances at equal cost.
But it is false. Behind RT01, 300 km away, are the IP telephony customers; behind RT03, 500 km away, the cloud computing and Internet customers. They are not the same destination. The pings prove it: some answer and others return unreachable, because each packet leaves through one of the two paths and, sometimes, it is the wrong one.
Two identical summaries make RT02 believe it has two paths to the same destination. Diagram: The House of Routing.
And RT03 no longer reaches RT01’s networks. It has its own 11.0.0.0/8 summary to Null0, so anything that starts with 11 and is not local gets dropped there.
EIGRP is doing exactly its job. This is routing by rumor: RT02 computes with what its neighbors tell it. RT01 says “send me everything in 11” and RT03 says the same. With the same reported distance and the same local distance, the computed distance is identical. The PDM hands both successors to the RIB and the routing table accepts them.
ECMP and maximum-paths
Why does the table accept two routes? Because equal-cost load balancing (ECMP) is on by default in IOS. In the lab, show ip protocols showed a maximum of 4 paths, and the command accepts 1 to 32.
RT02# show ip protocols
! Maximum path: 4
RT02# configure terminal
RT02(config)# router eigrp 10
RT02(config-router)# maximum-paths ?
! <1-32>
RT02(config-router)# maximum-paths 1
RT02(config-router)# do show ip route
! a single path for 11.0.0.0/8
RT02(config-router)# interface GigabitEthernet0/1
RT02(config-if)# shutdown
RT02(config-if)# do show ip route
! 11.0.0.0/8 now via 10.10.11.3
RT02(config-if)# no shutdown
! the route stays via 10.10.11.3: same cost, no reason to move
With maximum-paths 1, RT02 keeps a single route for 11.0.0.0/8, via 10.10.10.1. Now every network on RT01 answers and none on RT03: 11.11.13.1, 14.1 and 15.1 return unreachable.
When Gi0/1, the interface toward RT01, goes down, the route moves to 10.10.11.3. When it comes back up, the route does not return: it stays through RT03. With equal costs, the router has no reason to change. With different costs, the best path would take its place back.
The load balancing was right for the computation and wrong for the topology. maximum-paths 1 fixes nothing; it only chooses which half of the network you lose.
The fix: no auto-summary and a redesign
The quick fix is no auto-summary on RT01 and RT03. RT02 receives each /24 from its real neighbor again and everything answers.
RT01(config)# router eigrp 10
RT01(config-router)# no auto-summary
RT01(config-router)# do wr
RT03(config)# router eigrp 10
RT03(config-router)# no auto-summary
RT03(config-router)# do wr
RT02# show ip route
! the six /24 networks are back, each one through its real neighbor
But that solves the exercise, not the real-life problem. The real problem is solved by design:
- Move one of the two ends to a different major network.
- Or place the transit segments, RT01–RT02 and RT02–RT03, inside a scheme that allows summarization. Transit networks only connect routers; what matters are the end segments.
The rule is CCNA material, yet it gets broken in production all the time: if you subnet 192.168.1.0, keep its subnets together behind a router that can summarize them. Design hierarchically, with VLSM and CIDR, which work with prefixes rather than classes, just like IPv6.
Jesús speaks from experience: a big part of a network’s cost is not the hardware, it is the engineering hours that bad addressing burns, such as offices with the same segments that someone later wants to join over VPN.
Up next: summarizing in binary
With the discontiguous networks closed, the next exercise begins. RT01 gets three more loopbacks, with 30.10.10.1, 30.10.11.1 and 30.10.12.1, all /24, advertised in AS 10. RT02 and RT03 receive them: an Update carries topology information across the whole network.
RT01(config)# interface loopback 30
RT01(config-if)# ip address 30.10.10.1 255.255.255.0
RT01(config-if)# interface loopback 31
RT01(config-if)# ip address 30.10.11.1 255.255.255.0
RT01(config-if)# interface loopback 32
RT01(config-if)# ip address 30.10.12.1 255.255.255.0
RT01(config-if)# router eigrp 10
RT01(config-router)# network 30.10.10.0 0.0.0.255
RT01(config-router)# network 30.10.11.0 0.0.0.255
RT01(config-router)# network 30.10.12.0 0.0.0.255
RT02# show ip route
RT03# show ip route
Suppose RT02 sits in the core and wants everything summarized. You summarize on the interface that faces the neighbor, RT01’s Gi0/0, with ip summary-address eigrp 10 followed by the network and the mask. But which summary?
The first two octets, 30.10, are the same. The one that changes is the third: 10, 11 and 12. In binary, 00001010, 00001011 and 00001100. The first five bits match, 00001, so the most specific summary is 16 + 5 = /21: 30.10.8.0/21. In class, Jesús also draws the /20, 30.10.0.0/20, and the wide one, 30.10.0.0/16, which leaves room for future networks.
Summarizing means trimming the mask to the left until all the bits are equal. Diagram: The House of Routing.
If 30.10.16.0 (00010000) were added, only three bits would be common and the summary would drop to /19. If an exam asks you to “summarize on the most specific bits”, trim to the left until everything is equal. Chapter 7 applies the summary on the interface.
Class videos
These are the five videos that open Day 2 of the marathon, recorded live with Cisco routers in GNS3. The audio is in Spanish, with subtitles in Spanish, English, French and Portuguese.
- Day 2 · Part 1Day 2 agenda, DUAL review and the start of the summarization labWatch video
- Day 2 · Part 2auto-summary in EIGRP: the Null0 route and a smaller tableWatch video
- Day 2 · Part 3Discontiguous networks: network 11 on both sides and two false successorsWatch video
- Day 2 · Part 4Pings that fail because of bad IP design: ECMP and maximum-pathsWatch video
- Day 2 · Part 5no auto-summary and the binary math of manual summarizationWatch video
Recorded live; Spanish audio with Spanish, English, French and Portuguese subtitles. When you play it, the video loads from YouTube. Day 2 playlist on YouTube
Test what you learned
1. You enable auto-summary on RT01 and routes to Null0 appear. What are they for?
Answer. They record the summary in the topology table and the routing table. If traffic arrives for a subnet of the summary that does not exist, it is dropped at Null0 instead of causing a loop.
2. What is a discontiguous network and why does it break auto-summary?
Answer. Subnets of the same major network separated by a different major network. With auto-summary, both ends advertise the same classful summary and the router in the middle thinks it is a single destination.
3. RT02 has two successors for 11.0.0.0/8. Why does it accept both in the routing table?
Answer. Because they have the same computed distance and ECMP is on by default in IOS (in the lab, up to 4 paths). The PDM hands both to the RIB.
4. With maximum-paths 1, you shut and re-enable the link the route was using. Does the route go back to that link?
Answer. No. Both routes cost the same, so the router keeps the one it has. Only a lower cost would make it change.
5. What is the most specific summary of 30.10.10.0/24, 30.10.11.0/24 and 30.10.12.0/24?
Answer. 30.10.8.0/21. In the third octet, 10, 11 and 12 share the first five bits (00001): 16 + 5 = 21.
Key takeaways
- Today
auto-summaryis disabled by default;show ip protocolsconfirms it. - When it summarizes, the router installs the summary to Null0 to prevent loops, and neighbors get fewer routes without losing reachability.
- A discontiguous network plus
auto-summarycreates two false successors: the computation is right, the topology is not. - ECMP is on by default;
maximum-pathslimits the paths but does not fix bad design. no auto-summarysolves the lab; hierarchical addressing solves the network.- To summarize by hand, find the common bits and trim the mask to the left: 30.10.10–12.0 fits in 30.10.8.0/21.
Official resources
- Cisco · IP Routing: EIGRP Configuration Guide (route summarization, load balancing)cisco.com
- Cisco IOS IP Routing: EIGRP Command Reference · auto-summarycisco.com
- Cisco IOS IP Routing: EIGRP Command Reference · ip summary-address eigrp, networkcisco.com
- Cisco · Enhanced Interior Gateway Routing Protocol (white paper)cisco.com
- RFC 7868 · Cisco's Enhanced Interior Gateway Routing Protocol (EIGRP)rfc-editor.org
Source and credits. Chapter written from the EIGRP Masterclass that Jesús Espinoza recorded live in 2022. Text drafted with AI assistance and reviewed; original diagrams by The House of Routing. Technical data and configuration were checked against official Cisco documentation and IETF RFC 7868.