cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
582
Views
10
Helpful
4
Replies

Next best route if static route fails.

rakuten02
Level 1
Level 1

If the static route is down, will it immediately use default route and then fail as there are no suitable routes?  Or will it still attempt to search for possible routes before using default route?

I filtered all routes for 162.102.x.x IP segments.

static route:
ip route 162.102.113.21 255.255.255.255 177.20.3.29 name Tunnel749

 

Gateway of last resort is 162.0.0.0 to network 0.0.0.0
...
D 162.102.111.0/24 [90/1280512] via 162.102.110.154, 1w1d, Tunnel749
[90/1280512] via 162.102.110.150, 1w1d, Tunnel748
D 162.102.112.0/24 [90/1280512] via 162.102.110.210, 5d01h, Tunnel746
[90/1280512] via 162.102.110.166, 5d01h, Tunnel717
S 162.102.113.4/30 [1/0] via 177.20.3.29
S 162.102.113.8/30 [1/0] via 177.20.3.29
S 162.102.113.12/30 [1/0] via 177.20.3.29
S 162.102.113.21/32 [1/0] via 177.20.3.29
S 162.102.121.60/30 [1/0] via 177.20.3.21
S 162.102.121.64/30 [1/0] via 177.20.3.21
S 162.102.121.68/30 [1/0] via 177.20.3.21
S 162.102.121.72/30 [1/0] via 177.20.3.21
S 162.102.121.90/32 [1/0] via 177.20.3.21
D 162.102.140.0/24 [90/1280512] via 162.102.110.182, 5d02h, Tunnel502
[90/1280512] via 162.102.110.110, 5d02h, Tunnel508

4 Replies 4

Hello
If the interface of the static route nexthop fails the static route itself will not be entered in the route table, as such the route will perform a lookup for an alternative path, the most specific, if it doesn’t find one it will try use the default route, if there is no other specific route or default route then it will drop the packet.


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

Hi Paul, thanks for the reply. In the routing table above, is it correct that there is no possible route?

If the specific route fails due the reasons mentioned by @paul , then it will use last resort to go out 162.0.0.0 (if this also fails, Traffic will be black hole)

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Hello


@rakuten02 wrote:

static route:
ip route 162.102.113.21 255.255.255.255 177.20.3.29 name Tunnel749

 

Gateway of last resort is 162.0.0.0 to network 0.0.0.0
...
D 162.102.111.0/24 [90/1280512] via 162.102.110.154, 1w1d, Tunnel749
[90/1280512] via 162.102.110.150, 1w1d, Tunnel748
D 162.102.112.0/24 [90/1280512] via 162.102.110.210, 5d01h, Tunnel746
[90/1280512] via 162.102.110.166, 5d01h, Tunnel717
S 162.102.113.4/30 [1/0] via 177.20.3.29
S 162.102.113.8/30 [1/0] via 177.20.3.29
S 162.102.113.12/30 [1/0] via 177.20.3.29
S 162.102.113.21/32 [1/0] via 177.20.3.29
S 162.102.121.60/30 [1/0] via 177.20.3.21
S 162.102.121.64/30 [1/0] via 177.20.3.21
S 162.102.121.68/30 [1/0] via 177.20.3.21
S 162.102.121.72/30 [1/0] via 177.20.3.21
S 162.102.121.90/32 [1/0] via 177.20.3.21
D 162.102.140.0/24 [90/1280512] via 162.102.110.182, 5d02h, Tunnel502
[90/1280512] via 162.102.110.110, 5d02h, Tunnel50


I dont see any alternative route or default applied so if you lose the static route traffic for host 162.102.113.21 will fail


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
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