I have configured multiple vpn tunnels through one tunnel interface. I have also created routes with next hop entries for destination network and then completed NHTB in tunnel interface. But I have two vpns going to same destination network with different gateways. The example configuration is as follows:
route 1 = route to 192.168.32.0/24 via tunnel.1 with next hop 22.214.171.124 (public address) preference 20 metric 1
route 2 = route to 192.168.32.0/24 via tunnel.1 with next hop 126.96.36.199 (public address) preference 20 metric 5
route 3 = route to 192.168.32.0/24 via NULL preference 20 metric 15
vpn1 is going to 188.8.131.52
vpn2 is going to 184.108.40.206
tunnel.1 is binded to vpn1 and vpn2
tunnel.1 has got NHTB enteries for both vpns
As per above configuration and my understanding both VPNs will be up as long as both gateways are up. But traffice will travel through route1 and route 1/2 will stay active. Once 220.127.116.11 is down then route 1 will be inactive and route 2 active. Traffic will travel via route 2.
So my query is will this configuration work like what I mentioned above or not? If not, then how this configuration gonna work and how can I fix it?