Hello,
Please, help me, the documentation says:
--
Metric The metric is a preference number, with the lowest number having the
highest priority.All directly connected networks have a metric of zero. All static
routes have a default metric of one.There may be cases in which you need to add
the same route twice, the preferred route with the lower metric and the less preferred
route with the higher metric. If the first route is unavailable, the firewall will
use the next route.
--
"If the first route is unavailable...", how does Juniper know this? Just if the interface is down?
I want it to use the next route(metric 1 to metric 2) if the gateway is unavailable.
(In my case, when the gateway is unavailable, the interface is not down)
I already read about track IP, but it's for HW failover, and not route. So I can't use it to ping the gateway, and disable the route when it's not responding.
I don't believe that the only way to do this is configuring a tunnel interface.