From: sameer shah (sameer_ccie@xxxxxxxxxxx)
Date: Wed Apr 10 2002 - 04:25:34 GMT-3
Hi Arun
The simplest way to achieve this could be as follows, instead of creating
route-map, yes but in case you need to have different metrics for different
loopback then you should go for route-map
Also both the solutions are correct. But 2nd one is more works towards
performance tunning by reducing routing table size.
R2:
router ospf 1
redistribute eigrp 90 subnets metric 100
Regards
Sameer
----- Original Message -----
From: Arun Upadhyay <asunny_s@comcast.net>
To: <ccielab@groupstudy.com>
Sent: Monday, April 08, 2002 5:45 PM
Subject: Redistribution between EIGRP and OSPF
> 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 are
> 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 EIGRP.
> 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 interfaces
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:58:03 GMT-3