Community discussions

MikroTik App
 
wissammohamed
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 85
Joined: Fri Jan 05, 2007 3:29 pm

can i do this in MT

Mon Feb 19, 2007 1:00 am

hi guys

my Internet BW is 512kps down /256kps up
i need to divid Equally the BW for active users Automatically
EX
when 10 users is active the BW for each one is 51.2kps down / 25.6kps up
when 20 users is active the BW for each one is 25.6kps down / 12.8kps up

thanx
Last edited by wissammohamed on Mon Feb 19, 2007 1:15 am, edited 1 time in total.
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7188
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Mon Feb 19, 2007 1:13 am

I think pcq is what you need ;)

http://wiki.mikrotik.com/wiki/PCQ_Examples
 
ferry
Frequent Visitor
Frequent Visitor
Posts: 75
Joined: Mon Jan 15, 2007 11:59 am

PCQ

Mon Feb 19, 2007 4:56 am

Yes, mrz your link is good. But mr wissammohamed says that he want to flexible his connection.. ex : 10 connextion or 20 connection, the entire network must have the equal bw. Can anyone suggest the script for this??, coz i didn't understand about how to script.... :lol:
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Mon Feb 19, 2007 9:28 am

I think pcq is what you need ;)

http://wiki.mikrotik.com/wiki/PCQ_Examples
this is the solution
 
User avatar
samsoft08
Long time Member
Long time Member
Posts: 613
Joined: Sat Nov 26, 2005 10:52 pm

Mon Feb 19, 2007 3:55 pm

just a question about PCQ :

does PCQ only divide the connections equally , what if there is some connections are much higher in download rate ?
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7188
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: PCQ

Tue Feb 20, 2007 12:04 am

Yes, mrz your link is good. But mr wissammohamed says that he want to flexible his connection.. ex : 10 connextion or 20 connection, the entire network must have the equal bw. Can anyone suggest the script for this??, coz i didn't understand about how to script.... :lol:
You don't need scripts at all, PCQ adds dynamic queue for each active user, and divides available bandwidth equally among all users.
does PCQ only divide the connections equally , what if there is some connections are much higher in download rate ?
Lets say we have 3 users and total bandwidth is 3mbit/s.
Users one and two are browsing the web, reading emails etc., they both are using (lets say) 1Mbit/s, not more. Third user is downloading something and he gets 2Mbit/s (all bandwidth that is not used)
But if all three users want to download something at the same time, they all get 1Mbit/s, as PCQ dynamically equalizes traffic.
 
wissammohamed
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 85
Joined: Fri Jan 05, 2007 3:29 pm

Tue Feb 20, 2007 4:51 pm

thanx for everyone whos replay to me

i cearte this rule from this example
http://wiki.mikrotik.com/wiki/PCQ_Examples

[admin@MikroTik] queue> simple print
Flags: X - disabled, I - invalid, D - dynamic
0 name="queue2" target-addresses=192.168.100.0/24 dst-address=0.0.0.0/0 interface=all parent=none direction=both
priority=4 queue=PCQ_upload/PCQ_download limit-at=0/0 max-limit=0/0 total-queue=default-small


this rule divid the BW equaly to my active users
i apply this rule two days ago
when i check my users speed i see that its equal to 60 kps

even if the number of active users is 20 or 10 5 or 1 user
the speed of the active user is equal to 66kps

where is my error in my rule

note i need from this rule to divid the BW equaly to my active users
for ex
my BW is 3m and i have 3 active users
the BW divid to them equaly (each user 1m)
and when one user is active ( he take all the BW)
thanx for everyone
 
User avatar
jwcn
Forum Guru
Forum Guru
Posts: 1495
Joined: Sun Aug 27, 2006 6:49 am
Location: Maryland, USA
Contact:

Wed Feb 21, 2007 3:16 am

Don't make duplicate posts. Your question was already asked and answered in another topic.

Who is online

Users browsing this forum: panisk0, Partial and 38 guests