Failover only working when using dhcp on wan2
-
I was running into the same problem. However, I finally got failover (NOT Load Balance) to work when WAN1 & WAN2 are both setup to Static IP (thanks to bob & ktims).
It'll be much easier to help you, if you post some pictures of the Static config (WAN1 & WAN2), LAN firewall rules, and load balancer pool config. This way it will be much easier to see if there's anything setup incorrectly.
Thanks.
-
Hi artbybart,
Can you help me in this topic?
My PF is configured with Two Static WAN address. Everything looks fine but failover not works after disconnecting WAN1 or WAN2.
Please have a look on attached snaps of Rules, Pools and Status.
WAN1 : aa.aa.aa.aa WAN2: bb.bb.bb.bb
GW : xx.xx.xx.xx GW : yy.yy.yy.yyThanks
-
How are your CARP settings setup??
-
Hi,
No CARP has been configured….....
-
And you know what CARP is???
Now you are only balancing the WAN's…..there no failover configured....
-
Yes its pfSense Hardware Redundancy, I don't want the hardware redundancy.
I have added another OPT interface into my pfsense and trying to make WAN loadbalancing or Failover using OPT interface.
Unfortunately testing looks fails….
I am testing with removing Lan cable with one of the WAN interface and automatic failover not happening. Its works only after rebooting......
Is there any thing I am missing? -
Zam,
For starters, I'm only using the Failover feature and NOT load balancing. Therefore, in the load balancer pool I only have 2 pools setup: WAN1 failing to WAN2 and WAN2 failing to WAN1. As far as your settings are concerned, they seem fine cuz that's how i got them (with WAN1 & WAN2 gateways).
As far as rules are concerned, in the pic I see there's a rule there, which I put as the first rule in the rules table. I don't know if you've done that already or not. In addition, I have also put a similar secondary rule; except with WAN1 gateway (xx.xx.xx.xx) in the "Gateway" section.
Lastly, are you able to ping both gateways from the console (NOT the web)? I know it sounds silly, but you never know!
Hope this helps. Good luck!
-
Hi artbybart,
I have edited the pools and rules as per your instruction….. Please have a look attached snaps...
I think something wrong with rules......Still no Success.........First rule showing Lan to Default GW that is WAN1
Second rule showing Lan to Second GW that is WAN2 (yy.yy.yy.yy)Thanks for your reply.........
-
I can set both to static…
the way I was doing it was to set up a single pool with WAN1 and WAN2, configured as failover then set the outgoing firewall rule to use that pool for the gateway.
as long as I had dhcp enabled on both interfaces it worked fine.
I will be on the customer's site today, will try both as static, if the cable company is willing...they usually assign static addresses via dhcp only.
-
Hi
Yeah you are right stephend2…. a single Pool required and Rule must be pointed to PoolGateway.......
Its works fine for Static also ( ONLY FOR FAILOVER )Thanks all of you for help.........
:)