Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

Redistribute EIGRP into OSPF

---R1----R2-----R3----

I got 3 routers, R1/R2 ran OSPF,and R2/R3 ran EIGRP, now, there're lot of routes that just like 192.168.(1~10).0/24 come from R1,i wanna redistribute these routes into EIGRP process on R2.but now ,they require that the 192.168.2.0/24and 192.168.5.0 must be filtrated.but can not use " distribute-list" and "route-map"

what should i do?

thanks advance!!

:)

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Redistribute EIGRP into OSPF

Hi,

you can acheive this by hyring the delay under the Eigrp process using (Offset-list) for the specific prefix.

example:

(offset-list 10 in 10000 ethernet 0)

access-list 10 permit 192.168.1.0 0.0.0.255

This would eleminate a route from being installed in Eigrp Topolgy table as a successor or a feasible successor.

In the above I gave it high delay (In Microsecond) value in order not to be considered.

Let us know if this acheived the requirement.

HTH

Mohamed

9 REPLIES
Silver

Re: Redistribute EIGRP into OSPF

Dear you can mark the routes with tages during redistribution and then drop the tags on the other routers.

regards

shivlu

New Member

Re: Redistribute EIGRP into OSPF

thanks

should i adjust the metric?

Re: Redistribute EIGRP into OSPF

Hi Yin,

The "can not use distribute-list and route-map" may have the meaning that you don't know how to use them, this is why here's some explanation from me:

It is fairly simple to do this with a distribute list like this:

access-list 1 deny 192.168.2.0 0.0.0.255

access-list 1 deny 192.168.5.0 0.0.0.255

access-list 1 permit any

Configuration under the routing process:

router eigrp 10

redistribute ospf 20 metric x x x x x

distribute-list 1 out ospf 20

Under the redistribute command the x x x x x means bandwidth, delay, reliability, load, and mtu. These configure the metric for routes redistributed into EIGRP.

You should configure these values, otherwise the metric will be 0 and no routes will be redistributed into EIGRP.

The access-list 1 and distribute-list 1 will filter out the desired routes from the redistributed routes.

Cheers:

Istvan

New Member

Re: Redistribute EIGRP into OSPF

Istvan

thanks for your reply,

The meaning of "can not use distribute-list and route-map" is the topic requires that the "distribute-list" and the " route-map" must not appear in my configuration.

Re: Redistribute EIGRP into OSPF

Hi Yin,

Thanks for the clarification.

Cheers:

Istvan

Re: Redistribute EIGRP into OSPF

Hi,

you can acheive this by hyring the delay under the Eigrp process using (Offset-list) for the specific prefix.

example:

(offset-list 10 in 10000 ethernet 0)

access-list 10 permit 192.168.1.0 0.0.0.255

This would eleminate a route from being installed in Eigrp Topolgy table as a successor or a feasible successor.

In the above I gave it high delay (In Microsecond) value in order not to be considered.

Let us know if this acheived the requirement.

HTH

Mohamed

New Member

Re: Redistribute EIGRP into OSPF

thanks for your reply

using offset-list must adjust the metric to 2147483647,

before i adjust the metric

R3's eigrp topology table

P 192.168.9.1/32, 1 successors, FD is 284160

via 1.1.23.2 (284160/281600), FastEthernet1/0

P 192.168.8.1/32, 1 successors, FD is 284160

via 1.1.23.2 (284160/281600), FastEthernet1/0

P 192.168.10.1/32, 1 successors, FD is 284160

via 1.1.23.2 (284160/281600), FastEthernet1/0

P 192.168.1.1/32, 1 successors, FD is 284160

via 1.1.23.2 (284160/281600), FastEthernet1/0

P 192.168.3.1/32, 1 successors, FD is 284160

via 1.1.23.2 (284160/281600), FastEthernet1/0

P 192.168.2.1/32, 1 successors, FD is 284160

via 1.1.23.2 (284160/281600), FastEthernet1/0

P 192.168.5.1/32, 1 successors, FD is 284160

via 1.1.23.2 (284160/281600), FastEthernet1/0

P 192.168.4.1/32, 1 successors, FD is 284160

via 1.1.23.2 (284160/281600), FastEthernet1/0

P 192.168.7.1/32, 1 successors, FD is 284160

via 1.1.23.2 (284160/281600), FastEthernet1/0

P 192.168.6.1/32, 1 successors, FD is 284160

via 1.1.23.2 (284160/281600), FastEthernet1/0

configuration:

R2:

access 10 permit 192.168.2.0 0.0.0.255

access 10 permit 192.168.5.0 0.0.0.255

router eigrp 1

redistribute ospf 1 metric 10000 100 255 1 1500

offset-list 10 out 2147483647 f1/0

R3

access 10 permit 192.168.2.0 0.0.0.255

access 10 permit 192.168.5.0 0.0.0.255

router eigrp 1

offset-list 10 in 2147483647 f1/0

Result

R3's eigrp topology table

P 192.168.9.1/32, 1 successors, FD is 284160

via 1.1.23.2 (284160/281600), FastEthernet1/0

P 192.168.8.1/32, 1 successors, FD is 284160

via 1.1.23.2 (284160/281600), FastEthernet1/0

P 192.168.10.1/32, 1 successors, FD is 284160

via 1.1.23.2 (284160/281600), FastEthernet1/0

P 192.168.1.1/32, 1 successors, FD is 284160

via 1.1.23.2 (284160/281600), FastEthernet1/0

P 192.168.3.1/32, 1 successors, FD is 284160

via 1.1.23.2 (284160/281600), FastEthernet1/0

P 192.168.4.1/32, 1 successors, FD is 284160

via 1.1.23.2 (284160/281600), FastEthernet1/0

P 192.168.7.1/32, 1 successors, FD is 284160

via 1.1.23.2 (284160/281600), FastEthernet1/0

P 192.168.6.1/32, 1 successors, FD is 284160

via 1.1.23.2 (284160/281600), FastEthernet1/0

now the subnet 192.168.2.0 and 192.168.5.0 are

eliminated in the topology table.

thanks again for your reply

Re: Redistribute EIGRP into OSPF

Hi Yin,

I found another simple solution for you:

On R2, where redistribution takes place, you can do the following config:

access-list 1 permit 192.168.2.0 0.0.0.255

access-list 1 permit 192.168.5.0 0.0.0.255

router ospf 1

distance 255 0.0.0.0 255.255.255.255 1

Raising the admin distance of the selected routes to 255 will filter the required routes from the routing table of R2.

In the routing table will be only 192.168.1.0 - 192.168.10.0 except 192.168.2.0 and 192.168.5.0.

EIGRP will of course redistribute only routes that are in the routing table and learned by OSPF.

I tried this on a living config and it works.

Cheers:

Istvan

New Member

Re: Redistribute EIGRP into OSPF

i'll take a try for your project

by the way , thanks for your attention this topic,can i make friends with you? my MSN:

cj231514@hotmail.com, and you also can send E-mail to this mailbox.

thanks again

422
Views
5
Helpful
9
Replies
CreatePlease to create content