cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1289
Views
5
Helpful
9
Replies

Route redistribution into EIGRP

morialpesh008
Level 1
Level 1

Hi,

    Under OSPF default-information originate option is available for propagate default route, and it use default AD of OSPF 110

so my question is how to propagate default route into EIGRP? i have redistribute default route into EIGRP using redistribute eigrp 1 static command but when i verify routing table it show default route as external route and AD is 170, then why it takes 170 not 90? is there any other way to propagate default route into EIGRP.

thanks.

9 Replies 9

Hello,

use the 'ip summary-address' command on an interface to propagate the default route into EIGRP.

Here is an example:

R1

interface FastEthernet0/0
ip address 192.168.10.9 255.255.255.248
ip summary-address eigrp 1 0.0.0.0 0.0.0.0

R2#sh ip route
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
+ - replicated route, % - next hop override

Gateway of last resort is 192.168.10.9 to network 0.0.0.0

D* 0.0.0.0/0 [90/30720] via 192.168.10.9, 00:00:06, FastEthernet0/0

Hi Georg,

     First i let you know what i want kindly see the below scenario,

I want to divert all my traffic of OSPF&EIGRP to ISP router, which connected with EIGRP topology, so what configuration i done to do this.

as per your post i have configure ip summary route 0.0.0.0 0.0.0.0 on router2 gig0/0 which has connect with ISP router but default route not show in router R1 and R0 router, show the routing table of R2 and R2,

and what does mean by gateway of last resort in your post i does 192.168.10.9 but in my case why it is 0.0.0.0?

R2 routing table 

Router#show ip route

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, E - EGP

i - IS-IS, 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 0.0.0.0 to network 0.0.0.0

10.0.0.0/24 is subnetted, 1 subnets

D EX 10.0.0.0/24 [170/2172416] via 20.0.0.1, 00:00:02, Serial0/0/0

20.0.0.0/8 is variably subnetted, 2 subnets, 2 masks

C 20.0.0.0/24 is directly connected, Serial0/0/0

L 20.0.0.2/32 is directly connected, Serial0/0/0

50.0.0.0/32 is subnetted, 1 subnets

D 50.0.0.1/32 [90/2297856] via 20.0.0.1, 00:00:01, Serial0/0/0

100.0.0.0/24 is subnetted, 1 subnets

D EX 100.0.0.0/24 [170/2172416] via 20.0.0.1, 00:00:02, Serial0/0/0

200.0.0.0/24 is variably subnetted, 2 subnets, 2 masks

C 200.0.0.0/24 is directly connected, GigabitEthernet0/0

L 200.0.0.1/32 is directly connected, GigabitEthernet0/0

D* 0.0.0.0/0 is a summary, 00:00:04, Null0

Routing table of R1

Router#sh ip route

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, E - EGP

i - IS-IS, 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 not set

10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks

C 10.0.0.0/24 is directly connected, Serial0/0/0

L 10.0.0.2/32 is directly connected, Serial0/0/0

20.0.0.0/8 is variably subnetted, 2 subnets, 2 masks

C 20.0.0.0/24 is directly connected, Serial0/0/1

L 20.0.0.1/32 is directly connected, Serial0/0/1

50.0.0.0/32 is subnetted, 1 subnets

C 50.0.0.1/32 is directly connected, Loopback0

100.0.0.0/24 is subnetted, 1 subnets

O 100.0.0.0/24 [110/65] via 10.0.0.1, 00:57:43, Serial0/0/0

D 200.0.0.0/24 [90/2170112] via 20.0.0.2, 00:00:18, Serial0/0/1

thanks.

Hello,

you need to configure the default route on Serial0/0 of Router2.

Try this

 

1) Configure an EIGRP summary on Router 2 interface Serial0/0/0

interface serial0/0/0

 ip summary-address eigrp 1 0.0.0.0 0.0.0.0

 

2) The EIGRP summary route will be propagated to Router 1. Configure Router 1 to advertise a default route into the OSPF domain using default-information originate. Make sure that this command is only configured on Router 1 and not Router 0

router ospf 1

 default-information originate

 

Check that Router 0 receives the default route with a next-hop IP address of 10.0.0.2.

Hi willwetherman ,

    After configure default-information originate on Router R1 under OSPF domain default route come in effect into OSPF domian,

Thanks willwetherman!!!

Hi,

When you are redistributing any prefix the protocol is assuming  that the prefix is known through other protocol or static routing, that is the reason you will see the external EIGRP AD (170), As was mentioned previously you can use:

ip summary-address eigrp <process id> <summary network> <mask> <Administrative distance>

it will install a subnet pointing to null0 by default and with AD of 5, it is for a loop prevention. 

Router#sh 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 0.0.0.0 to network 0.0.0.0

2.0.0.0/24 is subnetted, 1 subnets
C 2.2.2.0 is directly connected, FastEthernet0/0
10.0.0.0/24 is subnetted, 1 subnets
C 10.1.1.0 is directly connected, FastEthernet0/1
11.0.0.0/32 is subnetted, 1 subnets
C 11.11.11.10 is directly connected, Loopback11
D* 0.0.0.0/0 is a summary, 00:00:02, Null0
Router#

Router#
Router#sh ip route 0.0.0.0
Routing entry for 0.0.0.0/0, supernet
Known via "eigrp 1", distance 5, metric 281600, candidate default path, type i nternal
Redistributing via eigrp 1
Routing Descriptor Blocks:
* directly connected, via Null0
Route metric is 281600, traffic share count is 1
Total delay is 1000 microseconds, minimum bandwidth is 10000 Kbit
Reliability 255/255, minimum MTU 1500 bytes
Loading 1/255, Hops 0

Router#




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

Hi,

    okey i create summary route on router interface and it is showing in routing table with null0, but it showing only in EIGRP domain not uunder OSPF domain,

while create default route on router and redistribute into OSPF using command default-information originate is showing in both domain OSPF and EIGRP.

why that's happening? why EIGRP default route will not come effect into OSPF domain?

thanks.

Hello,

post the Packet Tracer file (you need to ZIP it to upload), that makes it easier to follow along...

Hi,

   Here is attachment of packet tracer file.

Review Cisco Networking for a $25 gift card