Is it possible in IOS to have two static routes for the same subnet, one a higher priority and "failover" between the 2?

Hi All
Is it possible in IOS to have for a particular subnet:
a) Two static routes?
b) Make one static route a higher priority than the other?
c) If one static router "goes down", failover to the lower priority static route?
We have a l2tp/vpdn connection to a supplier which can be accessed via two vlans/routes. I would like to make one route the preferred one but the "route" to failover if the preferred route goes down.
Again, many thanks in advance for all responses!
Thanks
John

Hi John,
Hope the below explaination will help you...
R1(config)# ip route 0.0.0.0 0.0.0.0 2.2.2.2
R1(config)# ip route 0.0.0.0 0.0.0.0 3.3.3.3 10
If you notice the Administrative Distance for the secondary route pointing to ISP2 is increased to 10 so that it becomes the backup link.
The above configuration with just two floating static routes partially accomplishes our requirement as it will work only in the scenario where the routers interfaces connected to the WAN link are in up/down or down/down status. But in a lot of situations we see that even though the links remain up but we are not able to reach the gateway, this usually happens when the issue is at the ISP side.
In such scenarios, IP SLAs becomes an engineer's best friend. With around six additional IOS commands we can have a more reliable automatic failover environment.
Using IP SLA the Cisco IOS gets the ability to use Internet Control Message Protocol (ICMP) pings to identify when a WAN link goes down at the remote end and hence allows the initiation of a backup connection from an alternative port. The Reliable Static Routing Backup using Object Tracking feature can ensure reliable backup in the case of several catastrophic events, such as Internet circuit failure or peer device failure.
IP SLA is configured to ping a target, such as a publicly routable IP address or a target inside the corporate network or your next-hop IP on the ISP's router. The pings are routed from the primary interface only. Following a sample configuration of IP SLA to generate icmp ping targeted at the ISP1s next-hop IP.
R1(config)# ip sla 1
R1(config)# icmp-echo 2.2.2.2 source-interface FastEthernet0/0
R1(config)# timeout 1000
R1(config)# threshold 2
R1(config)# frequency 3
R1(config)# ip sla schedule 1 life forever start-time now
The above configuration defines and starts an IP SLA probe.
The ICMP Echo probe sends an ICMP Echo packet to next-hop IP 2.2.2.2 every 3 seconds, as defined by the “frequency” parameter.
Timeout sets the amount of time (in milliseconds) for which the Cisco IOS IP SLAs operation waits for a response from its request packet.
Threshold sets the rising threshold that generates a reaction event and stores history information for the Cisco IOS IP SLAs operation.
After defining the IP SLA operation our next step is to define an object that tracks the SLA probe. This can be accomplished by using the IOS Track Object as shown below:
R1(config)# track 1 ip sla 1 reachability
The above command will track the state of the IP SLA operation. If there are no ping responses from the next-hop IP the track will go down and it will come up when the ip sla operation starts receiving ping response.
To verify the track status use the use the “show track” command as shown below:
R1# show track
Track 1
IP SLA 1 reachability
Reachability is Down
1 change, last change 00:03:19
Latest operation return code: Unknown
The above output shows that the track status is down. Every IP SLAs operation maintains an operation return-code value. This return code is interpreted by the tracking process. The return code may return OK, OverThreshold, and several other return codes.
Different operations may have different return-code values, so only values common to all operation types are used. The below table shows the track states as per the IP SLA return code.
Tracking
Return Code
Track State
Reachability
OK or over threshold
(all other return codes)
Up
Down
The Last step in the IP SLA Reliable Static Route configuration is to add the “track” statement to the default routes pointing to the ISP routers as shown below:
R1(config)# ip route 0.0.0.0 0.0.0.0 2.2.2.2 track 1
R1(config)# ip route 0.0.0.0 0.0.0.0 3.3.3.3 10
The track number keyword and argument combination specifies that the static route will be installed only if the state of the configured track object is up. Hence if the track status is down the secondary route will be used to forward all the traffic.
Please rate the helpfull posts.
Regards,
Naidu.

Similar Messages

  • TS3367 I have two IPhones and one IPad all with the same Apple ID. I can call facetime between the two IPhones, but I cannot call the IPAD from either of the IPhones and when I call my IPhone from the IPad it rings my wife's IPhone after briefly calling m

    I have two IPhones and one IPad all with the same Apple ID. I can call facetime between the two IPhones, but I cannot call the IPAD from either of the IPhones and when I call my IPhone from the IPad it rings my wife's IPhone after briefly calling mine.

    Each device needs a separate address. Use an email address (gmail.com) on the iPad.
    Using FaceTime http://support.apple.com/kb/ht4319
    Troubleshooting FaceTime http://support.apple.com/kb/TS3367
    The Complete Guide to FaceTime + iMessage: Setup, Use, and Troubleshooting
    http://tinyurl.com/a7odey8
    Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/TS4268
    Using FaceTime and iMessage behind a firewall
    http://support.apple.com/kb/HT4245
    iOS: About Messages
    http://support.apple.com/kb/HT3529
    Set up iMessage
    http://www.apple.com/ca/ios/messages/
    Troubleshooting Messages
    http://support.apple.com/kb/TS2755
    Setting Up Multiple iOS Devices for iMessage and Facetime
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
    FaceTime and iMessage not accepting Apple ID password
    http://www.ilounge.com/index.php/articles/comments/facetime-and-imessage-not-acc epting-apple-id-password/
    Unable to use FaceTime and iMessage with my apple ID
    https://discussions.apple.com/thread/4649373?tstart=90
    For non-Apple devices, check out the TextFree app https://itunes.apple.com/us/app/text-free-textfree-sms-real/id399355755?mt=8
    How to Send SMS from iPad
    http://www.iskysoft.com/apple-ipad/send-sms-from-ipad.html
     Cheers, Tom

  • How can I make two copies of the same picture one with my watermark and one without for printing for clients?

    how can I make two copies of the same picture one with my watermark and one without for printing for clients?

    Export the photo twice, once with a watermark and once without a watermark.

  • Can i have two apple accounts for seperate phones on one computer

    i have two iphone work and buisness can i have seperate apple accounts on one computer, to keep contacts etc seperate

    Hi there themaples20,
    You may find the information in the article below helpful.
    iCloud: Features that work with one account at a time on iOS 5 and OS X Lion or later
    http://support.apple.com/kb/ts4020
    -Griff W. 

  • I have two users on my home pc but one has a "hammer" icon next to the help in the menu bar and its not even english! help

    Ok, again I have tried to download several time the new version of firefox and with my wife as administrator she has a little icon like a hammer and when i open its a game but not english but on my user page i downloaded the same new firefox but don't have this icon does this mean she has a problem with her user interface

    I'm going to suggest a new Firefox profile in your wife's Windows profile. The following is a little long, but not difficult if you go step by step.
    First, I recommend backing up your wife's Firefox settings in case something goes wrong. See [https://support.mozilla.com/en-US/kb/Backing+up+your+information Backing up your information]. (You can copy your entire Firefox profile folder somewhere outside of the Mozilla folder.)
    Next, with all Firefox windows closed, start up in the profile manager and create a new (blank) profile: [http://support.mozilla.com/kb/Managing+profiles Managing profiles].
    Hopefully this one will be "hammer free" on first run and after closing down Firefox and restarting it in the new profile again. If so, the problem may have been one of your wife's add-ons. You have the choice to keep the problem profile and disable all non-essential add-ons, or migrate key settings to the new profile.
    To move key settings like bookmarks from your damaged profile to the new profile, see: [https://support.mozilla.com/en-US/kb/Recovering+important+data+from+an+old+profile Recovering important data from an old profile].
    If the new profile also has the hammer, it could be created by an add-on in a separate folder. Please open Help > Troubleshooting Information and copy/paste the extensions and plugins in your reply.
    Note: after using the profile manager, Firefox generally keeps using the last selected profile. To switch, close Firefox and use the profile manager again.
    Any luck?

  • I have two computers, if I delete songs from one computer will it also delete on the Cloud and on the other computer?

    I have a macbook air for travel.  My itunes library is getting too big for this computer.  If I delete music on this computer, how can I be sure it won't also delete the same files on the Cloud and on my computer at home?

    Use Windows Migration Assistant to copy all your user date to the MacBook.
    See this -> About Windows Migration Assistant.
    Using Home Sharing will transdfer the media files, but not the entire library (ratings, date added, artwork, playlists, etc.)
    And as diesel vdub metioned, backup BEFORE you do anything.

  • I have an ipod classic 160 GB, and itunes 11.0.1. Itunes won't sync when I try to sync several cds I've downloaded into itunes. If I try to sync the same cds one at a time, it works. What's happening? What's the fix?

    I have a  sync problem when trying to sync multiple cd's I've downloaded into itunes, at the same time. I have an ipod classic 160 GB, and use itunes 11.0.1. If I delete the songs from itunes, reload the same discs one at a time, and sync after each individual cd, all goes well. What's going on and what's the fix?

    Thanks for your help Jim
    I found some info in other threads and read that some people had re-downloaded, re-installed and were now working OK. Unfortunately some others went through that pain and still had the issue.
    I found a reference to deleting the file 'iTunes Library.itl' and copying back the previous version of that file.
    I tried this and when I fired up iTunes I noticed there was a window pop up saying iTunes was updating the database to version 11. I then re-imported the CD and now the songs are there in iTunes, the artwork is there and song titles etc. The songs play and everything appears normal again.
    It would appear that my issue was the database was not correctly upgraded correctly durting the original upgrade, this theory is to some extent supported by the fact some people have had success re-installing version 11. This also suggests the upgrade process may be a little flaky.
    Anyway thank you to the person suggesting downgrading the 'iTunes Library.itl' file, sorry I did not take a note of your name.

  • Is it possible to have two USB drives for the IPad?  I want to bring RAW photo files from my camera, through the IPad and back to an external hard drive.  One of my cameras does not use an SD card.  How can I do this?

    Is it possible to have two USB drives for the IPad?  I want to bring RAW files from my camera through the IPad and out to an external hard drive.  One of my cameras has an SD card but the other one doesn't have a card that would fit in any of the camera devices I've seen on line.  Realted to this, I bought the IPad camera accessory.  Can I put the SD card in the device and also hook the external hard drive to the USB port of the accessory and download from the camera to the hard drive?  Can I put Lightroom or the Nikon photo editing software on the IPad?  Right now I carry a PC laptop and external hard drives with me on wildernes trips.  Internet and WiFi are not available.  Because I shoot so many photos and they're in RAW I need to download from the camera to the external drive because I run out of memory on the PC (and it has much more memory than the IPad).  I have Nikon NX software and lightroom on my PC.  I'd love to be able to reduce the weight I carry by using the IPad to edit my photos each night while on trips.  Is this possible and how would I do it?  I'd appreciate any guidance.

    No, the camera connection kit only supports the copying of photos and videos to the Photos app, it doesn't support copying content off the iPad. For your second camera instead of the SD reader part of the kit, does the iPad to camera cable not work with it for direct transfer to the iPad ?
    For Lightroom and Nikon software again no - you can only install apps that are available in the iTunes app store on your computer and the App Store app on the iPad, 'normal' PC and Mac (OS X) software are not compatible with the iPad (iOS). There are some apps that perform fairly basic editing functions that are available in the store, but nothing as sophisticated as, for example, Lightroom.

  • Can you have two iCloud accounts for one Apple id?

    Can you have two iCloud accounts for one Apple id?

    the appleID is you in the ios world if you have an iphone and an ipad and an Ipod touch and an appletv and a mac then you should use 1 appleID on all of them it does not mean the same data is on all of them unless you want it to be

  • How can I update the apps. with the new iTune, that's really silly especially I have two iTune account for different countries

    I used 2 iPhones and a iPad, 2 Apple ID for different countries so that I can download apps. from different country.  Its a pain and sometimes no possible to update the apps. on the ISO devices.  Apple really needs to fix this aspect.  Also the new iTunes is so difficult to use, please bring back the old one.

    When Itunes opens
    1) Click on drop dow list button top left under the player controls
    2) Select Apps
    3) At the bottom right there are two buttons, Check for updates and Get More Apps
    An Alternative is when iTunes opens in the top menu Click on View, Show Sidebar. Then you will see your apps page as in itunes 10. Click on that option and as before you should have two buttons, Check for updates and Get More Apps.
    NB this is all within Itunes NOT the iTunes Store

  • At home I have two wifi networks , I try to use one of them depending on their strength of signal, can I not save  both their passwords on Apple TV , so that I can switch to one of the two wifi networks as required

    At home I have two wifi networks , I try to use one of them depending on their strength of signal, can I not save  both their passwords on Apple TV , so that I can switch to one of the two wifi networks as required
    Also the passwords are long and cumbersome to type every time on the apple  TV remote, what is the alternative if I cannot store them on the memory of the Apple TV

    Is it possible that you are using the same password for the old O2 Study and newer O2 Apple Base Station networks?
    If so, Keychain Access is storing the old information about the old network and may be associating it with your AirPort Extreme settings based on the BSSID that William has mentioned.
    If that's the case, open Macintosh HD > Applications > Utilities > KeyChain Access and look for a listing with the old network name. Delete this entry. You may need to power down both the computer and the AirPort Extreme and restart them.

  • Is it possible to create two multicast DR on the same subnet?

    on server vlan 10.24.254.0/24, there are two routers:
    R1 is .2 and R2 is .3 with "IP pim sparse-mode" enabled.
    R1 and R2 are on two distinct Mcast domains
    R1 has
    ip pim rp-address 10.25.249.1 acl-one override
    R2 has
    ip pim rp-address 192.168.2.1 acl-two override
    The problem is R2 with higher IP address is now the IGMP and PIM DR. Any multicast app with RP 10.25.249.1 is NOT working because R1 can't receive IGMP join from servers.
    In addition, R1 by design can not reach 192.168.2.1 and same for R2 to reach 10.25.249.1
    Thus configuring two "IP PIM rp-address" is not possible
    how can I make R1 the DR for group IP under acl-one and R2 for group IP acl-two?
    or I have to change network topology?

    There can be only one DR on a the same subnet.If there are more than one DR on the same subnet it would endup sending duplicate multicast traffic for connected host.For more information refer the URL
    http://www.cisco.com/en/US/products/ps5763/products_configuration_guide_chapter09186a0080312878.html#wp1091449

  • Can you have two different iTunes accounts on same computer?

    Can you have two different iTunes accounts on same computer?

    J2217 wrote:
    I'm going to give my old iPad to my granddaughter, I want to create an account for her, but I want to do it on my computer so there are no worries about who is spending credits for that account. Don't know how this will work, or if its possible to two iTunes libraries.
    Okay.
    She's going to use your computer to sync with iTunes.
    Create an new computer login on your computer for her. This will keep her stuff separate and she won't be able to mess with any of your info.
    Log into her computer account.
    Launch iTunes.
    Create a new iTunes account for her. See this -> http://support.apple.com/kb/HT2731
    You can enter a credit card to create the account then delete the CC info. Or you can use an iTunes gift card and she can fund the account with gift cards instead of using a CC to make purchases. This is an easy way to control spending.
    on the iPad, go to Settings > iMessage > Off.
    Then Settings > General > Reset > Erase all content & settings.
    Once it finishes, plug in the iPad, select it in iTunes and this will set it up as a new device. Enter all your granddaughter's info.
    When she wants to sync her iPad or use iTunes, she needs to log into your computer with her account.
    Then the iTunes library she uses will be only hers.

  • HT1414 i have the 1st iPad. Can it be updated to iOS 6.0.1?  If not how to fix-when on the internet sometimes it will just stop and go to the apps screen.

    i have the 1st iPad. Can it be updated to iOS 6.0.1?  If not how to fix-when on the internet sometimes it will just stop and go to the apps screen.

    svargaswp wrote:
    i have the 1st iPad. Can it be updated to iOS 6.0.1?  ...
    No.
    iOS 5.1.1 is the lastest for the iPad 1.
    svargaswp wrote:
    ... how to fix-when on the internet sometimes it will just stop and go to the apps screen.
    Try This...
    Close All Open Apps...  Sign Out of your Account... Perform a Reset... Try again...
    Reset  ( No Data will be Lost )
    Press and hold the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears. Release the Buttons.
    http://support.apple.com/kb/ht1430
    Note:
    Also consider Deleting any Apps you have Purchased / Downloaded but you now never use..
    If necessary...
    Connect to iTunes on the computer you usually Sync with and “ Restore “...
    http://support.apple.com/kb/HT1414

  • I have 2 iPhones - one for personal use and one for work. They are currently connected with the same Apple ID. I would like to separate the two accounts. Does anybody know how to do this?

    I have 2 iPhones - one for personal use and one for work. They are currently connected with the same Apple ID. I would like to separate the two accounts. Does anybody know how to do this?

    Just create a new AppleID for your work.
    As Allan suggested, items purchased on one iTunes account cannot be moved to the other account.
    However, you can put items purchased on on account onto the other iPhone.

Maybe you are looking for