Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Static route with different priority

Status
Not open for further replies.

lamsf

Technical User
Jul 27, 2003
103
US
How do I configure static route with different priority? For e.g.

ip route 0.0.0.0 0.0.0.0 10.0.0.1 (1st priority)
ip route 0.0.0.0 0.0.0.0 20.0.0.1 (use only if 10.0.0.1 is down)
ip route 0.0.0.0 0.0.0.0 30.0.0.1 (use only if both 10.0.0.1 and 20.0.0.1 are down)

Can I configure the static route to have the above?

Thx.
 
You can use administrative distance.

Simon Yu
CCNP
 
Hi

Give the secondary/tertiary default routes increasing costs, like:

ip route 0.0.0.0 0.0.0.0 10.0.0.1
ip route 0.0.0.0 0.0.0.0 20.0.0.1 150
ip route 0.0.0.0 0.0.0.0 30.0.0.1 170

The technique is 'floating static route', have a look on for details & config guidelines.

EB

"The most powerful command you will ever use is rtfm"
EB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top