02-29-2008 03:39 AM - edited 03-03-2019 08:55 PM
---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!!
:)
Solved! Go to Solution.
02-29-2008 09:57 AM
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
02-29-2008 05:58 AM
Dear you can mark the routes with tages during redistribution and then drop the tags on the other routers.
regards
shivlu
02-29-2008 06:26 AM
thanks
should i adjust the metric?
02-29-2008 09:10 AM
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
02-29-2008 09:29 AM
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.
02-29-2008 10:05 AM
Hi Yin,
Thanks for the clarification.
Cheers:
Istvan
02-29-2008 09:57 AM
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
02-29-2008 07:03 PM
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
02-29-2008 07:49 PM
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
02-29-2008 09:51 PM
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
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: