I was reviewing the various load-balancing options for multiple links (ECMP, PCC, nth), and they all seem reasonable.
What I’m wondering is with each line being 15/2, whether the matter of which method is most efficient comes into play. Hardware is the RB2011.
Also I’d really like to shoot for the most seamless end user experience over speed - the air links on the other side of this are not incredibly high-bandwidth, so strict per-packet is not really going to give people better speed. More important is that their Netflix, SSL-secured banking sessions, and VoIP work without interruption when the 10 minute route table flush happens
If 3 out of 4 lines go down, I still want everyone running through the remaining circuit.
as c0d3rSh3ll mentions, PCC is what i am using with both addresses and ports being used. As for seamless for the user, it works 95% of the time without any issues… I have had to set up a set of rules to send specific addresses over a specific connection, mainly for issues with session state… for example, the mikrotik forums do not like you hitting them from different addresses, so i needed to tell my router to send all traffic going to the mikrotik routers though a particular WAN link…
There is no BEST load-balancing method. Which one you choose should depend on your needs and what connections you have.
If the connections are 1:1 speed-wise, PCC will be good, if they are un-similiard, then bandwidth-based will be better.
I need to use VPN (IPsec attempted) to connect 4 routers for WISP monitoring purposes. I cannot figure out how to ‘require’ the VPN connections to use one WAN over the other.
Is it impossible using Tomas’s load balancing system?
If you are talking about IPSec responder:
The responder will use the WAN on which the IPSec connection is establisthed.
That is handled by the WAN->ROS mangle chain already.
If you are talking about the IPSec iniciator:
Simply create a route in the main routing table for the IPSec responder’s IP and point that route out a specific gateway.
Or work it into the mangle, but by default, ROS itself uses the main routing table in my setup.
There is no simple answer to your question, it depends on your configs and topology.
Go through the presentation and the video, study it a bit, learn and test.
Then if you undrstand how it works, the things I wrote in the last post will tell you how to solve your problem.
Its better in the long run to learn it
I have found issues with what I call dynamic load balancing techniques as explained above. Like pcc etc. Things like making sure some connections always use the same wan add a layer of complexity. My method is simply deviding the client ip address,s into blocks and sending them out to different wants with simple mangle and routing rules
First, thanks all for the info and discussion. PCC looks like the best fit.
However, the above quoted post sounds interesting - I’m dealing with 4 equal speed links, and with all the CPE running at relatively low speeds (compared to the individual backhaul links), so divvying things up based on the source IP seems like it would help with my main goal which is to not cause chaos with those visiting any sites that don’t like a client switching IPs mid-session. From what I see, it’s not terribly difficult to incorporate that source IP scheme with failover, so if one link drops, the subs passing over that link failover to another.
Hi and Thank you for this post
I have a problem with PCC.
We have 4 unequal WAN connection from different ISPs. I config our RB2011U for PCC loadBalancing according to the MikroTik website article (http://wiki.mikrotik.com/wiki/Manual:PCC) and everything is good.
But I have 2 questions :
How can I route the traffic of a specific host (192.168.1.50) from LAN to WAN1 link forever?
How can I force FTP traffic go through WAN2 link and use WAN3 link as failover link?
This is my config:
i reading your Load balance Bandwidth base Method(MUM_US12) http://mum.mikrotik.com/presentations/US12/tomas.pdf
but i don’t understand this
i connect internet by PPPoe-Client(pppoe-out1,2,3) and I have to do anything at this stage ?
thank you
i have a question but if i have internet 3 line ? in your LB bandwidth based method
i must set in tool–> Traffic monitor ?
if it have 2 internet line ok i understand