Cisco,CCNA,CCNP,Certification, computer Cisco CCNA / CCNP Certification Exam Tutorial: Floating St
Gone are those times when the companies and the organisations didn't need a hi-tech system to handle them. Owing to the considerable increase in the business sector and thus, an enormous increase in the complexity of the organisational struc ----------------------------------------------------------Permission is granted for the below article to forward,reprint, distribute, use for ezine, newsletter, website,offer as free bonus or part of a product for sale as longas no changes a
To pass the Cisco CCNA and CCNP certification exams, as well as becoming a world-class networker, you've got to know how and when to use floating 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. They're 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 if the frame goes down - and here, we'll 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 ospf1.0.0.0/32 is subnetted, 1 subnetsO 1.1.1.1 [110/65] via 172.12.123.1, 00:00:02, Serial0R2#ping 1.1.1.1Type 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 msThis is when it's important to know your administrative distances.... or at least know where to look to see them! The AD of OSPF is 110, which means we can configure a static route to 1.1.1.1 /32, and as long as the AD of the static route is higher than 110, it won't be used unless the OSPF route leaves the routing table. That's why this kind of route is called a "floating" static route - the route "floats" in the routing table and isn't seen unless the primary route leaves the table.You learned how to write a static route in your CCNA studies, but you also remember that the default AD of a static route is either 1 or 0... and both of those values are less than 110! To change the AD of a static route, configure the desired distance at the end of the ip route command.R2(config)#ip route 1.1.1.1 255.255.255.255 bri0 ?<1-255> Distance metric for this routeA.B.C.D Forwarding router's addressname Specify name of the next hoppermanent permanent routetag Set tag for this routeR2(config)#ip route 1.1.1.1 255.255.255.255 bri0 111The static route has an AD that's only one higher than that of the OSPF route, but that's enough to make the route "float" and not yet be seen in the routing table.R2#show ip route1.0.0.0/32 is subnetted, 1 subnetsO 1.1.1.1 [110/65] via 172.12.123.1, 00:06:44, Serial0172.12.0.0/24 is subnetted, 2 subnetsC 172.12.12.0 is directly connected, BRI0C 172.12.123.0 is directly connected, Serial0Let's see the effect on the routing table when the Serial0 interface is closed.R2(config)#int s0R2(config-if)#shutdown12:04:53: %OSPF-5-ADJCHG: Process 1, Nbr 172.12.123.1 on Serial0 from FULL to DOWN, Neighbor Down: Interface down or detached12:04:55: %SYS-5-CONFIG_I: Configured from console by console12:04:55: %LINK-5-CHANGED: Interface Serial0, changed state to administratively down12:04:56: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to downR2#show ip route1.0.0.0/32 is subnetted, 1 subnetsS 1.1.1.1 is directly connected, BRI0172.12.0.0/24 is subnetted, 1 subnetsC 172.12.12.0 is directly connected, BRI0The floating static route appears in the table, but the ISDN link will not come up until the BRI interface has traffic to send. Let's ping 1.1.1.1 and see what happens. debug dialer was configured on R2 before sending the ping.R2#ping 1.1.1.1Type 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: BR0 DDR: Attempting to dial 835866112:16:01: %LINK-3-UPDOWN: Interface BRI0:1, changed state to up.!!12:16:01: BR0:1 DDR: dialer protocol up!!Success rate is 80 percent (4/5), round-trip min/avg/max = 36/37/40 msThe link comes up and traffic can still reach 1.1.1.1. Once R2 becomes an OSPF neighbor of R1 again, the OSPF route will again become the primary path and the floating static route leaves the routing table.R2(config)#int s0R2(config-if)#no shutR2#show ip ospf neighborNeighbor ID Pri State Dead Time Address Interface172.12.123.1 1 FULL/DR 00:01:57 172.12.123.1 Serial0R2#show ip route1.0.0.0/32 is subnetted, 1 subnetsO 1.1.1.1 [110/65] via 172.12.123.1, 00:00:16, Serial0172.12.0.0/24 is subnetted, 2 subnetsC 172.12.12.0 is directly connected, BRI0C 172.12.123.0 is directly connected, Serial0A floating static route is an excellent "back door" that will keep the ISDN link down while allowing that link to serve as a backup route. Just make sure the ISDN link comes down when you expect it to - always check that with show isdn status! Article Tags: Floating Static Routes, Floating Static Route, Directly Connected Bri0, Cisco Ccna, Ccnp Certification, Floating Static, Static Routes, Isdn Link, Static Route, 1111 110/65, Ospf Route, Route Leaves, Routing Table, Route 1000/32, Directly Connected, Connected Bri0, Changed State
Cisco,CCNA,CCNP,Certification,