Community discussions

MikroTik App
 
Ghaith
just joined
Topic Author
Posts: 8
Joined: Sun Apr 22, 2007 9:21 am
Location: Iraq, Baghdad
Contact:

ideal bandwidth limit for each user

Thu May 10, 2007 9:34 am

what's the ideal bandwidth I should permit for each user, note that my internet service is dedicated 512/256 and I have around 70 users in total, around 30 comes online at one time. how can I give them the Max (Ideal) bandwidth ,,, what's the script I should use in bandwidth limits in that profile!

thanks,
ghaith
 
User avatar
winxp2000
Member Candidate
Member Candidate
Posts: 113
Joined: Mon Jan 30, 2006 8:57 pm
Location: China
Contact:

Thu May 10, 2007 10:34 am

It not need any srcipt for limit

just make a simple queue will work fine
 
Ghaith
just joined
Topic Author
Posts: 8
Joined: Sun Apr 22, 2007 9:21 am
Location: Iraq, Baghdad
Contact:

Thu May 10, 2007 12:10 pm

so what's my main question's answer? what's the ideal bandwidth I should assigne to users?

thanks,
Ghaith
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Thu May 10, 2007 12:32 pm

use simple queue and PCQ queue type, that will scale to how many users you have and divide traffic evenly
 
User avatar
guaidetian
just joined
Posts: 15
Joined: Wed May 09, 2007 6:52 am
Location: zhengzhou;henan;china

Thu May 10, 2007 12:41 pm

why not use PCQ?
it can average your bandwidth to online user
 
Ghaith
just joined
Topic Author
Posts: 8
Joined: Sun Apr 22, 2007 9:21 am
Location: Iraq, Baghdad
Contact:

Thu May 10, 2007 12:49 pm

I went to simple queues and there was queue for each user, what should I do now?

thanks for help
 
Ghaith
just joined
Topic Author
Posts: 8
Joined: Sun Apr 22, 2007 9:21 am
Location: Iraq, Baghdad
Contact:

Thu May 10, 2007 4:19 pm

All ...
thanks a lot for info. , it was really helpful.

regards,
Ghaith
 
skynoc
Member Candidate
Member Candidate
Posts: 140
Joined: Wed Jul 07, 2004 10:20 pm
Contact:

Wed May 16, 2007 4:04 am

PCQ is better for your situation
or you must give each client no more than 16k/64k as i m doing
 
skynoc
Member Candidate
Member Candidate
Posts: 140
Joined: Wed Jul 07, 2004 10:20 pm
Contact:

Wed May 16, 2007 4:07 am

/queue type add name="pcq" kind=pcq pcq-rate=0 pcq-limit=70 pcq-classifier="" pcq-total-limit=2000
 
Ghassan
Member Candidate
Member Candidate
Posts: 213
Joined: Mon May 29, 2006 11:08 pm
Location: Lebanon
Contact:

Thu May 17, 2007 11:10 am

I am sure it is good idea but if you are out of bandwidth , because of how many users you have ...



Ghassan
 
Ghassan
Member Candidate
Member Candidate
Posts: 213
Joined: Mon May 29, 2006 11:08 pm
Location: Lebanon
Contact:

Thu May 17, 2007 11:14 am

PCQ is better for your situation
or you must give each client no more than 16k/64k as i m doing

64K is more quicker than dial up but I am sure that i have a good way of delivering reliable connection to your customers which load their pages quicker but i do not know if 64K is fast as you want your customers to have quick surfing but I agree with limiting their downloads to 64K but make sure they can get 128K as surfung pages :wink:
 
trtmrt
Frequent Visitor
Frequent Visitor
Posts: 62
Joined: Fri Aug 04, 2006 3:44 pm

Thu May 17, 2007 11:48 am

add proxy serve like MUST!
on small link ... proxy rulez :)
 
User avatar
macgaiver
Forum Guru
Forum Guru
Posts: 1768
Joined: Wed May 18, 2005 5:57 pm
Location: Sol III, Sol system, Sector 001, Alpha Quadrant

Thu May 17, 2007 3:27 pm

/queue type add name="pcq" kind=pcq pcq-rate=0 pcq-limit=70 pcq-classifier="" pcq-total-limit=2000
Incorrect - Tou need 2 PCQ types

one for client download - pcq-classifier=dst-address ( whole subnet will be devided into streams based on dst-address)

other for client upload - pcq-classifier=src-address ( whole subnet will be devided into streams based on src-address)


in your case (without pcq-classifier) it shouldn't be working at all!!!!!
 
User avatar
macgaiver
Forum Guru
Forum Guru
Posts: 1768
Joined: Wed May 18, 2005 5:57 pm
Location: Sol III, Sol system, Sector 001, Alpha Quadrant

Thu May 17, 2007 3:31 pm

All ...
thanks a lot for info. , it was really helpful.

regards,
Ghaith

Yes it works but now you have strict limitations - and if at night only one user is up he will get only his limit,

Put with PCQ you can be sure that everybody who is online will get equal part of the trunk - if 70 then 1/70, if only 10 then 1/10, if 2 then half of the traffic
 
Ghassan
Member Candidate
Member Candidate
Posts: 213
Joined: Mon May 29, 2006 11:08 pm
Location: Lebanon
Contact:

Thu May 17, 2007 4:56 pm

Skynoc.

you are not answering the question!

read carefully .
 
Ghassan
Member Candidate
Member Candidate
Posts: 213
Joined: Mon May 29, 2006 11:08 pm
Location: Lebanon
Contact:

Thu May 17, 2007 5:02 pm

make sure they are :

;;; for pcq download
name=pcq-download" kind=pcq pcq-rate=0 pcq-limit=50 pcq-classifier="dst-address" pcq-total-limit=2000

;;; for pcq upload
name=pcq-download" kind=pcq pcq-rate=0 pcq-limit=50 pcq-classifier="src-address" pcq-total-limit=2000



Ghassan
 
User avatar
macgaiver
Forum Guru
Forum Guru
Posts: 1768
Joined: Wed May 18, 2005 5:57 pm
Location: Sol III, Sol system, Sector 001, Alpha Quadrant

Fri May 18, 2007 10:01 am

make sure they are :
;;; for pcq download
name=pcq-download" kind=pcq pcq-rate=0 pcq-limit=50 pcq-classifier="dst-address" pcq-total-limit=2000

;;; for pcq upload
name=pcq-download" kind=pcq pcq-rate=0 pcq-limit=50 pcq-classifier="src-address" pcq-total-limit=2000
Ghassan
Didn't I just say that???
Ghassan try to post less posts and more necessary information plz!

Ether way - I suggest to use pcq-limit=20 and pcq-total-limit=20x<number of users>
 
sojicmk
Frequent Visitor
Frequent Visitor
Posts: 52
Joined: Fri May 04, 2007 4:32 pm

Fri May 18, 2007 11:10 am

I need limiting also, but....

I have 1MB didicated.

Users connectiong over PPPoE.

I want to limit user1, user2, user5 with 256/256
user3, user4, user7 512/512
userX, userY 1024/1024

How to do this?

Also, I want to use RADIUS server, but I do not know how to "connect" pppoe server with radius.
 
User avatar
macgaiver
Forum Guru
Forum Guru
Posts: 1768
Joined: Wed May 18, 2005 5:57 pm
Location: Sol III, Sol system, Sector 001, Alpha Quadrant

Fri May 18, 2007 1:53 pm

If you have only 10 users then use simple queues :) But if you have 100 then you vill have to create PCQ queues for each type of users :)

Who is online

Users browsing this forum: jvanhambelgium, Techsystem, vingjfg, yonutm and 26 guests