Configuring static default routes on every device in the routed network can be cumbersome. with EIGRP you have the ability to advertise a default route. This lab will discuss and demonstrate the configuration and verification of EIGRP default route propagation.
If you’ve completed all the previous labs found in Section 8, then you have knowledgeable understanding of how to configure the Enhanced Interior Gateway Routing Protocol (EIGRP) however there is one more topic left to touch upon before moving onto OSPF which is the ability to advertise a default route using EIGRP.
If you’ve completed Configuring RIP Default Information Originate then you’ll have a good understanding of the benefits and operational concept of dynamically advertising a default route within the routed domain however; unlike RIP, EIGRP uses a two different methods commonly used to inject a default route into the EIGRP Topology table.
The first method being to advertising a 0.0.0.0/0 summary route via an interface to neighboring routers which will flag the route as the default and install it into the routing table as the gateway of last resort and the second way being to create a static route and redistribute that static route into the EIGRP autonomous system. This method will be discussed in Section 10.
In this lab you will learn to configure EIGRP to propagate the default route using a summary address on R1’s hub-and-spoke frame-relay interface. (Serial0/0). When configuring a default summary route for EIGRP, the router advertising the EIGRP default summary route will suppress any upstream routes learned and only send the default summary route to down stream neighbors. For an example; vision three routers connected via serial links in a a linear bus topology. R1 is connected to R2, then R2 is connected to R3. If you configure a default summary route on the two interfaces of R2 facing R1 and R3, when R3 advertises directly connected networks to R2, R2 will install those networks in its own routing table and only advertise a default route to R1.
However if a single edge router connecting to the internet is advertising a default route via a summary-address into EIGRP network then the default router will not be in the transit path of internal traffic thus all internal routers will have the full internal routing table.
You will use the same command as discussed in the previous lab; ip summary-address eigrp as# n.n.n.n s.s.s.s to advertise a default route from R1 to the spoke routers in the hub-and-spoke topology which include R1, R2, R3 and R4.
This lab will continue to build upon the topology previously used in Lab 8-8 and other labs found through out Section 8.
Objective 1. – Create a summary route to advertise the address of the 0.0.0.0/0 network on R1’s hub-and-spoke serial interface.
R1>enable R1#configure terminal Enter configuration commands, one per line. End with CNTL/Z. R1(config)#interface Serial0/0 R1(config-if)#ip summary-address eigrp 10 0.0.0.0 0.0.0.0 %DUAL-5-NBRCHANGE: IP-EIGRP(0) 10: Neighbor 10.80.234.4 (Serial0/0) is resync: summary configured %DUAL-5-NBRCHANGE: IP-EIGRP(0) 10: Neighbor 10.80.234.3 (Serial0/0) is resync: summary configured %DUAL-5-NBRCHANGE: IP-EIGRP(0) 10: Neighbor 10.80.234.2 (Serial0/0) is resync: summary configured R1(config-if)#end R1# %SYS-5-CONFIG_I: Configured from console by console R1#
Objective 2. – Examine the routing tables on R3 and R4 to ensure the default route is being learned from R1 as well as other routes.
R3#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 route
Gateway of last resort is 10.80.234.1 to network 0.0.0.0
10.80.0.0/8 is variably subnetted, 6 subnets, 5 masks
C 10.80.23.1/32 is directly connected, Serial0/1
C 10.80.23.0/30 is directly connected, Serial0/1
C 10.80.30.0/24 is directly connected, Loopback0
D 10.80.20.0/24 [90/2297856] via 10.80.23.1, 00:43:57, Serial0/1
D 10.122.4.0/22 [90/2297856] via 10.80.234.1, 00:41:16, Serial0/0.321
C 10.80.234.0/29 is directly connected, Serial0/0.321
D* 0.0.0.0/0 [90/2297856] via 10.80.234.1, 00:01:39, Serial0/0.321
R3#
If you examine the routing table of R3 as shown above you’ll notice that the default route 0.0.0.0/0 is being learned via 10.80.234.1 on interface Serial0/0.321 however you’ll also notice that routes that are advertised by R4 and R5 are no longer in the routing table as but you can still ping those destinations. This is due to R1 only advertising the default route to neighboring routers.
In this case, R4 advertises all its connected networks such as 10.80.40.0/24 to R1 then R1 places this route in its routing table but only advertises a default route to R2 and R3 however R2 and R3 are still able to get to R4’s networks using only the default route.
You can see from examining the routing table of R4 shown below that the same thing is occurring to R4 as it only has a default route which points to R1 and the previous more specific routes pointing towards R1 originally advertised by R2 and R3 have disappeared.
R4#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 route
Gateway of last resort is 10.80.234.1 to network 0.0.0.0
10.80.0.0/8 is variably subnetted, 7 subnets, 5 masks
D 10.80.50.0/24 [90/2297856] via 10.80.45.2, 00:51:28, Serial0/1
C 10.80.40.0/24 is directly connected, Loopback0
C 10.80.45.2/32 is directly connected, Serial0/1
C 10.80.45.0/30 is directly connected, Serial0/1
D 10.50.0.0/24 [90/2297856] via 10.80.45.2, 00:51:28, Serial0/1
D 10.122.4.0/22 [90/2297856] via 10.80.234.1, 00:48:47, Serial0/0
C 10.80.234.0/29 is directly connected, Serial0/0
D* 0.0.0.0/0 [90/2297856] via 10.80.234.1, 00:09:10, Serial0/0
R4#
If you view the EIGRP topology table on R4 you’ll notice that routes from R3 are not being advertised to R4 via R1 but instead only a default route is advertised as shown below;
R4#show ip eigrp topology
IP-EIGRP Topology Table for AS(10)/ID(10.80.40.1)
Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,
r - reply Status, s - sia Status
P 0.0.0.0/0, 1 successors, FD is 2297856
via 10.80.234.1 (2297856/128256), Serial0/0
P 10.80.50.0/24, 1 successors, FD is 2297856
via 10.80.45.2 (2297856/128256), Serial0/1
P 10.80.40.0/24, 1 successors, FD is 128256
via Connected, Loopback0
P 10.80.45.2/32, 1 successors, FD is 2169856
via Rconnected (2169856/0)
P 10.80.45.1/32, 0 successors, FD is Inaccessible
via 10.80.45.2 (2681856/2169856), Serial0/1
P 10.80.45.0/30, 1 successors, FD is 2169856
via Connected, Serial0/1
P 10.50.0.0/24, 1 successors, FD is 2297856
via 10.80.45.2 (2297856/128256), Serial0/1
P 10.122.4.0/22, 1 successors, FD is 2297856
via 10.80.234.1 (2297856/128256), Serial0/0
P 10.80.234.0/29, 1 successors, FD is 2169856
via Connected, Serial0/0
R4#
As shown above in R4’s EIGRP topology routes to 10.80.20.0/24, 10.80.30.0/24 and 10.80.23.0/30 do not exist however a route to 0.0.0.0/0 does which points to R1 which in turn has the missing routes from R4’s routing table thus the giving full ip reachability as shown below with the ping command;
R4#ping 10.80.30.1 source lo0
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.80.30.1, timeout is 2 seconds:
Packet sent with a source address of 10.80.40.1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 160/200/236 ms
R4#
The more preferred way of injecting a default route into the EIGRP topology is by redistributing a static route into EIGRP which will show up as an External EIGRP Route in the routing table as denoted by “D*EX” next to the route and having an administrative distance of 170. This method will be discussed in Section 10 – Redistribution.