Home > Networking Tips > Network Engineering > Configure backup static routes
Networking Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

NETWORK ENGINEERING

Configure backup static routes


Scott M. Ballew
11.12.2002
Rating: -3.75- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


If somehow a router's dynamic protocol gets a problem, it's a good idea to have a backup static route. That way, even when the dynamic protocol messes up, the router will still be functioning. This tip, excerpted from Managing IP Networks with Cisco Routers, by Scott M. Ballew, tells you why and how.


You may find it useful to have a static route that is in place as a backup to your dynamic routing protocol. For example, you might want such a route on a remote router (perhaps at a branch office) to which you do not have convenient access. This route would prevent you from losing contact with the router if you make a mistake while configuring it from your office. By having a backup static route, you can take advantage of dynamic routing wile knowing that the backup static route will allow you to fix mistakes without traveling to the router in question.

The trouble with a static route is that, on most routers, static routes normally supersede any route learned by a dynamic protocol. We only want the static route to take effect in an emergency -- for example, because we've screwed up the dynamic protocol with a configuration error. In other words, we want the dynamic protocol to take precedence, but we don't want to be without a route when the dynamic protocol doesn't have one.

The way to allow a static route to be superseded by a dynamic routing protocol varies from router to router. In the case of Cisco IOS, you assign an administrative distance to the static route that makes it less preferable than your dynamic routing protocol. Other routers will probably have a similar mechanism that lets you select routes learned from one routing protocol over another; this mechanism will usually treat static routes as another routing protocol. To set the administrative distance for our backup static routes, we need to know a few of the many default administrative distances that Cisco has assigned. The important ones for our example are:

Connected interface0
Static route1
EIGRP summary5
EIGRP internal90
IGRP100
OSPF110
RIP120
EIGRP external170
Unknown255

A lower administrative distance is preferred over a higher distance, and a routing source with an administrative distance of 255 is never used. So, in each of our examples, I need only increase the administrative distance of the static route to the network management subnet to something higher than my dynamic protocol. To do so, I append the desired distances to the end of the static route statement.



Rate this Tip
To rate tips, you must be a member of SearchNetworking.com.
Register now to start rating these tips. Log in if you are already a member.


Submit a Tip




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
Network Engineering
Testing LAN switch power consumption: A best practices guide
Desktop virtualization network requirements
Preventing hacker attacks with network behavior analysis IPS
Internal cloud computing on the cheap: Free automated provisioning?
Improved storage performance without adding more disk
Troubleshooting -- 'Network Know-How' Chapter 17
Windows Server 2008 IP routing configuration: Static and dynamic RIPv2
Understand Windows tracert output to troubleshoot network connectivity
Using tracert and TTL to troubleshoot network connectivity problems
10 Gigabit Ethernet interconnect solutions: Investigate carefully before choosing

Installation and Configuration
Use 'admin distance' to assist in migration
Networking Products of the Year 2004
The best of 2004
Automating configurations
Simplifying and standardizing your device configurations
Who cares about Cisco?
Top five things to know about access control lists
Know your network cable
Securing Cisco networks
Tracking to ensure failover

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Networking Solutions for Business

Alcatel-Lucent Network Business Communications Solutions

About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2000 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts