Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Attention: The Community will be in read-only mode on 12/14/2017 from 12:00 am pacific to 11:30 am.

During this time you will only be able to see content. Other interactions such as posting, replying to questions, or marking content as helpful will be disabled for few hours.

We apologize for the inconvenience while we perform important updates to the Community.

New Member

Redistribution eigrp-ospf

Hi,

Here is the simple  scenario

R0---> serial link 192.168.1.0 /30  EIGRP----->R1 serial link ---> 192.168.1.4 /30 OSPF area 0 -----> R2

R0 is connected to R1 on serial link with subnet 192.168.1.0 /30 EIGRP neighbor relationship formed ( no -auto-summary configured )

R1 is connected to R2  on serial link with subnet 192.168.1.4 /30 OSPF area 0 neighbor relationship formed.

No other networks are published in any of the routers.

So far there are no routes learned either by EIGRP or by OSPF all are connected routers.

on R1 we redistributed ospf into eigrp and vice-a-versa

router eigrp 10

redistribute ospf 11 metric 2000 0 255 1 1500

network 192.168.1.0 0.0.0.3

no auto-summary

!

router ospf 11

log-adjacency-changes

redistribute eigrp 10 subnets

network 192.168.1.4 0.0.0.3 area 0

The routing tables on R0 it shows only connected network

Gateway of last resort is not set

     192.168.1.0/30 is subnetted, 1 subnets
C       192.168.1.0 is directly connected, Serial1/0

It do not show the 192.168.1.4 /30 subnet, on this subnet OSPF is enabled on R1 

now if we see the R2 router routing table :

     192.168.1.0/30 is subnetted, 2 subnets
O E2    192.168.1.0 [110/20] via 192.168.1.5, 00:20:46, Serial1/0
C       192.168.1.4 is directly connected, Serial1/0
Router#

It shows the 192.168.1.0 /30 subnet on which Eigrp is enabled on R1.

Why is it so that only one subnet is getting redistribued into OSPF, why OSPF enabled interface subnet is not getting redistributed in EIGRP? 

But  subnets in OSPF on  router R2 ,  are appearing in R0 routing table, redistribution is working ok for all subnets except the

connected subnet 192.168.1.4 /30.

Please share the experience.

Thanks

Subodh

7 REPLIES
Cisco Employee

Re: Redistribution eigrp-ospf

Does your R0 has no auto-summary?

If you can post the routing config for both R0 and R2, that will be great.

Regards,

jerry

New Member

Re: Redistribution eigrp-ospf

Hi,

R0 is running OSPF so auto summary is not configured on R0.

I just dont believe myself,  I reloaded all three routers and it is working now.

I can see all the routes on R0

Gateway of last resort is not set

     192.168.1.0/30 is subnetted, 2 subnets
C       192.168.1.0 is directly connected, Serial1/0
D EX    192.168.1.4 [170/2169856] via 192.168.1.2, 00:00:06, Serial1/0 ( this route was not showing up in the routing table )
Router#

Thanks

Subodh

Cisco Employee

Re: Redistribution eigrp-ospf

Your description on the original post lead me to believe your R0 is running EIGRP

R0---> serial link 192.168.1.0 /30  EIGRP----->R1 serial link  ---> 192.168.1.4 /30 OSPF area 0 -----> R2

Please clarify.

Regards,

jerry

New Member

Re: Redistribution eigrp-ospf

Hi Jeye,

Sorry for that,

On RO and R1 "no auto-summary"  is configured in EIGRP Process and for R2 it is OSPF so no need for that.

But my problem is resolved for now after reloading.

Thanks

subodh

Cisco Employee

Re: Redistribution eigrp-ospf

Okay. Good to know.

Regards,

jerry

New Member

Re: Redistribution eigrp-ospf

Hi Jeye,

I have some another questions on Route-maps used for route-filtering. Well I am able to do get my intended results but I am still confused about the logic used by route-maps when used for redistribution.

I had earlier posted my route-map redistribution results i got the answer also but still could not get the logic.

I will be posting it again.

Thanks again

Subodh

Cisco Employee

Re: Redistribution eigrp-ospf

Okay, just post whatever you don't understand. Someone here will help you understand it.

Regards,

jerry

442
Views
0
Helpful
7
Replies
CreatePlease to create content