Community discussions

MikroTik App
 
dan@cmsinter.net
newbie
Topic Author
Posts: 48
Joined: Fri Sep 24, 2004 6:53 pm

Simple Queues

Mon Sep 18, 2006 8:41 pm

Is there any way to improve on the way I am doing my traffic shapping?

Lets say I want to limit a block of addresses,

I currently create a simple queue for each address in the block of addresses, (which is usaully hundreds) and I create them using a script.

Is there any way I can shorten this up, say in one simple queue, utilizing an address list or something simular?

Thanks,
Dan-
 
savage
Forum Guru
Forum Guru
Posts: 1263
Joined: Mon Oct 18, 2004 12:07 am
Location: Cape Town, South Africa
Contact:

Mon Sep 18, 2006 10:02 pm

pcq?
 
dan@cmsinter.net
newbie
Topic Author
Posts: 48
Joined: Fri Sep 24, 2004 6:53 pm

Mon Sep 18, 2006 10:43 pm

Ahh excellent, I dont remember seeing that in the manual..

Any examples for setting it up?

Thanks!
dan-
 
dan@cmsinter.net
newbie
Topic Author
Posts: 48
Joined: Fri Sep 24, 2004 6:53 pm

Mon Sep 18, 2006 11:02 pm

Ok, I see alot of posts on the forum about PCQ,

but I still have one question:

I have a group of IP's, I want to give each user a set amount,
say 1000k x 1000k

Will PCQ do this? I dont want all users sharing a "bandwitdh pool" I want them all gauranted the same.

Thanks,
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6695
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Tue Sep 19, 2006 9:07 am

Dan, PCQ allows to accomplish requested scenario.
Configuration example,
http://wiki.mikrotik.com/wiki/PCQ_Examples
 
dan@cmsinter.net
newbie
Topic Author
Posts: 48
Joined: Fri Sep 24, 2004 6:53 pm

Tue Sep 19, 2006 9:48 pm

Ok, I wanted to make sure pcq didn't pull from a "parent" bandwdth.

Thanks!
dan-
 
User avatar
maroon
Member Candidate
Member Candidate
Posts: 230
Joined: Thu Oct 07, 2004 11:15 am
Location: Lebanon
Contact:

Wed Sep 20, 2006 6:05 pm

I currently create a simple queue for each address in the block of addresses, (which is usaully hundreds) and I create them using a script.
please can u send us tht script

thnks in advance

Reagrds,
 
dan@cmsinter.net
newbie
Topic Author
Posts: 48
Joined: Fri Sep 24, 2004 6:53 pm

Mon Sep 25, 2006 7:22 pm

:for i from=2 to=254 do={/queue simple add target-address=(x.x.x. . $i . "/32") max-limit=up/down}

replace up and down with your rates.

replace x.x.x with your ip's

Example
target-address=(10.10.10. . $i . "/32")

when put in the above statement,

will create simple queue for 10.10.10.2 through 254

-dan

Who is online

Users browsing this forum: Google [Bot], techcomtecnico and 149 guests