Re: Redistribution

From: Fred Ingham (fningham@xxxxxxxxxxxxxxxx)
Date: Sun Jul 18 1999 - 13:00:34 GMT-3


   
The metric under rip in the redistribute command should be a rip metric
(hops) so 120 is not a valid metric. Use default-metric 2, for
instance. Under ospf you do not need to specify the default-metric, the
default default-metric is 20. If you want 120 as the metric for rip
routes you need to specify default-metric 120 under the ospf process.
The distribute-list commands as you specified are applied out, think out
of rip into ospf and out of ospf into rip.

If the router is connected in a network with other routers running
ospf/rip you should check that split-horizon is on (sh ip int ___). And
for rip do a debug ip rip to see routes being broadcast.

Bill Carter wrote:
>
> I need some clarification on distribution list in redistribution.
>
> int s0
> Description Rip_Domain
> ip address 150.100.101.2 /24
>
> int s1
> Description OSPF_Domain
> ip address 150.100.100.2 /24
>
> router rip
>> redistribute ospf 1 metric 2 !!!
> network 150.100.0.0
>>distribute-list 2 out ospf 1 !!!
> passive-interface s1
>
> router ospf 1
>> redistribute rip subnets metric 120 !!!
> network 150.100.100.0 0.0.0.255 area 0
>>distribute-list 1 out rip !!!
> passive-interface s0
>
> access-list 1 permit 150.100.101.0 0.0.0.255
> access-list 2 permit 150.100.100.0 0.0.0.255
>
> I want to insure that only 150.100.101.0 is redistributed into OSPF from
> RIP, and 150.100.100.0 from RIP into OSPF.
>
> What is the syntax of the distribute-list commands I want. Which
> routing process and in/out?
>
> --
> ~~~~~~~~~~~~~~~~~~~~~~~~
> Bill Carter
>
> Favorite Quote
> "bodega stuck again... "
> -Cisco Bug CSCdk37204
> ~~~~~~~~~~~~~~~~~~~~~~~~
>



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 08:21:42 GMT-3