Allright, let me see if I can explain myself here:
I have a Cisco 831 router runnning 12.3 code. On the public interface "ethernet1" (which, incidently, goes to an aDSL modem to the internet), I'm running a GRE tunnel with GRE keepalive (actually it's GRE over IPSec, if it pertains to the question) that I'm learning routes through EIGRP into our main office. The ethernet1 interface itself, however, is a passive interface for EIGRP; I just have a statically configured default route for internet bound traffic. I am also redistributing this static default route using EIGRP to other routers on the segment on the inside network "ethernet0".
So far, so good.
Here's the delima:
If, for some reason, the DSL connection dies on the public side, the tunnel interface will go down and the EIGRP process will make the approrpriate changes to the inside routes, however, since the default route is statically defined and the ethernet1 interface never actually goes down, my router will continue to advertise the redistributed default route to the inside network.
My question is this:
Is there any way to force the router to stop adverising the default route when the DSL line dies? For instance, is there a way to force the entire ethernet1 interface down if the GRE tunnel interface that's running over it goes down?
Please let me know if I need to clarify anything, and thanks in advance for any responses.
Here's a sample config with the new syntax:
Replace with an IP that you can ping through your main link - preferably the ISP side of the WAN link address.
interface Ethernet 0
ip address 10.1.1.1 255.0.0.0
ip sla monitor 1
type echo protocol ipIcmpEcho
ip sla monitor schedule 1 life forever start-time now
track 100 rtr 1 reachability
access list 101 permit icmp any host echo
route-map LOCAL_POLICY permit 10
match ip address 101
set ip next-hop
set interface null0
ip local policy route-map LOCAL_POLICY
ip route 0.0.0.0 0.0.0.0 track 100
Hope that helps - pls rate the post if it does.