Dual Physical Wan Interfaces (2 ISPs) with Multiple IPs per Interface – SNAT and Failover
Hi all,
I’ve been searching through the forums and docs without finding a full answer to this, so thought I’d post.
I have a 300D (v5.4.1) using two physical interfaces to connect to two different ISPs.
For each physical interface I’ve got a block of IPs.
I can’t use more physical interfaces for these wan connections, and I don’t have an L2 switch between the FGT and the ISP.
The internal network has a number of segregated lans and vlans.
For simplicity, I’ll call the physical wan ports wan1 and wan2, and the IPs on them wan1.1, wan1.2, wan2.1, wan2.2, etc.
In normal circumstances I need to route specific source subnets out using a specific ISP and a specific IP within my block of IPs for that ISP. For example, the source vlan hw-test is routed out wan1, SNAT’d to wan1.3, the source vlan seclan is routed out wan2, SNAT’d to wan2.1.
I also map some of the specific wan facing IPs to internal servers. For example, say IP wan2.2 maps to one of my web servers.
This is all doable with multiple IP Pools for SNAT (turning off ARP reply for security) used by multiple security policies for routing out, and VIPs to DNAT the connections from the wan to my servers. No server load balancing being done.
MY PROBLEM / QUESTION:
Given the scenario, what is the best method to handle failover?
I’m not interested in load balancing, just failover. I’ve found ways to do it – just none that I’m happy with.
My requirements for failover make this more complicated. I only want to support failover for certain of my subnets.
For example, source seclan should failover from using wan2 (SNAT wan2.1) to wan1 (SNAT wan1.1), but hw-test should never failover.
Solutions I’ve looked at so far:
[ol]
Am I missing something? I’d love a cleaner solution than the four above.