Tracking Multiple IP Addresses and Inserting a Default Route

From: Lileikis, Gary (gary.lileikis@unisys.com)
Date: Fri Feb 25 2005 - 15:55:44 GMT-3


Greetings,

I would like to ping multiple IPs on the Internet and if any respond I
would like to insert a default route. The problem that I have is that
the IOS only allows the following:

ip route 0.0.0.0 0.0.0.0 120.20.13.3 66 track 1

It will not accept the following, deleting the previous command:

ip route 0.0.0.0 0.0.0.0 120.20.13.3 66 track 1

ip route 0.0.0.0 0.0.0.0 120.20.13.3 67 track 2

Any suggestions?

Thanks,

Gary Lileikis

track 1 rtr 1 reachability

!

track 2 rtr 2 reachability

!

rtr 1

 type echo protocol ipIcmpEcho 198.133.219.25 source-ipaddr 120.20.13.2

rtr schedule 1 life forever start-time now

rtr 2

 type echo protocol ipIcmpEcho 216.126.95.130 source-ipaddr 120.20.13.2

rtr schedule 2 life forever start-time now

ip local policy route-map reroutetest

route-map reroutetest permit 10

 match ip address 130

 set ip next-hop 120.20.13.3

ip route 0.0.0.0 0.0.0.0 120.20.13.3 66 track 1

ip route 0.0.0.0 0.0.0.0 120.20.13.3 67 track 2

ip route 0.0.0.0 0.0.0.0 120.20.13.3 200

!

access-list 130 permit icmp any host 66.218.82.234

access-list 130 permit icmp any host 216.126.95.130

access-list 130 permit icmp any host 213.248.80.74

access-list 130 permit icmp any host 66.218.82.226

access-list 130 permit icmp any host 66.218.68.11

access-list 130 permit icmp any host 64.37.246.6

access-list 130 permit icmp any host 205.171.8.137

access-list 130 permit icmp any host 198.133.219.25

access-list 130 permit icmp any host 4.68.96.37



This archive was generated by hypermail 2.1.4 : Thu Mar 03 2005 - 08:51:25 GMT-3