EIGRP supports numerous ways to dynamically advertise the gateway or network of last resort to other routers within the routing domain. These methods are as follows:
- Using the ip default-network command
- Using the network command to advertise network 0.0.0.0/0
- Redistributing the default static route
- Using the ip summary-address eigrp [asn] [network] [mask] command
The use to the ip default-network command is considered a legacy method of advertising the default route dynamically using EIGRP. However, because it is still supported in current IOS software versions, it is worth mentioning.
The ip default-network configuration command flags a network as the default network by inserting an asterisk (*) next to the network in the routing table. Traffic for destinations to which there is no specific routing table entry is then forwarded by the router to this network. The implementation of this feature is illustrated referencing the EIGRP topology in Figure 2-12:
Fig. 2-12. EIGRP Default Routing
Referencing Figure 2-12, assume that the 200.10.10.0/24 subnet is connected to the Internet. This subnet resides off the FastEthernet0/0 interface of R1. R1 and R2 are in turn connected via a back-to-back Serial connection. Both routers reside in EIGRP AS 150. To flag the 200.10.10.0/24 network as the network of last resort, the following configuration is implemented on R1:
| R1(config)#router eigrp 150 R1(config-router)#network 200.10.10.0 0.0.0.255 R1(config-router)#exit R1(config)#ip default-network 200.10.10.0 R1(config)#exit |
Based on this configuration, R2 receives 200.10.10.0/24 as the network of last resort as follows:
| R2#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 150.2.2.1 to network 200.10.10.0D* 200.10.10.0/24 [90/2172416] via 150.2.2.1, 00:01:03, Serial0/0 150.1.0.0/24 is subnetted, 1 subnets C 150.1.1.0 is directly connected, Serial0/0 |
The network command can be used to advertise an existing static default route point to either a physical or logical interface, typically the Null0 interface.
NOTE: The Null0 interface is a virtual interface on the router that discards all traffic that is routed to it. It you have a static route pointing to Null0, all traffic destined for the network specified in the static route is simply discarded. Think of the Null0 interface as a black-hole: packets enter, but none ever leave. It is essentially a bit-bucket on the router.
Referencing the diagram in Figure 2-12, the use of the network command in conjunction with an existing default static route is illustrated in the following configuration on R1:
| R1(config)#ip route 0.0.0.0 0.0.0.0 FastEthernet 0/0 R1(config)#router eigrp 150 R1(config-router)#network 0.0.0.0 R1(config-router)#exit |
Based on this configuration, the IP routing table on R2 shows the following:
| R2#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 150.1.1.1 to network 0.0.0.0D 200.10.10.0/24 [90/2172416] via 150.1.1.1, 00:01:11, Serial0/0 150.1.0.0/24 is subnetted, 1 subnets C 150.1.1.0 is directly connected, Serial0/0 D* 0.0.0.0/0 [90/2172416] via 150.1.1.1, 00:00:43, Serial0/0 |
Although route redistribution will be covered in detail later in this guide, the third method of advertising a default route via EIGRP is to redistribute the existing static default route into EIGRP using the redistribute static metric [bandwidth] [delay] [reliability] [load] [MTU] router configuration command. The same network topology used in the first two examples will be used to illustrate the implementation of this method:

Fig. 2-13. EIGRP Default Routing Continued
Referencing Figure 2-13, which is the same as Figure 2-12, the following is performed on R1:
| R1(config)#ip route 0.0.0.0 0.0.0.0 FastEthernet0/0 R1(config)#router eigrp 150 R1(config-router)#redistribute static metric 100000 100 255 1 1500 R1(config-router)#exit |
NOTE: The values used in the metric can be derived from the interface or you can specify any values that you want when using this command.
Based on this configuration, the routing table on R2 shows the following:
| R2#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 150.1.1.1 to network 0.0.0.0150.1.0.0/24 is subnetted, 1 subnets C 150.1.1.0 is directly connected, Serial0/0 D*EX 0.0.0.0/0 [170/2195456] via 150.1.1.1, 00:01:16, Serial0/0 |
Because the route was redistributed into EIGRP on R1, it is an external EIGRP route as reflected in the output above. For external routes, the EIGRP Topology Table includes information such as the router that originated the route, the protocol the route was received for, and the metric of the external route, for example. This is illustrated in the following output:
| R2#show ip eigrp topology 0.0.0.0/0 IP-EIGRP (AS 150): Topology entry for 0.0.0.0/0 State is Passive, Query origin flag is 1, 1 Successor(s), FD is 2195456 Routing Descriptor Blocks: 150.1.1.1 (Serial0/0), from 150.1.1.1, Send flag is 0x0 Composite metric is (2195456/51200), Route is External Vector metric: Minimum bandwidth is 1544 Kbit Total delay is 21000 microseconds Reliability is 255/255 Load is 1/255 Minimum MTU is 1500 Hop count is 1 External data: Originating router is 1.1.1.1 AS number of route is 0 External protocol is Static, external metric is 0 Administrator tag is 0 (0x00000000) Exterior flag is set |
From the information in bold, we can determine that the default route is a static route that was redistributed into EIGRP on R1. This route has a metric of 0. In addition to this, we can also determine that the EIGRP Router ID (RID) of R1 is 1.1.1.1.
The final method of advertising the default route is by using the ip summary-address eigrp [asn] [network] [mask] interface configuration command. EIGRP route summarization will be described in detail later in this chapter. For the moment, concentrate your focus on the use of this command to advertise the default route when using EIGRP.
Referencing the network topology diagram illustrated in Figure 2-12, R1 is configured with the ip summary-address eigrp [asn] [network] [mask] interface configuration command to advertise the default route to R2 as follows:
| R1(config)#interface serial 0/0 R1(config-if)#description ‘Back-to-Back Serial Connection To R2 Serial0/0’ R1(config-if)#ip summary-address eigrp 150 0.0.0.0 0.0.0.0 R1(config-if)#exit |
The primary advantage to using this command is that a default route or network does not need to exist in the routing table in order for EIGRP to advertise network 0.0.0.0/0 to its neighbor routers. When this command is issued, the local router generates a summary route to the Null0 interface and flags the entry as the candidate default route. This is illustrated below:
| 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 0.0.0.0 to network 0.0.0.0150.1.0.0/24 is subnetted, 1 subnets C 150.1.1.0 is directly connected, Serial0/0 D* 0.0.0.0/0 is a summary, 00:02:26, Null0 |
The summary route is received as an internal EIGRP route on R2 as illustrated below:
| R2#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 150.1.1.1 to network 0.0.0.0150.1.0.0/24 is subnetted, 1 subnets C 150.1.1.0 is directly connected, Serial0/0 D* 0.0.0.0/0 [90/2297856] via 150.1.1.1, 00:03:07, Serial0/0 |