Hello,
Im new to MikroTik and I just wanted to know a little something abut load balancing.
I have 2 different connections through different gateways and I have set up load balancing between them. Seems it works but i want to make something clear. If i can download from these connections 512kb/s from each connection, is it possible to set up load balancing in that way that i can download with 1024kb/s from one of the cients? This means the client uses both gateways at the same time.
Is it possible, yes. Depending on your configuration, can MT do it, thats harder.
If you use PPPoE sessions, or raw static IPs, then the answer is no. If you have control of the other end of the connection, such as having the ability to put your own MT in, then yes.
If you use PPPoE, load balancing works fine, but you will never have more than 1 connection with a speed over 512k.
However, as you grow, and add more and more users, more and more connections will better use the load balanced connections. If you wish, you can add more!
The problem with using 2 WAN side data lines to do load balancing is that the router will flip back and forth between the 2 WAN’s, and the LAN side will report first to one WAN address, then the other. IF you are using SSL, you lose your connection as soon as it flips. There is no good way to get around this. You can assign one group of customers to one WAN, and another group to the other WAN, that’s about as good as it gets.
That is the same as what I said, route to one WAN only. You don’t have load balancing at that point, just a redirect to one WAN. Most people hope load balancing will get you 2X speed when using multiple WAN’s, but the IP flipping can knock you off in SSL connections.
The answer is NO rigjt? I just wanted to know that. I have set up load balancing so in different IP ranges i use different WAN gateways eg. users with IPs from 192.168.1.1 - 192.168.1.125 use gateway from ISP1 and other users from IPs 192.168.1.125 - 192.168.1.253 use the second ISP.
But i asked if i can double my connection speed and reduce my loss percentage eg. if from ISP1 the loss percentage is 0.1% and ISP2’s is 0.1% the loss percentage to the user would be 0.01%
Another question. CAN I DO THIS WITH THE SAME GATEWAY(DOUBLE CONNECTION SPEED)?
Why you keep your connections persastant See the Wiki posted above. You can very easily use this, it does work and it works quite well when setup. The only question that was asked was specifically, why don’t he get 1meg when he has two 512 k connections.
He won’t, not unless MT comes out with MLPPP soon! (btw I hope)
YOu can’t do it if the gateway is on the same subnet.
Gentlemans i have a questions for you, how to do load balance with failover with two ADSL modems if ip’s in wan are dhcp asigned? can you give me an example? with ip in wan in dhcp asigned with 2 ADSL modems?
regards