From: Sridhar Vaidyanathan (vsridhar83@gmail.com)
Date: Tue Dec 18 2007 - 21:01:45 ART
Hi Tarun,
But the problem is the the AD needs to be changed only for a particular
route and not all others. That route is learned through multiple paths
through the same routing protocol i.e. OSPF. I am using router-id of the
router R3 (as shown in my previous mail) for matching the source ip address.
The LSA database was checked and found that the route is learned from
Router-ID of both R1 and R3.
I lab'd it and found that the AD changes for the route learned from both the
paths. Is it that the distance command only works when you need to prefer
the route learned from one routing protocol over the other. If that is the
case, how can solve the problem mentioned?
I have seen scenarios in Internetwork expert labs, where redistributing
mutual redistribution between OSPF and EIGRP on multiple routers, distance
command effectively works to prefer EIGRP External routes to be preferred
over OSPF routes, in the routers doing the redistribution.
Regards,
Sridhar.
On Dec 17, 2007 3:05 AM, Tarun Pahuja <pahujat@gmail.com> wrote:
> Sridhar,
> Use the distance command without the access-list. If you have
> access to Jeff Doyle Volume 1 second edition, the concept is explained on
> page 723.
>
> Router ospf 1
> distance 80 3.3.3.3 0.0.0.0
>
> HTH,
> Tarun
>
>
>
>
> On 12/16/07, Sridhar Vaidyanathan <vsridhar83@gmail.com> wrote:
>
> > Hi Scott,
> >
> > Following is a scenario, which I have asked before but couldn't find a
> > suitable reply.
> >
> > EIGRP OSPF
> > ----------R1-----------R2
> > EIGRP OSPF |
> > ----------R3------------|
> >
> > Both R1 and R3 is redistributing EIGRP routes into OSPF. R3 would load
> > balance across the 2 routers to reach EIGRP routes assuming that R1 and
> > R3
> > are passing the EIGRP routes with metric-type of E2 and an equal metric.
> >
> > I am using DISTANCE command at R2 to match the route which should be
> > preferred via R3. The route is being learned from both R1 and R3 as
> > mutual
> > redistribution has been configured between OSPF and EIGRP on both R1 and
> > R3.
> > I am also using the source ip address as the router-id of the R3 in the
> > distance command. Below is the configuration on R2
> >
> > router ospf 1
> > distance 80 3.3.3.3 0.0.0.0 1 (Where 3.3.3.3 is the router-id of R3)
> >
> > access-list 1 permit 192.168.1.0 0.0.0.255
> >
> > This however, is not working. The above configuration changes the AD for
> > both the routes from both R1 and R3.
> >
> > Please help me in understanding and solving this.
> >
> >
> > Thanks,
> > Sridhar.
> >
> > _______________________________________________________________________
> > Subscription information may be found at:
> > http://www.groupstudy.com/list/CCIELab.html
This archive was generated by hypermail 2.1.4 : Tue Jan 01 2008 - 12:04:31 ARST