I am facing problem with redistribution in ospf from RIP.
Router under consideration (R1) is running RIP and OSPF. OSPF on serial 1 and RIP on serial 2. When OSPF neighbor is configured for RIP to ospf redistribution, naturally all routes are learned by OSPF with admin distance 110 (ospf external ).
Now while redistributing RIP into OSPF I made the distance of these routes as 140 ( more that RIP distance as 120).
On router R2 ( which has neighbor relatioship with R1)
router ospf 100
router 10.1.1.0 0.0.0.255 area 0 (fa0/0)
router 172.16.1.0 0.0.02 area 0 ( serial)
redistribute rip subnets
distance 140 0.0.0.0 255.255.255.255 60
access-list 60 permit 18.104.22.168 0.0.0.255
With this I was expecting that the distance learned subnet 22.214.171.124 /24 will be set to 140 and accordingly will be redistributed. but it didnt happen it still learn the path form OSPF. Finally I used route maps and filtered out (126.96.36.199 /24 ).
Please share the experience.
Thanks in advance.