12-05-2016 02:14 PM - edited 03-05-2019 07:37 AM
Hi all, hope everyone is well !!
I have a couple questions regarding static routes, hope someone can help. Thanks in advance !!!
1 - Let's say I have a local static default route of 0.0.0.0 0.0.0.0 pointing to 192.168.1.1 and a default learned route. What happen when 192.168.1.1 is NOT reachable ? Will the default learned route become active dynamically ? I believe this is the default behavior but I could be wrong.
2 - Let's say I have 2 static routes to the same destination network but each pointing to different next hop IP (see example below). Will the router know to load balance traffic across dynamically ?
Example:
ip route 172.16.1.0 255.255.255.0 172.16.10.20
ip route 172.16.1.0 255.255.255.0 172.16.11.20
Thanks in advance !!!
Danny
Solved! Go to Solution.
12-05-2016 02:58 PM
1. your learned route will have a higher admin distance and will not have preference over your locally defined static route with admin distance 1.
2. if there are multiple paths to the same destination, with equal admin distance and equal metrics, only the will traffic be load balanced
check this out:
http://www.cisco.com/c/en/us/support/docs/ip/border-gateway-protocol-bgp/5212-46.html
12-05-2016 02:58 PM
1. your learned route will have a higher admin distance and will not have preference over your locally defined static route with admin distance 1.
2. if there are multiple paths to the same destination, with equal admin distance and equal metrics, only the will traffic be load balanced
check this out:
http://www.cisco.com/c/en/us/support/docs/ip/border-gateway-protocol-bgp/5212-46.html
12-05-2016 03:08 PM
Hi Dennis and thanks for your reply !!!
For my question 1. So if the next hope of the local defined static route is not reachable then the default learned route will dynamically go active correct ? just want to re-confirm.
Thanks for sharing the link !!!!
Danny
12-05-2016 03:28 PM
yes, so If you have a default route distributed through for instance OSPF, it will have an admin distance of 110 and will kick in next
12-05-2016 03:30 PM
Cool, thanks Dennis !!!
Danny
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