I need to solve a following problem, but I haven't any idea.
We have one router with two wan(MLLN,DSL) and one lan interface.
The main connection is the MLLN (it has next hop ip), and the backup is the dsl.
We want to route the http,https and smtp traffic on the DSL link basicly, but if the connection fails this traffic goes on the MLLN too. The DSL connection doesn't have next hop IP, it changes (but we can track an IP and check the connection availability).
In the route-map section I can't check the connection if it doesn't have next hop.
route-map wan2 permit 10
match ip address 160 //https,http,smtp traffic
set interface Dialer0 //route to the dialer but can't check the availability, cos no next hop
ip route 0.0.0.0 0.0.0.0 Dialer0 20 track 10
ip route 0.0.0.0 0.0.0.0 89.133.X.X track 20
Is there any solution?
how can I check the connection availability in this route map(wan2)?