Warning message

  • Cisco Support Forums is in Read Only mode while the site is being migrated.
  • Cisco Support Forums is in Read Only mode while the site is being migrated.

OSPF redistribution with distance

Unanswered Question
Mar 30th, 2009
User Badges:


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 area 0 (fa0/0)

router 0.0.02 area 0 ( serial)

redistribute rip subnets

distance 140 60

access-list 60 permit

With this I was expecting that the distance learned subnet /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 ( /24 ).

Please share the experience.

Thanks in advance.


  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Laurent Aubert Mon, 03/30/2009 - 20:37
User Badges:
  • Cisco Employee,

Hi Suboth,

Distance 140 will apply only to OSPF received routes.

If I understood correctly, both R1 and R2 are connected to RIP and OSPF domain but only R2 is redistributing RIP into OSPF.

If this is the case, you should apply the distance command not on R2 but on R1 with the ACL matching the RIP subnets.




This Discussion