Community discussions

MikroTik App
 
Nitrious
just joined
Topic Author
Posts: 23
Joined: Thu Apr 28, 2011 4:56 pm

Feature Request : Load balancing

Thu May 19, 2011 9:46 am

I'd like see additional load balancing based on the following

Bytes (tx , rx)
Packets (tx , rx)
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7198
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: Feature Request : Load balancing

Thu May 19, 2011 10:03 am

Load balancing by packets - nth.
 
Sanity
Member Candidate
Member Candidate
Posts: 198
Joined: Sun Mar 06, 2011 8:51 am

Re: Feature Request : Load balancing

Thu May 19, 2011 2:32 pm

Load balancing by packets - nth.
Yeah,. Which is as primitive as it gets. Zero dynamics, needs tons of complex scripting to readjust with one link down etc.

What about you add:

* A feedback look to distribute by someweight per link? No more manual configuration.

Better:

* Get real on MLPPP. Client, server. Then load balancing over multiple links + handling all the issues left and right would just work.

If you adda pure priority queue (one that does not require us to set a limit - just handle higher priority packets FIRST, drop once some item goes over length limit) and you get full load balancing using 100% of the bandwidth all the time ;) Without tons of complex scripts.
 
User avatar
macgaiver
Forum Guru
Forum Guru
Posts: 1770
Joined: Wed May 18, 2005 5:57 pm
Location: Sol III, Sol system, Sector 001, Alpha Quadrant

Re: Feature Request : Load balancing

Thu May 19, 2011 3:59 pm

:) As usual, i think you need to find actual accepted RFCs, to get some normal discussion starting.

Sorry, but so far this topic looks like "Make my router so that it will configure itself and exactly like i need"
 
Nitrious
just joined
Topic Author
Posts: 23
Joined: Thu Apr 28, 2011 4:56 pm

Re: Feature Request : Load balancing

Thu May 19, 2011 6:59 pm

:) As usual, i think you need to find actual accepted RFCs, to get some normal discussion starting.

Sorry, but so far this topic looks like "Make my router so that it will configure itself and exactly like i need"
I agree with your statement, I would like load balancing to be a simpler, easier feature. (never heard about ppl complaining about something being easier to do) :)

but having said that, let me state my requirement.

voip load balancing over multiple wans (adsl x 2 for the sake of arguement)
voip gateway x 1 with 8 accounts.
adsl modems x 2
RB 750 x 1

so 1 sip server ip, ports 5060 (each voip account increments by one) so 5060 - 5067 and rtp for actual call.
I'd like to load balance by packet, or rtp session and have struggled to get it working thus far. (this may well be knowledge based, or lack thereof)

So can nth send a packet to each wan , from the same voip call, in sequence ?, or send a voip call session to each wan based on how many are currently active and keep the sessions balanced across both wans ? with failover ?

This is what i'm looking for.
 
Sanity
Member Candidate
Member Candidate
Posts: 198
Joined: Sun Mar 06, 2011 8:51 am

Re: Feature Request : Load balancing

Fri May 20, 2011 6:36 am

:) As usual, i think you need to find actual accepted RFCs, to get some normal discussion starting.

Sorry, but so far this topic looks like "Make my router so that it will configure itself and exactly like i need"
MLPPP isnot only a RFC but widely accepted, too ;) PPTP with ML capabilities would solve half the problems.

A low cost router like from AVM can do prioritization (only 3 priorities) using up a link without (!) knowing its speed (pure priority queue, i tried Lan/wan mode, not using the internal modem).
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7198
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: Feature Request : Load balancing

Fri May 20, 2011 1:00 pm

each RTP session is separate connection in connection tracking. So theoretically you can use nth to mark connections and do session based load balancing.
 
Nitrious
just joined
Topic Author
Posts: 23
Joined: Thu Apr 28, 2011 4:56 pm

Re: Feature Request : Load balancing

Fri May 20, 2011 3:49 pm

each RTP session is separate connection in connection tracking. So theoretically you can use nth to mark connections and do session based load balancing.

Done as indicated and its working well. Thanks for all comments and suggestions.

Edit : After some testing , it tends to load balance the sessions as it should, but its not perfect ,often bundling 2 to 3 sessions onto one adsl, leaving the other adsl idle.