RE: Gotcha on Redistribute Connected

From: Tom Qian (toqian@cisco.com)
Date: Wed Jul 09 2003 - 13:12:34 GMT-3


I did not see the metric for the redistributed rip routes...

At 11:58 AM 7/9/2003 -0400, Jonathan V Hays wrote:
> > -----Original Message-----
> > From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On
> > Behalf Of Jeongwoo Park
> > Sent: Wednesday, July 09, 2003 11:28 AM
> > To: lab
> > Subject: Gotcha on Redistribute Connected
> >
> >
> > Hi, all
> > Here is the layout where the "redistribute connected" got me.
> >
> > R1-----ospf------R2-lo 0
> > |
> > rip
> > |
> > R3
> >
> > What I did was that I redistributed the connected network
> > (loopback network)
> > into ospf with route-map only for the loopback network like this.
> > router ospf 1
> > router-id 2.2.2.2
> > log-adjacency-changes
> > summary-address 170.100.20.0 255.255.255.0
> > redistribute connected subnets route-map c2o
> > redistribute rip subnets
> > network 170.100.124.0 0.0.0.255 area 0
> > !
> > route-map c2o permit 10
> > match ip address 1
> > !
> > access-list 1 permit 170.100.20.0 0.0.0.7
> >
> > Now, I redistribute rip into ospf on R2.
> >
> > The problem is that R1 can't see the rip network.
> >
> > What I think is the gotcha is that when R2 redistribute
> > "Connected" with
> > route-map, it filtered the rip network, because the rip network is the
> > connected network as well from the R2's stand point.
> >
> > Am I saying right or I am tripping?
> >
> > Please let me know what I am doing wrong here.
> >
> > Thanks,
> >
> > JP
>
>Would you please provide the complete config and routing tables? You
>have not included the configuration lines that give the IP addresses for
>the loopback interface and the RIP interface.
>
>BTW, unless the problem requires you to treat the loopback interface as
>a subnet, a much better way to redistribute connected interfaces is as
>follows:
>
>redistribute connected subnets route-map c2o
>!
>route-map c2o
> match interface Loopback0
>
>You could even match several interfaces:
>
> match interface Loopback1 Loopback2 Loopback3
>
>
>_______________________________________________________________________
>You are subscribed to the GroupStudy.com CCIE R&S Discussion Group.
>
>Subscription information may be found at:
>http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Wed Aug 06 2003 - 06:52:30 GMT-3