Community discussions

MikroTik App
 
pochbba
newbie
Topic Author
Posts: 26
Joined: Mon Jun 19, 2006 10:00 pm
Location: Argentina

NTH

Wed Aug 16, 2006 12:52 am

I need to know what´s the nth for a loadbalancing of 8 lines

for 2 is 1,1,0 1st
1,1,1 2nd

for 3 is 2,4,0 1st
2,4,1 2nd
2,4,2 3rd

tnx
 
User avatar
Eugene
Forum Veteran
Forum Veteran
Posts: 986
Joined: Mon May 31, 2004 5:06 pm
Location: Cranfield, UK

Wed Aug 16, 2006 11:00 am

7,5,0
7,5,1
7,5,2
7,5,3
7,5,4
7,5,5
7,5,6
7,5,7
 
pochbba
newbie
Topic Author
Posts: 26
Joined: Mon Jun 19, 2006 10:00 pm
Location: Argentina

Thu Aug 17, 2006 2:48 am

thnx man.. thank you a lot, you saved my job :D
 
lbreukelman
just joined
Posts: 8
Joined: Wed Sep 14, 2005 6:02 pm

The counter

Tue Aug 22, 2006 12:20 pm

Eugene, using the Nth function to mark pkts is a great feature and i would like to understand this function better with your help please.

The "every" option in a load balancing example would depict the number of gateways for a network that you would like to use.

The "packet" option will choose which packet to mark and in a simple loadbalancing setup will mark 1 pkt/gw thus the "packet" option will also be equal to the number of gw's starting from 0 and ending on the number equal to the amount of gw's.

The "counter" option though i do not understand clearly. Please will you explain the counter function using a simple load balancing scenario?
 
User avatar
Eugene
Forum Veteran
Forum Veteran
Posts: 986
Joined: Mon May 31, 2004 5:06 pm
Location: Cranfield, UK

Tue Aug 22, 2006 12:23 pm

"counter" is just a counter. nothing more. it should be the same for all rules targeting the same flow.
 
lbreukelman
just joined
Posts: 8
Joined: Wed Sep 14, 2005 6:02 pm

Tue Aug 22, 2006 12:56 pm

how would you decide the number to use for the counter setting?
 
User avatar
Eugene
Forum Veteran
Forum Veteran
Posts: 986
Joined: Mon May 31, 2004 5:06 pm
Location: Cranfield, UK

Tue Aug 22, 2006 2:23 pm

at random.
 
User avatar
Alessio Garavano
Member
Member
Posts: 306
Joined: Sat May 29, 2004 12:49 am
Location: Corrientes, Argentina
Contact:

Tue Sep 26, 2006 7:08 pm

at random.
Hi Eugene, to 6 WAN would be:

5,3,0
5,3,1
5,3,2
5,3,3
5,3,4
5,3,5
?
And the marks may be only thats 2? odd and even?
or would be:
wan1 to 5,3,0
wan2 to 5,3,1
wan3 to 5,3,2
and continously?

Thanks and Best Regards!
Alessio
 
User avatar
Eugene
Forum Veteran
Forum Veteran
Posts: 986
Joined: Mon May 31, 2004 5:06 pm
Location: Cranfield, UK

Tue Sep 26, 2006 8:33 pm

5,3,0
5,3,1
5,3,2
5,3,3
5,3,4
5,3,5
exactly

Routing marks should be:

wan1 to 5,3,0
wan2 to 5,3,1
wan3 to 5,3,2
...

(assuming you want to load-balance across 6 links, not just 2)
 
User avatar
Alessio Garavano
Member
Member
Posts: 306
Joined: Sat May 29, 2004 12:49 am
Location: Corrientes, Argentina
Contact:

Wed Sep 27, 2006 12:49 am

5,3,0
5,3,1
5,3,2
5,3,3
5,3,4
5,3,5
exactly

Routing marks should be:

wan1 to 5,3,0
wan2 to 5,3,1
wan3 to 5,3,2
...

(assuming you want to load-balance across 6 links, not just 2)
Thanks! it is working excellent!
Regards!
Alessio

Who is online

Users browsing this forum: No registered users and 10 guests