Recursive routing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2013 01:39 PM - edited 03-04-2019 07:15 PM
Hi all ,
I have a setup in my lab as attached in the drawing.
I was expecting to get recursive routing problem - as i used the same static route destination as the destination of the gre tunnel destination,
however i did not get any problem and the tunnel was not flapping.
Any suggestions ?
BR,
Yoram
- Labels:
-
Other Routing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2013 02:24 PM
R1 and r4 need to run ospf and learn the route to the tunnel destinations dynamically. So you need to advertise the connected networks on both R1 and r4 into the ospf process and confirm that R1 and r4 have routes to each other.
When the tunnel comes up, then the route to the tunnel destination endpoints will be via the tunnel due to the lower cost. You will then get recursive routing messages in your router console logs. You would normally use either static routes or inbound route filtering for the destination endpoints to avoid recursive routing.
Sent from Cisco Technical Support iPad App
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2013 12:24 AM
hi,
My setup is as attached as i simulated my customer's scenario.
OSPF exists only between R2 and R3 !
The rest R1 and R4 uses static routes.
I have ping between R1 and R4 .
The question is whether i should expect recursive routing in this exact scenario , where the OSPF is isolated only between
routers r2-r3 and not all the way r1-r2-r3-r4.
BR,
Yoram

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2013 11:12 AM
Hello Yoram,
I think there should not be problem with recursive routes.
I assume that static routes on both R1 and R4 point to physical interfaces. GRE tunnel should be established correctly, but to be sure, it would be helpful to post configuration of R1 and R4.
Best Regards
Please rate all helpful posts and close solved questions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2013 12:05 PM
Hello,
to avoid recursive routing.
1) don't advertise the tunnel end points in routing protocol -use statics
2) if you are going to advertise the endpoints - provide filter/high metric / cost to make the less attractive
Res
paul
Sent from Cisco Technical Support iPad App
Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.
Kind Regards
Paul
