I am trying to configure multi wan load balancing with pfSense 2.0.1.
I have two ISP (ISP1 with STATIC addresse and ISP2 with DHCP addresse).
Both failover and load balancing is working fine with http. But I have some problems with icmp.
In failover mode (for icmp protocol : use ISP2 first and switch to ISP1 if ISP2 is down):
When both links are up, using my windows laptop I do "ping -t 22.214.171.124" and I let it continue.
So far so good, I can see in the states table of pfSense that it's going through ISP2 as expected.
Then I bring down ISP2, and pings start to fail. It wouldn't bother me if it was only for a few seconds (wait for the states table to be cleared and then send icmp through ISP1). BUT pings continue to fail because the states table isn't cleared (I checked). From my understanding it should be cleared when ISP2 becomes down...
The weird thing is that I have also tested with two ISP, BOTH STATIC addresses, and it's working just fine (states table is cleared after a few seconds and icmp is sent through the ISP that is still working).
So I have come to the conclusion that when a wan interface is in DHCP and loses its connectivity to its ISP, the states related to this interface are not removed from the states table.
Is this possible ? Am I missing something ?
Here is an other topic about reseting states for failed gateways (http://forum.pfsense.org/index.php/topic,7808.0.html
). It's a bit old and since then improvements have been made but it definatly helped me understand my problem.
Hope someone can help.