We have two tunnels configured for a single route. By default traffic is routed over the first interface defined in the configuration. When this interface goes down traffic does NOT route to the second interface:
routing-instances { transit { routing-options { static { route 10.31.4.0/22 { qualified-next-hop 169.254.44.233 { interface st0.0; } qualified-next-hop 169.254.45.117 { interface st0.1; } }
I've tried setting next-hop and qualitified-next-hop with preference:
routing-instances { transit { routing-options { static { route 10.31.4.0/22 { next-hop 169.254.44.233 qualified-next-hop 169.254.45.117 { interface st0.1;
preference 25; } }
But when I disable st0.0 the connection to 10.31.4.0/22 ceases to work.
Is it possible to configure the static routes to automatically failover in case the current next-hop is down?