I originally posted this on the Remote Access section, but I still have not resolved the issue.
Suppose I have an ISDN primary rate interface with 30 channels, which provides a dialer pool. I then have several dialer profile interfaces that use that pool. I then make a static route to one of those dialer interfaces, say ip route 192.168.42.0 255.255.255.0 Dialer 6. So far so good ... pretty standard stuff.
I then want to redistribute that static route into, say, OSPF. But I want to arrange it so that if there are no channels in the dialer pool, for example if the ISDN primary rate connection is down, then the route is not redistributed, or even better if it disappears from the access router altogether?
What I am saying is: how can I arrange for a dialer interface to be effectively down whenever the physical interfaces in its dialer pool are down?
If the static route was to a serial interface, and that serial interface was down, then the router would remove the route from its table and not inject it into OSPF. But in this case, the static route is to a dialer interface that always looks to be up. I don't want that. If the ISDN dialer pool is down, I don't want the router to advertise the route, so that a backup router (and line) can take the traffic.
Someone suggested object tracking, but this is through a dialer, and it would be a bit expensive to ping a remote object every few seconds just to check the availability of the ISDN.
Thanks in advance.
Kevin Dorrell
Luxembourg