(config) Issue with outbound load balancing
-
I made many tests so there are many :
@System:Oct 19 10:56:49 php: /system_gateway_groups.php: Removing static route for monitor 212.27.40.240 and adding a new route through 10.1.5.32
Oct 19 10:56:49 php: /system_gateway_groups.php: Removing static route for monitor 194.2.0.20 and adding a new route through 10.1.5.31
Oct 19 10:56:49 php: /system_gateway_groups.php: Removing static route for monitor 62.73.7.254 and adding a new route through 10.1.5.30
Oct 19 10:56:49 check_reload_status: reloading filter
Oct 19 10:56:49 php: /system_gateway_groups.php: ROUTING: change default route to 10.1.5.30These are not abnormals as I made changes.
There's also a stranger message :
@System:Oct 19 10:56:50 php: : Gateways status could not be determined, considering all as up/active.
But according to the message, it should work.
Status > Gateways displays "online" or "Warning, latency" correctly. But Status > Gateways > Groups data is "(GWx), Gathering data" and never changes.
What should be displayed in this table is not nicely described in the doc. -
They should all say "online" and not "gathering data", which may be part of the problem. There have been a lot of gateway fixes lately, so it's critical to be on the most current snapshot when working with gateway groups and such.
-
They might say 'Gathering dataโฆ' for ~10seconds after that if it does not changes means there is an error.
Possibly a restart would fix it.But i think you are on an older snapshot so upgrade first.
-
I just updated to the last build.
The Status > Gateways > Groups table now displays correct datas ("Online").
The traffic is still only on GW1. GW2 and/or GW3 are not used.
edit : clarify the post.
-
We'll need a screenshot of your LAN firewall rules tab then, and the contents of /tmp/rules.debug would also help.
-
I just removed GW1 from the pool, for test purposes.
flushing states table -> Still GW1 used.
I noticed that now (probably after the upgrade) all GWs are marked as "Default" on System > Routing.
I tried to uncheck the box, but all GW are still "Default" after applying the changes.
I tried to reboot the server, but nothing changed.Summary :
- My pool is composed of GW2 & GW3
- All the connections are made on GW1
- All GW are marked as default, and I can't remove this mark
- All GW are up and detected as such in all tables.
- The GW Group table displays correctly "online" state.
P.S. : I've seen your post, doing it now.
-
Here are the files
![fw rules.PNG](/public/imported_attachments/1/fw rules.PNG)
![fw rules.PNG_thumb](/public/imported_attachments/1/fw rules.PNG_thumb)
tmp_rules.debug.txt -
Jimp, did you see something wrong ?
I think the configuration is very basic.I you want me to reset all the config, feel free to ask.
-
Try without sticky-address or from 2 different hosts on LAN.
-
It does look fairly basic, aside from the fact that all three gateways are on the same interface. I'm not sure if that is causing an issue or not, but as ermal said, try it without sticky checked under advanced options, see if that makes a difference.
-
Ok, I tried deactivating sticky-connections and the problem remains the same.
Does pfSense shouldn't manage multiple GWs from the same interface ?
-
It should work, in theory, but I'm not sure if anyone has thoroughly tested that scenario using them for WAN-type gateways.
-
Hi,
I received hardware pieces to have 1 if per GW ant it works now.
No more erroneous information (like every GW displayed as default).I think there's a bug with this scenario. :)
I let you tag this thread as resolved or not (I'm not sure if it should be set as resolved).