04-26-2021 11:21 PM
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
04-27-2021 12:30 AM - edited 04-27-2021 12:30 AM
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.
04-27-2021 01:21 AM
Hi Paul, thanks for the reply. In the routing table above, is it correct that there is no possible route?
04-27-2021 01:42 AM
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)
04-27-2021 02:17 AM - edited 04-27-2021 02:20 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide