1. Description
Floating static routing is a special static route that provides a backup route by configuring a static route that is larger than the primary route, which ensures that the main route in the network fails. But in the case where the primary route exists it does not come out of the routing table. Primarily used for backup of ISP lines. The permanent feature is that static routes are permanently present in the routing table, even if the interface is closed.
2. Simulation experiment
A, experimental topology
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M00/73/8E/wKiom1YA-hGjtPx5AABTf9XjqZQ995.jpg "height=" 121 "/>
B. Description
From 192.168.1.0/24 to the 2.2.2.0/24 there are two lines, the default to follow the telecommunications line, when the telecommunications line failure, automatically switch to the CRC line. Implement redundancy for your ISP.
C. Configure static routes
R1 (config) #ip Route 2.2.2.0 255.255.255.0 s1/0 12.1.1.2 2 Permanent
R1 (config) #ip Route 2.2.2.0 255.255.255.0 f0/0 12.2.2.2
D. View the routing table to find the configuration is successful
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M01/73/8E/wKiom1YA-hXg0P3sAAGHpXqhK-E952.jpg "height=" 188 "/>
E, verify that when the telecommunications line failure, whether to switch to the CRC line. R1 f0/0 shutdown to see the results.
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M02/73/8E/wKiom1YA-hrD2A0xAAGrSXJJWb0691.jpg "height=" 197 "/>
F, verify the persistent characteristics of the static route, turn off s1/0, verify that the route still exists.
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/73/8E/wKioL1YBBV-CTYmvAAMzMYjUmjk600.jpg "title=" Qq20150922152838.jpg "alt=" Wkiol1ybbv-ctymvaamzmyjumjk600.jpg "/>
G, Summary
By modifying the administrative distance of static routes, you can implement redundant backups of the routes. Redundancy commonly used in ISP links.
This article is from "Xiao Qiang" blog, please be sure to keep this source http://zouqq.blog.51cto.com/8314092/1697098
Floating and persistent characteristics of advanced static routes (II)