Load balancing seems to get stuck
-
Theres just so many things wrong its hard to know where to begin with. First of all all your lan rules (except the first one) match all of the traffic. That means the first rule gets driven and the rest of the are just ignored. So everything under Wan1Failover2 is useless. Use the balancerule as the default,bottom rule, that matches all thats not specified.
For your cod4 problem, you can match the traffic (like you have for ssh, https etc) and make them use a failover gw. That way the connections will usually go for example to your wan1 but if wan1 is down you can still game through wan2.
BTW, you do realize that you need separate gateways (=ip's) for every wan?
Last statement, course, I have two modems.
I was just following that, and I knew they went in order, it never made quit clear sense what was happening. However, I thought it could work, because those firewall rules are only activated when high latency or packetloss is reported. Is this correct?
Will try the sticky connections option, looks like a nice cheap fix that I will try out. (I've already gotten rid of all the filewall rules except the load balance)
-
Those rules never got activated and the topmost rule was always used. If you had configured the gw groups to function according to latency then it might have been ok.
Two modems doesn't mean two gateways. With same isp and connection type you could have two connections with the same gateway.
I have never bothered with sticky connections and have lan rules with specified gateways, but it should work as you wanted
-
One last question, how do I give each modem a static ip? They are both 192.168.100.1
If I go to 192.168.100.1, I have to refresh to get to the right modem and what not.
If I go to the interfaces and select static and set the gateway as itself, and put that ip in my browser, it takes me to the pfsense page ;?
EDIT: Was able to chance the lan ip of the modem through it's interface.
-
Actually I take that back, sometimes 192.168.100.2(OPT1) doesn't load.
However, when plugged into my laptop, it works at all times.It loads at other times, what's going on? The net still works on it though even when I can't connect to the LAN ip.
Also one last thing, on sticky connections my speedtest.net result is only using 1 modem. Without sticky connections, it uses both modems and I get a much higher result. Just a lil word out to anyone else.
-
Also one last thing, on sticky connections my speedtest.net result is only using 1 modem. Without sticky connections, it uses both modems and I get a much higher result. Just a lil word out to anyone else.
No it doesn't. speedtest.net uses one TCP connection, it's impossible to send that out two connections (short of ISP involvement like MLPPP or BGP).
-
@cmb:
Also one last thing, on sticky connections my speedtest.net result is only using 1 modem. Without sticky connections, it uses both modems and I get a much higher result. Just a lil word out to anyone else.
No it doesn't. speedtest.net uses one TCP connection, it's impossible to send that out two connections (short of ISP involvement like MLPPP or BGP).
Actually speedtest seems to using multiple connections but for me (2x100Mbps) it never maxes out before ending testing.
-
@cmb:
Also one last thing, on sticky connections my speedtest.net result is only using 1 modem. Without sticky connections, it uses both modems and I get a much higher result. Just a lil word out to anyone else.
No it doesn't. speedtest.net uses one TCP connection, it's impossible to send that out two connections (short of ISP involvement like MLPPP or BGP).
Actually speedtest seems to using multiple connections but for me (2x100Mbps) it never maxes out before ending testing.
One last question, how do I give each modem a static ip? They are both 192.168.100.1
If I go to 192.168.100.1, I have to refresh to get to the right modem and what not.
If I go to the interfaces and select static and set the gateway as itself, and put that ip in my browser, it takes me to the pfsense page ;?
EDIT: Was able to chance the lan ip of the modem through it's interface.
Thats something you should know and has nothing to do with pfsense. Wonder how they are now 192.168.100.1 and in the first post gw addresses began with a 7 :)
-
How does it not have to do with pfsense? The page loading to 192.168.100.2 or sometimes 192.168.100.1 is very slow, or the connection does not connect. Works at other times, not the modems.
-
ok ok!
i have one question for the rules with failover
i need only one rule ? and why is everything ignored under this rule? i think, this rule is only for - when first is down - use second gateway ! ???
what i need ???
a balance rule on top –> at second the failover rule --> at the end my other rules?
or it is wrong? because all is match by failover and all other rules dont match????
and second point:
i have to create both gateway failover groups, but i need only one rule for this in firewall ???
thanks for helping...
-
Just to clear my issue up, to fix the slow loading just go to the LAN firewall rules, and make a rule for 192.168.100.1 and 192.168.100.2 and bind 192.168.100.1 to WAN1, and 192.168.100.2 to WAN2. (192.168.100.1's gateway will be WAN1, 192.168.100.2 will be OPT1)