cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1141
Views
0
Helpful
6
Replies

GRE Tunnel Down

korbenda11as
Level 1
Level 1

say I have site A,B,C,D. connection A and B is my primary link, connection C and D is my secondary. Im running OSPF. I created GRE tunnels end-to-end. If I shut my primary connection Im expecting to route my traffic to secondary. I saw traffic going to secondary, however, my GRE tunnels went down. Why? Do I need to increase the cost of my primary even though I already shuts the link?

6 Replies 6

globalnettech
Level 5
Level 5

Hello Oliver,

can you post the configs of your routers ? It would be interesting to know what the tunnel source and destination addresses are. Also, why do you have a GRE tunnel configured i your setup ?

Regards,

GNT

In addition to the request from GNT to see the configuration I think it would be helpful to see the output of show ip route when the tunnels are up (and perhaps also when you have the primary shut down).

I suspect that the issue is that with the primary shut down the router does not have a viable path to the tunnel destination. In IOS a GRE tunnel will be up if the router has a viable route to the tunnel destination and will be down if the router does not have a viable route to the tunnel destination.

This does not necessarily mean that GRE depends on end to end connectivity. The GRE tunnel will come up if the router has a route that it believes will get to the destination. There might be a problem in the network which prevents end to end connectivity but the tunnel will be up if the router has a route to the destination. If you want to check end to end connectivity Cisco has introduced a feature of GRE keepalives which is an optional feature in configuring GRE. If you configure GRE keepalives it will check for end to end connectivity and the GRE tunnel will go protocol down if it does not have end to end connectivity.

HTH

Rick

HTH

Rick

Hi

Are you using route maps for the secondary path associated with access-lists or Floating static route?

Config will be required to troubleshoot

Thanks

Deepak

yes i saw a route map command on our router. what does this mean?

match metric 62 55 82 104 44 what does the nos. mean here?

The route-maps may be defining the destination address for your tunnel interface if keepalives are not detected for GRE tunnel

The match metric command seems to be matching the EIGRP metric

Are you also using EIGRP along with OSPF or redistributing the EIGRP routes into your ospf domain?

As posted earlier configs would help

HTH

Narayan

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card