From: Arun Upadhyay (asunny_s@xxxxxxxxxxx)
Date: Mon Apr 08 2002 - 09:15:21 GMT-3
Hi Guys
I need help about my solution for this lab.
Here is my requirement.
Router R1 and R2 are connected through serial interface and R2 and R3 a
re
also connected through serial interfaces.
IP on S0 of R1 is 172.16.100.1
IP on S0 of R2 is 172.16.100.2
IP on S1 of R2 is 172.16.146.2
IP on S0 of R3 is 172.16.146.3
Router R1 and R2 are running OSPF and router R2 and R3 are running EIGR
P.
Router R3 is having five loopback interface
L1, L2, L3, L4 and L5 with ip's 172.16.32.1, 172.16.33.1, 172.16.34.1,
172.16.35.1 and 172.16.36.1 respectively.
R1-----------------------R2--------------------------R3
I want to have Router R1 to be able to see all routes of Router R3 and
Router R3 should be able to see all routes of router R1.
But router R1 should see only one routes of all Loopback interfaces and
that route should be advertise with metric of 100.
Here is what I am doing on router R2 for redistribution.
router ospf 1
network 172.16.100.0 0.0.0.255 area 0
redistribute connected subnets
redistribute eigrp 1 subnets route-map metric
summary-address 172.16.32.0 255.255.248.0
router eigrp 1
network 172.16.0.0
passive-interface serial 1
redistribute ospf 1 metric 10000 100 255 1 1500
no auto-summary
access-list 10 permit 172.16.32.0 0.0.7.255
route-map metric permit 10
match ip address 10
set metric 100
route-map metric permit 20
Using this solution it works fine. I am able to ping Loopback interface
s on
router R3. My question is , Is this the right solution for this scenario.
Also, Can I also do like this for the same problem ?
Router R3.
interface serial 0
ip summary-address 172.16.32.0 255.255.248.0
router eigrp 1
network 172.16.0.0
Router R2
router ospf 1
network 172.16.100.0 0.0.0.255 area 0
redistribute connected subnets
redistribute eigrp 1 subnets route-map metric
router eigrp 1
network 172.16.0.0
passive-interface serial 1
redistribute ospf 1 metric 10000 100 255 1 1500
no auto-summary
access-list 10 permit 172.16.32.0 0.0.7.255
route-map metric permit 10
match ip address 10
set metric 100
route-map metric permit 20
Thanks in advance for all your suggestions.
Arun
This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:57:59 GMT-3