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

Redistribute EIGRP into OSPF

aacj231210
Level 1
Level 1

---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

Mohamed Sobair
Level 7
Level 7

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

View solution in original post

9 Replies 9

shivlu jain
Level 5
Level 5

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

regards

shivlu

thanks

should i adjust the metric?

Istvan_Rabai
Level 7
Level 7

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

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.

Hi Yin,

Thanks for the clarification.

Cheers:

Istvan

Mohamed Sobair
Level 7
Level 7

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

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

Istvan_Rabai
Level 7
Level 7

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

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: