Riverbed and pfsense with MultiWAN
-
Hello All.
I use multi wan setups for a long period. Mostly without certain problems. For last couple years have issue with riverbed router.
When ISP 1 has problems with link pfsense switches to ISP2 (standard approach with Gateway group), but traffic from LAN does not pass until i manually reset all states using Diagnostics -> States -> Reset States
I've set additional setting "Flush all states when a gateway goes down" in System->Advanced->Miscellaneous, but without success.The same picture with switching back from ISP2 to ISP1. Only manual reset states (or rebooting pfsense) restores activity of Riverbed.
May be "Flush all states when a gateway goes down" reset states only states for LAN interface of pfsense and that's not enough for riverbed which needs reset all states on WANs of pfsense? Because other devices tested at the same environment successfully switch from ISP1 to ISP2 and vice versa.
Can you advice smth., please?
May be i can set some checkbox somewhere to force reset all states as it does "Diagnostics -> States -> Reset States"?
-
Found some solution on the forum and modified sh script which runs every 15 min for.
ping some host available through riverbed. If no answer then reset states.#!/bin/bash HOSTS="10.0.20.30" COUNT=10 echo "HOSTS: " $HOSTS echo "COUNT: " $COUNT for myHost in $HOSTS do counting=$(ping -c $COUNT $myHost | grep 'received' | awk -F',' '{ print $2 }' | awk '{ print $1 }') echo "counting: " $counting if [ $counting -ge 2 ] then echo "ping ok" else echo "reset states" pfctl -F state fi done #end