Community discussions

MikroTik App
 
hema999
just joined
Topic Author
Posts: 20
Joined: Fri Oct 14, 2011 2:59 pm

nth load balancing with unequal speeds Mangle config

Fri Oct 14, 2011 3:07 pm

Hi people ,,

I'm using ver.3 & doing a NTH load balance in 2 internet lines ( 1: 2mb , 2: 1mb )

but the traffic from both lines is equal !

I knew that there is a problem with the mangle rules but I don't know how to solve it :)

here is my mangle rules :

/ ip firewall mangle
add chain=prerouting in-interface=lan connection-state=new nth=2,1 action=mark-connection new-connection-mark=conn1 passthrough=yes comment="" disabled=no
add chain=prerouting in-interface=lan connection-mark=conn1 action=mark-routing new-routing-mark=conn1 passthrough=no comment="" disabled=no
add chain=prerouting in-interface=lan connection-state=new action=mark-connection new-connection-mark=conn2 passthrough=yes comment="" disabled=no
add chain=prerouting in-interface=lan connection-mark=conn2 action=mark-routing new-routing-mark=conn2 passthrough=no comment="" disabled=no

need help ...
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: nth load balancing with unequal speeds Mangle config

Fri Oct 14, 2011 4:17 pm

Don't use nth. Use PCC.
 
hema999
just joined
Topic Author
Posts: 20
Joined: Fri Oct 14, 2011 2:59 pm

Re: nth load balancing with unequal speeds Mangle config

Fri Oct 14, 2011 5:42 pm

Can't NTH be configured to work well with my two line ?

I don't wanna return to PCC cause it's not good with the browsing !
 
User avatar
nickshore
Long time Member
Long time Member
Posts: 521
Joined: Thu Mar 03, 2005 4:14 pm
Location: Suffolk, UK.
Contact:

Re: nth load balancing with unequal speeds Mangle config

Fri Oct 14, 2011 5:45 pm

Add a second mangle rule for your faster line

so it gets twice as many packets using the nth rules.
 
hema999
just joined
Topic Author
Posts: 20
Joined: Fri Oct 14, 2011 2:59 pm

Re: nth load balancing with unequal speeds Mangle config

Fri Oct 14, 2011 8:56 pm

I thought of that ,

but don't know how to set the values ,,

(nth=2,1) in line one , will I change it ?
&&&
what would be the values in the new added line ?
 
hema999
just joined
Topic Author
Posts: 20
Joined: Fri Oct 14, 2011 2:59 pm

Re: nth load balancing with unequal speeds Mangle config

Sun Oct 16, 2011 2:17 am

where are you guys ??

Who is online

Users browsing this forum: Google [Bot], jlsoporteisp, pajapatak and 35 guests