To pass the Cisco CCNA and CCNP certification exams, besides becoming a world-class networker, you need to know how and when to use mobile static routes. And if you're wondering what makes them "float" – read on!
In this example, R1 and R2 are running OSPF over a Frame Relay network, 172.12.123.0 / 24. Are also connected by a BRI ISDN link, 172.12.12.0 / 24. R1 is advertising a loopback network, 1.1.1.1 / 32, via OSPF. We want R2 to have a route to that loopback even though theframe goes down – and here, we will use a floating static route to make that happen.
R2 sees the route to the loopback interface via OSPF, and can ping that interface successfully.
R2 # show ip route OSPF
Subnet is 1.0.0.0/32, 1 subnets
O 1.1.1.1 [110/65] via 172.12.123.1, 00:00:02, Serial0
R2 # ping 1.1.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:
!!!!!
success rate is 100 percent (5 / 5)round-trip min / avg / max = 68/68/68 ms
This is when it is important to know your distances administrative …. or at least know where to look to see them! The AD of OSPF is 110, which means that we can configure a static route to 1.1.1.1 / 32, and until the 'AD of the static route is higher than 110, will not be used unless the OSPF routing path leaves the table. That's why this type of path is called a "floating static route – the route" floats "in the routing table and can not be seen unlessthe first road left the table.
Have you learned to write a static route CCNA study, but also remember that the default AD of a static route is 1 or 0 … and both these values are less than 110! To change the AD of a static route, configure the desired distance at the end of the command ip route.
R2 (config) # ip route 1.1.1.1 BRI0 255 255 255 255?
Distance metric for this route
ABCD Forwarding router address
Name Specificationnext hop
permanent permanent route
tag Tag Set for this route
R2 (config) # ip route 1.1.1.1 BRI0 255 255 255 255 111
The static route is a listing that is one higher than the OSPF route, but this is enough to make the path to "float" and not yet seen in the routing table.
R2 # show ip route
Subnet is 1.0.0.0/32, 1 subnets
O 1.1.1.1 [110/65] via 172.12.123.1, 00:06:44, Serial0
Subnet is 172.12.0.0/24, 2 subnets
C 172.12.12.0 isdirectly connected, BRI0
C 172.12.123.0 is directly connected, Serial0
We see the effect on the routing table when the Serial0 interface is closed.
R2 (config) # int s0
R2 (config-if) # shutdown
12:04:53:% OSPF-5-ADJCHG: Process 1, NBR 172.12.123.1 on Serial0 from FULL to DOWN, Neighbor Down: Interface down or detached
12:04:55:% SYS-5-CONFIG_I: Configured from console console
12:04:55:% LINK-5-CHANGED: Interface Serial0, changed stateadministratively down
12:04:56:% LINEPROTO-5-UPDOWN: Line protocol Interface Serial0, changed state to down
R2 # show ip route
Subnet is 1.0.0.0/32, 1 subnets
S 1.1.1.1 is directly connected, BRI0
Subnet is 172.12.0.0/24, 1 subnets
C 172.12.12.0 is directly connected, BRI0
The floating static route appears in the table, but will not be until the ISDN BRI has traffic to send. Let's ping 1.1.1.1 and see what happens. Debuggingdialer is configured on R2 before sending the ping.
R2 # ping 1.1.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:
12:16:01: br0 DDR: Dialing cause ip (s = 172.12.12.2, d = 1.1.1.1)
12:16:01: DDR br0: Attempting to dial 8358661
12:16:01:% LINK-3-UPDOWN: Interface BRI0: 1, changed up.!
12:16:01: br0: 1 DDR: dialer protocol up!
success rate is 80 percent (4 / 5), round-trip min / avg / max = 36/37/40ms
The connection is active and traffic can still reach 1.1.1.1. Once R2 becomes a neighbor OSPF R1 once again, the OSPF route will again become the main road and the floating static route leaves the routing table.
R2 (config) # int s0
R2 (config-if) # no shut
R2 # show ip OSPF neighbor
Neighbor ID Pri State Dead Time Address Interface
172.12.123.1 1 FULL / DR 00:01:57 172.12.123.1 Serial0
R2 # show ip route
Subnet is 1.0.0.0/32, 1 subnets
1.1.1.1 O[110/65] via 172.12.123.1, 00:00:16, Serial0
Subnet is 172.12.0.0/24, 2 subnets
C 172.12.12.0 is directly connected, BRI0
C 172.12.123.0 is directly connected, Serial0
A floating static route is an excellent "back door", which will keep the ISDN link down while allowing that point to serve as a backup location. Just make sure the ISDN link is down when you expect that – always check with the show isdn status!
See Also : promote web chocolate fondue set blog ofads.com Compare Life Assurance Hair Removal Chicago