Community discussions

MikroTik App
 
lukkes
Member Candidate
Member Candidate
Topic Author
Posts: 177
Joined: Mon Jun 16, 2008 2:12 am
Location: Venezuela
Contact:

load balance nth config

Tue Apr 07, 2009 9:30 pm

good morning dudes, i'm balancing wery well with nth 2,1 and nth 1,1 routeros version 3.0, i need to balance 8 wans, how is the correct nth config for 8 wans? thanks
 
dconnrt
Frequent Visitor
Frequent Visitor
Posts: 65
Joined: Mon Jul 28, 2008 10:53 pm

Re: load balance nth config

Tue Apr 07, 2009 11:33 pm

Hi Lukkes,

I'm also very interested in this too. This weekend I'm planning on trying out load balancing with a 493AH with 8 X ADSL lines (only choice in a remote location with no "proper" IP feed).

Derek
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7195
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: load balance nth config

Wed Apr 08, 2009 12:15 pm

How NTH works in v3.x is explained in this wiki article.
http://wiki.mikrotik.com/wiki/NTH_in_RouterOS_3.x
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26933
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: load balance nth config

Wed Apr 08, 2009 12:15 pm

 
lukkes
Member Candidate
Member Candidate
Topic Author
Posts: 177
Joined: Mon Jun 16, 2008 2:12 am
Location: Venezuela
Contact:

Re: load balance nth config

Thu Apr 09, 2009 6:14 am

Thanks a lot for your answer, i've read alot of times the iki but really dont understand, somebody can explainme detailed how it works, and much better if somebody knows the config for 8 wans? thanks again
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7195
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: load balance nth config

Thu Apr 09, 2009 10:41 am

OMG .. the same example as in wiki except you will have 8 rules instead of 3 and nth from 1 to 8. Thats it.

/ip firewall mangle
add action=mark-packet chain=prerouting new-packet-mark=1 nth=8,1 passthrough=yes;
add action=mark-packet chain=prerouting new-packet-mark=2 nth=8,2 passthrough=yes;
add action=mark-packet chain=prerouting new-packet-mark=3 nth=8,3 passthrough=yes;
add action=mark-packet chain=prerouting new-packet-mark=4 nth=8,4 passthrough=yes;
add action=mark-packet chain=prerouting new-packet-mark=5 nth=8,5 passthrough=yes;
add action=mark-packet chain=prerouting new-packet-mark=6 nth=8,6 passthrough=yes;
add action=mark-packet chain=prerouting new-packet-mark=7 nth=8,7 passthrough=yes;
add action=mark-packet chain=prerouting new-packet-mark=8 nth=8,8 passthrough=yes;
 
lukkes
Member Candidate
Member Candidate
Topic Author
Posts: 177
Joined: Mon Jun 16, 2008 2:12 am
Location: Venezuela
Contact:

Re: load balance nth config

Fri Apr 10, 2009 7:21 pm

thanks dude, i think the same of you, but in the wiki tak about the passthrough and f is on or off change the match of the rule, maybe somebody has tested, anyway i will try with your help, thanks again