Dual WAN Load Balancing or Policy route with redundant interface
hi,
I have a situation in my network which there is 2 WAN links and I have to use both of them for internet as described bellow:
servers must use WAN1 primarily which has public ip addresses and serves remote access vpn and other public services,
clients must use WAN2 primarily which does not have public ip address.
both links must failover to the other for internet usage. Also both links receive their ip and gateway from pppoe connection.
So for this implementation I first tried WAN LLB. this implementation works really fine but the problem is that in this situation I lose incoming connections like VPN. I don't know why. I even defined a specific LLB Rule to prefer WAN1 for vpn address range, but again no luck.
The other way crossed my mined is using policy routes. I defined WAN2 default route distance with lower value and defined a policy route saying that all client traffic default route is WAN2. in this situation I have vpn and services working fine but when WAN2 goes down, clients lose internet access because policy route does not track any link state or something else to detect it. If I could write such a track like a router the problem is solved.
or I could find problem related to situation one again problem is solved.
can anyone help me in this situation please?