TCPmag.com for Cisco Internetworking Professionals Thursday, September 02, 2010  
Search:
Advanced Search        
-- advertisement --
  Resources
  Articles
  Community
.. Home .. International .. Q & A Answers


 
print article printable format
e-mail article e-mail to a friend
comment on the newscomment on article

More Q & A
read... Video Killed the Data Stream
read... Distance Training with IS-IS
read... Theory, Reality and Total T-1 Bandwidth
read... 'Area 257' De-Classified
read... Follow That Packet!
read... Back-to-Back Connections and ADSL
read... Split-Scope DHCP Servers
read... VRRP Implementation

Q & A Archive


Q & A

Floating Static vs. Dynamic Routing Protocol

by Scott Morris

Question:

September 23, 2003

Hello Scott,

This may be a dumb question, but I have a triangle connection using point to point 128k serial lines. What’s a triangle connection, you ask? Let’s say you have a connection from NY to DC and from DC to Atlanta, and finally from Atlanta to NY. Each are 128k point to point connections. My headquarters is in NY.

My question: When a connection from point A to point B goes down, how does the router pass traffic to the other path? I've tried to make it work, but right now all it does is load balancing, which does make my connections faster, but provides no fault tolerance.

Thanks.

-- Manuel Couverthie
Puerto Rico

Answer:

Manuel,

Well, I’m assuming that since you’re experiencing load balancing at the moment, you have solved the problem using static routes.

-- advertisement (story continued below) --

With static routes, there will be two “equal cost” paths and your router will load balance between them. You can engineer your “preferred” choices by setting a different administrative distance on separate routes. For example:

Ip route 10.1.0.0 255.255.0.0 10.0.1.1
Ip route 10.1.0.0 255.255.0.0 10.0.1.2

This will cause you to have two directions to go in order to reach the 10.1.0.0 network and will load balance between them.

Ip route 10.1.0.0 255.255.0.0 10.0.1.1
Ip route 10.1.0.0 255.255.0.0 10.0.1.2 10

This, on the other hand will assign an administrative distance of 10 to the second route. Static routes by default have an AD of 1, and the lower the AD, the more preferred the route is. So in this method, your router will route all 10.1.0.0 traffic to the first router. This is called a floating static route.

So what happens if the first router goes away? Nothing -- because you manually told the router where to send things.

Let me clarify things a little further before people jump up and down about this one! Notice that I put the destinations on the same subnet! If you have two separate layer 3 links (separate sub-interfaces if you are running Frame Relay PVCs), then you could, indeed, have some failover that way.

Being on two separate interfaces, if a physically connected interface goes down, the router would know that it couldn’t route out that direction; therefore, the second route would enter the routing table.

So if you had:

Ip route 10.1.0.0 255.255.0.0 serial 0/0.1
Ip route 10.1.0.0 255.255.0.0 serial 0/0.2 10

then you would find some failover there if the PVC representing Serial 0/0.1 went away.

You can also use a dynamic routing protocol to learn about networks automatically. You would then always have the “best path” in your routing table no matter what the status of your physical links. All routing protocols have some sort of shortest-path or lowest-cost or best-choice algorithm to help you weigh all the options available.

Note that with either of these options (floating static or dynamic routing protocol), you will have only one route to that network represented in your routing table at any one point in time. It would represent the best path or best choice to that destination.

In the grand scheme of things, it’s better to run a routing protocol and let your router handle the decisions like it’s supposed to! Especially as your company/network may grow, you would find that administering a series of static routes would become quite cumbersome and often outdated. And you generally don’t realize this until something breaks!

Hope that helps.

-- Scott

Send your toughest CCIE-level technical questions to editor@tcpmag.com.
Scott Morris, quadruple CCIE, JNCIE and all-around uber-geek, can often be seen traveling around the world consulting and delivering CCIE training. He recently accepted a new Senior CCIE Instructor position with Internetwork Expert! For more information on him check out http://www.uber-geek.net or for CCIE training check out http://www.internetworkexpert.com. You can contact Scott via editor@tcpmag.com. You can contact Scott about "Floating Static vs. Dynamic Routing Protocol " at editor@tcpmag.com.

Current TCPmag.com user comments for "Floating Static vs. Dynamic Routing Protocol "
10/5/04 - Anonymous says: Is there some way to use floating static routes or a dynamic routing protocol to set a timeout so that the router does not send traffic to the less preferred route until after a certain point in time (example 30 seconds after a failure then fail over to the less preferred route)
12/15/06 - Anonymous from Honolulu says: The floating vs dynamic is a great piece; however, with the advent of DSL, it may not necessarily work - i.e. even though a DSL circuit goes down, the connection between the router and the DSL modem is still active. I've tried to do something similiar with dual DSL circuits but to no avail yet - comments?
10/11/09 - tramadol perscribed   from New York says: Beautiful site!
10/11/09 - how to buy adipex rx  from New York says: Great site. Good info.
10/11/09 - tramadol cheap free   from New York says: Perfect work!
10/12/09 - tramadol migraine  from New York says: Great site. Keep doing.
10/12/09 - cuba gooding and cia  from New York says: Perfect site, i like it!
10/12/09 - tramadol 100 mg.  from New York says: If you have to do it, you might as well do it right.
10/12/09 - purchase adipex w ou  from New York says: Excellent site. It was pleasant to me.
10/12/09 - adipex no generic  from New York says: I want to say - thank you for this!
10/12/09 - is tramadol gluten f  from New York says: It is the coolest site, keep so!
10/13/09 - real adipex cod  from New York says: Very interesting site. Hope it will always be alive!
10/13/09 - dose of tramadol inj  from New York says: If you have to do it, you might as well do it right.
10/13/09 - tramadol and menstru  from New York says: It is the coolest site, keep so!
10/13/09 - cheep paris adipex  from New York says: Perfect work!
10/13/09 - tramadol and vicodin  from New York says: It is the coolest site, keep so!
10/14/09 - key tramadol  from New York says: I want to say - thank you for this!
10/14/09 - tramadol cod no prio  from New York says: Great. Now i can say thank you!
Display Page: 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
61 62 63 64 65 66 67 68 69
Post your comment about " Floating Static vs. Dynamic Routing Protocol " here:
Name: (optional)
Location: (optional)
E-mail Address: (optional)
Comments:  
 
top







home | certification basics | features | exams | exam reviews | salary surveys
forums | link state update | news | q & a | article archive | tech library webcasts | Rss Feeds from TCPmag.com
Application Development Trends | Campus Technology | CertCities.com | The Data Warehousing Institute
E-Gov | EduHound | ENTmag.com | Enterprise Systems | Federal Computer Week | FTPOnline.com | Government Health IT
IT Compliance Institute | MCPmag.com | Recharger | Redmond Developer News | Redmond
Redmond Channel Partner | Redmond Events | Redmond Report | T.H.E. Journal | TechMentor Conferences
Virtualization Review | Visual Studio Magazine | VSLive!
Free Print or Digital Subscriptions: Redmond | Redmond Channel Partner | Redmond Developer News
Virtualization Review | Visual Studio Magazine
Copyright 1996-2009 1105 Media, Inc. See our Privacy Policy.
1105 Redmond Media Group