In real scenarios, a condition can occur where an organization routes are using more than one routing protocol (EIGRP, OSPF or RIP).Also, static or default routing are being used. Now, the routes learned by one means (dynamic or static routing) should be redistributed to other means (dynamic routing protocol).This process is called Redistribution. For example, If a router is operating EIGRP at one interface and RIP at other then the routes learned by EIGRP should be redistribute in RIP. I would think configuring a static default route and advertising it into EIGRP with network 0.0.0.0 or redistributing static routes into EIGRP would do the trick. Either that, or configuring a classful network on the EIGRP ASBR to be the default network via ip default-network X.X.X.X. Hope this helps.
Task 1
Configure EIGRP in AS 100 on both routers and advertise their directly connected networks.
Configure EIGRP in AS 100 on both routers and advertise their directly connected networks.
Task 2
Configure R1 to inject a default route into the EIGRP routing domain.
Configure R1 to inject a default route into the EIGRP routing domain.
____________________________________________________________________________
Task 1
Configure EIGRP in AS 100 on both routers and advertise their directly connected networks.
Configure EIGRP in AS 100 on both routers and advertise their directly connected networks.
R1(config)#router eigrp 100
R1(config-router)#netw 1.1.1.0 0.0.0.0
R1(config-router)#netw 12.1.1.1 0.0.0.0
R1(config-router)#
R1(config-router)#
R1(config-router)#netw 1.1.1.0 0.0.0.0
R1(config-router)#netw 12.1.1.1 0.0.0.0
R1(config-router)#
R1(config-router)#
R2(config)#router eigrp 100
R2(config-router)#netw 2.2.2.2 0.0.0.0
R2(config-router)#netw 12.1.1.2 0.0.0.0
R2(config-router)#
*Aug 2 09:28:24.082: %DUAL-5-NBRCHANGE: EIGRP-IPv4 100: Neighbor 12.1.1.1 (Serial1/1) is up: new adjacency
R2(config-router)#
R2(config-router)#netw 2.2.2.2 0.0.0.0
R2(config-router)#netw 12.1.1.2 0.0.0.0
R2(config-router)#
*Aug 2 09:28:24.082: %DUAL-5-NBRCHANGE: EIGRP-IPv4 100: Neighbor 12.1.1.1 (Serial1/1) is up: new adjacency
R2(config-router)#
R1#sh ip route eigrp | b Gat
Gateway of last resort is not set
Gateway of last resort is not set
D 2.0.0.0/8 [90/2297856] via 12.1.1.2, 00:01:14, Serial1/1
R1#
R1#
_____________________________________________________________________________
Task 2
Configure R1 to inject a default route into the EIGRP routing domain.
Configure R1 to inject a default route into the EIGRP routing domain.
Option #1
One way to inject a default route into EIGRP is to configure a static default route pointing to Null0 and then redistribute the default route into EIGRP. When redistributing a static, connected, or EIGRP route for another AS, the metric does not need to be assigned. The default route will be an external EIGRP route.
R1(config)#ip route 0.0.0.0 0.0.0.0 null0
R1(config)#do sh ip route | i Null
S* 0.0.0.0/0 is directly connected, Null0
R1(config)#router eigrp 100
R1(config-router)#redistrib static
R1(config-router)#
R1(config)#do sh ip route | i Null
S* 0.0.0.0/0 is directly connected, Null0
R1(config)#router eigrp 100
R1(config-router)#redistrib static
R1(config-router)#
R2#sh ip route eigrp | B Gat
Gateway of last resort is 12.1.1.1 to network 0.0.0.0
Gateway of last resort is 12.1.1.1 to network 0.0.0.0
D*EX 0.0.0.0/0 [170/2169856] via 12.1.1.1, 00:02:42, Serial1/1
R2#
R2#
R2#sh ip eigrp topo 0.0.0.0/0
EIGRP-IPv4 Topology Entry for AS(100)/ID(2.2.2.2) for 0.0.0.0/0
State is Passive, Query origin flag is 1, 1 Successor(s), FD is 2169856
Descriptor Blocks:
12.1.1.1 (Serial1/1), from 12.1.1.1, Send flag is 0x0
Composite metric is (2169856/256), route is External
Vector metric:
Minimum bandwidth is 1544 Kbit
Total delay is 20000 microseconds
Reliability is 0/255
Load is 1/255
Minimum MTU is 1500
Hop count is 1
Originating router is 1.1.1.1
External data:
AS number of route is 0
External protocol is Static, external metric is 0
Administrator tag is 0 (0x00000000)
Exterior flag is set
R2#
EIGRP-IPv4 Topology Entry for AS(100)/ID(2.2.2.2) for 0.0.0.0/0
State is Passive, Query origin flag is 1, 1 Successor(s), FD is 2169856
Descriptor Blocks:
12.1.1.1 (Serial1/1), from 12.1.1.1, Send flag is 0x0
Composite metric is (2169856/256), route is External
Vector metric:
Minimum bandwidth is 1544 Kbit
Total delay is 20000 microseconds
Reliability is 0/255
Load is 1/255
Minimum MTU is 1500
Hop count is 1
Originating router is 1.1.1.1
External data:
AS number of route is 0
External protocol is Static, external metric is 0
Administrator tag is 0 (0x00000000)
Exterior flag is set
R2#
Command To Redistribute Static Route In Eigrp
Option #2
The second method for injecting a default route into EIGRP is to configure a network command with 0.0.0.0. You must have the static default route configured; otherwise, with network 0.0.0.0, all existing and future directly connected interfaces will be advertised in the configured AS. The default route will be an internal EIGRP route.
R1(config-router)#do sh run | i ip route
ip route 0.0.0.0 0.0.0.0 Null0
R1(config-router)#no redistrib stat
R1(config-router)#netw 0.0.0.0
R1(config-router)#
ip route 0.0.0.0 0.0.0.0 Null0
R1(config-router)#no redistrib stat
R1(config-router)#netw 0.0.0.0
R1(config-router)#
R2#sh ip route | b Gat
Gateway of last resort is 12.1.1.1 to network 0.0.0.0
Gateway of last resort is 12.1.1.1 to network 0.0.0.0
D* 0.0.0.0/0 [90/2169856] via 12.1.1.1, 00:00:20, Serial1/1
D 1.0.0.0/8 [90/2297856] via 12.1.1.1, 00:00:20, Serial1/1
2.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 2.0.0.0/8 is directly connected, Loopback0
L 2.2.2.2/32 is directly connected, Loopback0
12.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 12.1.1.0/24 is directly connected, Serial1/1
L 12.1.1.2/32 is directly connected, Serial1/1
R2#
D 1.0.0.0/8 [90/2297856] via 12.1.1.1, 00:00:20, Serial1/1
2.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 2.0.0.0/8 is directly connected, Loopback0
L 2.2.2.2/32 is directly connected, Loopback0
12.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 12.1.1.0/24 is directly connected, Serial1/1
L 12.1.1.2/32 is directly connected, Serial1/1
R2#
Redistribute Bgp Into Eigrp Metric
R2#sh ip eigrp topo 0.0.0.0/0
EIGRP-IPv4 Topology Entry for AS(100)/ID(2.2.2.2) for 0.0.0.0/0
State is Passive, Query origin flag is 1, 1 Successor(s), FD is 2169856
Descriptor Blocks:
12.1.1.1 (Serial1/1), from 12.1.1.1, Send flag is 0x0
Composite metric is (2169856/256), route is Internal
Vector metric:
Minimum bandwidth is 1544 Kbit
Total delay is 20000 microseconds
Reliability is 0/255
Load is 1/255
Minimum MTU is 1500
Hop count is 1
Originating router is 1.1.1.1
Exterior flag is set
R2#
EIGRP-IPv4 Topology Entry for AS(100)/ID(2.2.2.2) for 0.0.0.0/0
State is Passive, Query origin flag is 1, 1 Successor(s), FD is 2169856
Descriptor Blocks:
12.1.1.1 (Serial1/1), from 12.1.1.1, Send flag is 0x0
Composite metric is (2169856/256), route is Internal
Vector metric:
Minimum bandwidth is 1544 Kbit
Total delay is 20000 microseconds
Reliability is 0/255
Load is 1/255
Minimum MTU is 1500
Hop count is 1
Originating router is 1.1.1.1
Exterior flag is set
R2#
Option #3
Cisco Redistribute Static Route Into Eigrp
The third method for injecting a default route into EIGRP is to configure the ip summary-address eigrp interface-configuration command. With this command, you are summarizing all Class A, B, and C networks. This means that you are suppressing every route in your routing table, but if you must advertise a specific network, you must leak it. The default route will be an internal EIGRP route.
R1(config-router)#no netw 0.0.0.0
R1(config-router)#no ip route 0.0.0.0 0.0.0.0 null 0
R1(config)#int s1/1
R1(config-if)#ip summary-add eigrp 100 0.0.0.0 0.0.0.0
R1(config-if)#
*Aug 2 09:45:34.868: %DUAL-5-NBRCHANGE: EIGRP-IPv4 100: Neighbor 12.1.1.2 (Serial1/1) is resync: summary configured
R1(config-if)#
R1(config-router)#no ip route 0.0.0.0 0.0.0.0 null 0
R1(config)#int s1/1
R1(config-if)#ip summary-add eigrp 100 0.0.0.0 0.0.0.0
R1(config-if)#
*Aug 2 09:45:34.868: %DUAL-5-NBRCHANGE: EIGRP-IPv4 100: Neighbor 12.1.1.2 (Serial1/1) is resync: summary configured
R1(config-if)#
R2#sh ip route eigrp | b Gat
Gateway of last resort is 12.1.1.1 to network 0.0.0.0
Gateway of last resort is 12.1.1.1 to network 0.0.0.0
D* 0.0.0.0/0 [90/2681856] via 12.1.1.1, 00:00:38, Serial1/1
R2#sh ip eigrp topo 0.0.0.0/0
EIGRP-IPv4 Topology Entry for AS(100)/ID(2.2.2.2) for 0.0.0.0/0
State is Passive, Query origin flag is 1, 1 Successor(s), FD is 2681856
Descriptor Blocks:
12.1.1.1 (Serial1/1), from 12.1.1.1, Send flag is 0x0
Composite metric is (2681856/2169856), route is Internal
Vector metric:
Minimum bandwidth is 1544 Kbit
Total delay is 40000 microseconds
Reliability is 255/255
Load is 1/255
Minimum MTU is 1500
Hop count is 1
Originating router is 1.1.1.1
Exterior flag is set
R2#
EIGRP-IPv4 Topology Entry for AS(100)/ID(2.2.2.2) for 0.0.0.0/0
State is Passive, Query origin flag is 1, 1 Successor(s), FD is 2681856
Descriptor Blocks:
12.1.1.1 (Serial1/1), from 12.1.1.1, Send flag is 0x0
Composite metric is (2681856/2169856), route is Internal
Vector metric:
Minimum bandwidth is 1544 Kbit
Total delay is 40000 microseconds
Reliability is 255/255
Load is 1/255
Minimum MTU is 1500
Hop count is 1
Originating router is 1.1.1.1
Exterior flag is set
R2#
Option #4
The fourth method of injecting a default route is to use ip default-network. In this method, R1 is injecting a candidate default, and the candidate route must be advertised to R2.
R1(config-router)#ip default-netwo 1.0.0.0
R1(config)#router eigrp 100
R1(config-router)#netw 1.0.0.0
R1(config-router)#
R1(config)#router eigrp 100
R1(config-router)#netw 1.0.0.0
R1(config-router)#
R2(config-router)#do sh ip route eigrp
Codes: L – local, 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, H – NHRP, l – LISP
a – application route
+ – replicated route, % – next hop override
Codes: L – local, 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, H – NHRP, l – LISP
a – application route
+ – replicated route, % – next hop override
Gateway of last resort is not set
D* 1.0.0.0/8 [90/2297856] via 12.1.1.1, 00:00:08, Serial1/1
R2(config-router)#
R2(config-router)#
Redistribute Static Routes Into Eigrp
Note The network specified must be a classful network, meaning that it cannot be a subnetted network; it must be a major network (either Class A, B, or C).
Redistribute Static Command
The asterisk next to the letter D means “candidate default.” This means that if R2 doesn’t have the route it needs to reach in its routing table, it will use the candidate default (in this case, network 1.0.0.0). Because R1 was the router that advertised network 1.0.0.0/8 to R2, R2 will use R1 to reach that network.