Floating Static Routes: -
· A floating static route is a static route that uses to back up for a dynamic route.
· You have to configure a floating static route with a higher administrative distance value than the dynamic route.
· floating static route as a Backup route if the dynamic route is lost.
· By default, a router use static route over a dynamic route because a static route has a smaller administrative distance than a dynamic route.
Take a Look of Bellow Floating Static Route Diagram: -
Configure ip address as per this diagram: -
Configure Dynamic Routing Protocol & Static Routing also and use static route AD Higher then RIP.
R1(config)# router rip
R1(config-router) # network 10.0.0.0
R1(config-router) # network 20.0.0.0
R1(config)# ip route 30.0.0.0 255.0.0.0 f0/0 20.0.0.3 130
R2(config) # router rip
R2(config-router) # network 20.0.0.0
R2(config)# ip route 10.0.0.0 255.0.0.0 f0/0 20.0.0.1 130
R2(config)# ip route 30.0.0.0 255.0.0.0 f0/0 20.0.0.3 130
R3(config-router) # network 20.0.0.0
R3(config-router) # network 30.0.0.0
R3(config)# ip route 10.0.0.0 255.0.0.0 f0/1 20.0.0.1 140
Verify static floating routes:
RIP is working: -
R1#show ip route
C 20.0.0.0/8 is directly connected, FastEthernet0/0
C 10.0.0.0/8 is directly connected, FastEthernet0/1
R 30.0.0.0/8 [120/1] via 20.0.0.3, 00:00:18, FastEthernet0/0
30.0.0.0/8 route come throw RIP when RIP goes down then static route take place because we use static AD 130.
RIP goes down: -
R1#show ip route
C 20.0.0.0/8 is directly connected, FastEthernet0/0
C 10.0.0.0/8 is directly connected, FastEthernet0/1
S 30.0.0.0/8 [130/0] via 20.0.0.3, FastEthernet0/0
No hay comentarios:
Publicar un comentario