Hi there, I'll try to keep this short and sweet. I am trying to set up redundant default (static) routes out of my network. I have x2 routers each with an internet connection to the ISP (O2 broadband) and static WAN addresses. Simple diagram attached.
The main issue I have however is that I don't know the next hop IP address of my ISP, and if I do a traceroute both routers return the same next hop (which is probably correct as both lines go back to the same telephone exchange).
I'm focusing on R1 at the moment. I have added the following config:
track 1 ip sla 1 reachability
ip sla auto discovery
ip sla 1
icmp-echo 18.104.22.168 source-interface Dialer0
ip sla schedule 1 life forever start-time now
ip route 0.0.0.0 0.0.0.0 Dialer0 5 track 1
ip route 0.0.0.0 0.0.0.0 22.214.171.124 10
At the mo, a "show ip route" returns the following:
S* 0.0.0.0/0 is directly connected, Dialer0
If I shut down ATM 0 on R1 track 1 goes DOWN as it should do and the second static route becomes active:
S* 0.0.0.0/0 [10/0] via 126.96.36.199
So far so good. The issue is that when I "no shut" ATM 0 track 1 doesn't come back up. The second route stays in the routing table and I have to manually enter the following command to restore R1's primary route (ip route 0.0.0.0 0.0.0.0 di0
). Before I re-enter the static route to bring track 1 back UP I've done some checks:
interface dialer0 is UP/UP. It has an IP address and is happy (we even have some GRE tunnels out of R1 Di0 to other sites that come up). It seems to be that interface Di0 doesn't know what route to take to check connectivity to 188.8.131.52
OSPF is running across these routers so once I had got the static routes working I was going to look at redistributing them into OSPF.
Any help would be much appreciated.