Dynamic routing by monitoring specific IP

Unanswered Question
Nov 10th, 2009

Hi,


Please see diagram attached. Provided router C is the only router can be configured, is there any way for Router C to monitor the reachability of Router A, and then dynamically stopping redistributing the static route into OSPF, or changing the redistribution metric.


Thanks,


Andrew



Attachment: 
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
rahulcapable Tue, 11/10/2009 - 21:34

Hello Andrew,


What we can do is that we can track the reachability of router A IP address and configure in a way so tht static route will be there only till we have reachability to router A other wise static route will go down and hence will not be redistributed. For this to work router A Ip should be pingable from router C. Below is the config :


Make sure you remove the route ip route 10.0.0.0 255.255.255.0 10.2.2.1 before u add the below config


___________________________________


track 100 rtr 100 reachability

!

ip route 10.0.0.0 255.255.255.0 10.2.2.1 track 100

!

ip sla monitor responder

ip sla monitor 100

icmp-echo 10.1.1.1 source-ip 10.2.2.2

frequency 5

ip sla schedule 100 life forever start-time now

!

______________________________________

Actions

This Discussion