[SOLVED] Outbound Load Balancing - Not Working
-
System > advanced > misc. Tab
-
Ahh, Thanks for the pointer.
I think I found my problem. I had accidentally left the Gateway on "None" for my OPT1 interface.
However, should this option be enabled for outbound failover? It's not in the Sticky anywhere (that I noticed). Or will just having the Gateway group setup do the trick?
-
Which option?
After you have properly configured both of your interfaces then go to the System > Adavanced > Gateway Tab. If both interface gateways are no in there then you will need to add it. Also which ever is your primary internet connection have it set as your default gateway, 1 of them will have to be the default. Next go to the Groups Tab and setup a new group, Configure both gateways to be 'Teir 1' and your trigger level to whatever you'd like. Then go to Firewall > Rules > Lan Tab and edit the default allow LAN to any rule. On the rule you will want to set the gateway to the the gateway group you just configured.
Hope that helps.
-
nutt,
That's exactly how I have it configured. Need to wait until the end of the day to actually pull the ethernet cable and test. I'm just wondering what the "Allow Gateway Switching" is needed for?
Thanks,
Jeff
-
Make sure the allow gateway switching is checked, this allows it to switch between which gateway is the active gateway. Thus allowing your internet connection to switch over to the other automatically.
-
Shouldn't that be part of the above Sticky then?
-
Yes, I do agree. That is the missing part to the sticky.
-
That checkbox is not required, and will break some people's setups. There is a reason it was made an option and then disabled by default.
-
Hmm,
Like Nutt, I had to enable that checkbox in order for failover to work. But, then it was still flaky until I went back and unchecked the Gateway Monitoring checkbox on the Misc. tab (I had originally checked that in order for the GUI to be responsive during initial config when I had the WAN disconnected).
Now that I said that, maybe I should test again with both the Gateway Switching unchecked and the Gateway Monitoring unchecked. (In other words, the default settings)
I'll post back with results.
Jeff
-
If checking that box made it work, then you must have missed some other bit (perhaps making sure you have a DNS server available on your second WAN).
http://doc.pfsense.org/index.php/Multi-WAN_2.0
-
jimp,
That must be it. I have the OpenDNS servers listed with the Gateway set to None. Should I change them to WAN and then add the same ones again with the Gateway set to OPT1?
Thanks,
Jeff
-
Either that, or pick one for WAN, and one for your other WAN (see the DNS section of the page I linked)
-
jimp,
That did the trick!
Reset misc. options to default and made sure DNS was set correctly for both WAN connections. Failover worked beautifully!
Thanks!
Jeff