Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Recursive Routing

Hello, How to avoid Recursive Routing on GRE Tunnel over ipsec

5 REPLIES
Cisco Employee

Re: Recursive Routing

You can use static route for the tunnel destination, and/or more specific network statements, and/or distribute-list.

Example to use static route:

http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a0080094690.shtml#solution

Regards,

jerry

New Member

Re: Recursive Routing

This hold good for One Tunnel between Hub&Spoke.

How to avoid recursive routing where multiple tunnels from spoke points to central hub on same router with different service providers.

Cisco Employee

Re: Recursive Routing

You can do multiple static routes or distribute-list. It is about the same amount of commands.

For distribute-list, you can do something like this, the example is in EIGRP

router eigrp xx

distribute-list prefix TUNNEL_DEST in tunnel y

!

ip prefix TUNNEL_DEST seq 5 deny a.a.a.a/32

ip prefix TUNNEL_DEST seq 10 deny b.b.b.b/32

ip prefix TUNNEL_DEST seq 100 perm 0.0.0.0/0 le 32

However, filtering routes will be very tricky with OSPF.

HTH,

jerry

Hall of Fame Super Bronze

Re: Recursive Routing

Agreed with Jerry. You can also use the WAN facing interface of each endpoint which most likely won't be part of the routing protocol used on the tunnel.

The concept is that the destination IP for the tunnel can't be learned via the tunnel.

It must be learned via the WAN facing interface of such device.

Regards

Edison.

New Member

Re: Recursive Routing

Edison,

Agreed to use WAN Interface if its one Tunnel from Hub to Spoke.

Good example of weird scenario already posted on forum, which could be my upcoming concern.

More than one tunnels from Hub points to spoke on same router with different service providers. Spoke Wan interface would be same but HUB with multiple service provider would be with different WAN Interface.

525
Views
0
Helpful
5
Replies