Scenario Regarding Policy based Routing and Floating Routes

Unanswered Question
Jul 16th, 2007
User Badges:

I have a 1841 router with a serial port and 2 ethernet ports.

Where as I have to ISP providers what I want to do is I want to set my router in such a way that when ever any one ISP went down the other takes up.

What configurations do I need and is there any link which explanins me teh configurations according to my Scenario

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
acomiskey Mon, 07/16/2007 - 07:27
User Badges:
  • Green, 3000 points or more

This should get you started. Timeouts, thresholds etc. are all configurable. Change values to suit your needs.

ip sla monitor 25

type echo protocol ipIcmpEcho 20.x.x.45 <====upstream neighbor ip

timeout 10000

threshold 7

frequency 10

ip sla monitor schedule 25 life forever start-time now

track 123 rtr 25 reachability

delay down 60 <=== this delays the track from going down until down for 60 seconds

interface FastEthernet0/0 <===primary connection

description outside

ip address

interface FastEthernet0/1

description inside

ip address

interface Serial0/0/0 <====backup connection

description outside

ip address

ip access-group 120 in

ip local policy route-map FAILOVER-POLICY

ip route track 123

ip route 119 <====119 because I'm running rip, could be anything less than 120

ip route 20.x.x.45

access-list 101 permit icmp any host 20.x.x.45 echo

access-list 120 deny icmp host 20.x.x.45 any <===makes sure ping replies don't come from secondary link

access-list 120 permit ip any any

route-map FAILOVER-POLICY permit 10

match ip address 101

set interface Null0 Serial0/0/0

set ip next-hop

So, to explain all that in plain english. An ip sla process starts and pings 20.x.x.45 every 10 seconds. As long as that ping is successful, the default route is to If it fails, for me I have it set for 60 second delay, then the default route is The process continues to ping until successful. At that time it reinstates the original tracked route.

Please rate helpful posts.


This Discussion