Community discussions

MikroTik App
 
khaloudy
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 92
Joined: Mon Jun 29, 2009 6:12 am

Equal Bandwidth for a Number of Users not working good

Fri Jun 17, 2011 1:36 am

good evening sir
i have dsl speed 512/128
i want Equal Bandwidth for a Number of Users
lan = 192.168.16.1
wan = 192.168.1.1
i work with hotspot and i want add QOS

i did this lines
/ip firewall mangle add chain=prerouting action=mark-packet new-packet-mark=all passthrough=no
/
queue type add name="PCQ_download" kind=pcq pcq-rate=512000 pcq-classifier=dst-address
/queue type add name="PCQ_upload" kind=pcq pcq-rate=128000 pcq-classifier=src-address
/queue tree add parent=global-in queue=PCQ_download packet-mark=all
/queue tree add parent=global-out queue=PCQ_upload packet-mark=all
/queue simple add queue=PCQ_upload/PCQ_download target-addresses=192.168.16.0/24
but not working good
please check this for me

i want if (1) user online get it all (512000/128000)
if the become (2) users online get the same speed (256000/64000) × 2 .


please i tried it many time not working good
help me please
thank you
best regards
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: Equal Bandwidth for a Number of Users not working good

Fri Jun 17, 2011 4:08 am

http://wiki.mikrotik.com/wiki/Manual:Qu ... e_Examples
See the second example. Set the pcq-rate to 0 and the max-limit on the queue tree.
 
khaloudy
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 92
Joined: Mon Jun 29, 2009 6:12 am

Re: Equal Bandwidth for a Number of Users not working good

Sun Jun 19, 2011 1:54 am

thank you very much for your reply ..
yes i want this
i get image
i want the same like this

Image

did my rolls i posted first true?
its not working good with me
i test it
You do not have the required permissions to view the files attached to this post.
 
khaloudy
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 92
Joined: Mon Jun 29, 2009 6:12 am

Re: Equal Bandwidth for a Number of Users not working good

Mon Jun 20, 2011 7:59 pm

so..
this rouls true or not?
/ip firewall mangle add chain=prerouting action=mark-packet new-packet-mark=all passthrough=no

/queue type add name="PCQ_download" kind=pcq pcq-rate=512000 pcq-classifier=dst-address
/queue type add name="PCQ_upload" kind=pcq pcq-rate=128000 pcq-classifier=src-address

/queue tree add parent=global-in queue=PCQ_download packet-mark=all
/queue tree add parent=global-out queue=PCQ_upload packet-mark=all

/queue simple add queue=PCQ_upload/PCQ_download target-addresses=192.168.16.0/24

PCQ TREE = 0 ALREADY
JUST QUEUE TYPE RATE 512 / 128
PLEASE TELL ME I AM TRUE OR NOT
?
 
khaloudy
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 92
Joined: Mon Jun 29, 2009 6:12 am

Re: Equal Bandwidth for a Number of Users not working good

Mon Jun 20, 2011 8:02 pm

REMARK ..
i work with hotspot too
but i am not marking rate in user profile
just i use user name and password..

 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: Equal Bandwidth for a Number of Users not working good

Mon Jun 20, 2011 8:02 pm

Well, no. That's completely wrong.

The picture shows that the pcq-rate should be 0 (configured on the queue type under "/queue types"), and that a max-limit should be implemented on the queue tree (configured under "/queue tree"). You do have a pcq-rate set, and do not have a max-limit.

What you have:
/queue type add name="PCQ_download" kind=pcq pcq-rate=512000 pcq-classifier=dst-address
/queue type add name="PCQ_upload" kind=pcq pcq-rate=128000 pcq-classifier=src-address

/queue tree add parent=global-in queue=PCQ_download packet-mark=all
/queue tree add parent=global-out queue=PCQ_upload packet-mark=all
What it should be:
/queue type add name="PCQ_download" kind=pcq pcq-rate=0 pcq-classifier=dst-address
/queue type add name="PCQ_upload" kind=pcq pcq-rate=0 pcq-classifier=src-address

/queue tree add parent=global-in queue=PCQ_download packet-mark=all max-limit=512000
/queue tree add parent=global-out queue=PCQ_upload packet-mark=all max-limit=128000
 
khaloudy
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 92
Joined: Mon Jun 29, 2009 6:12 am

Re: Equal Bandwidth for a Number of Users not working good

Wed Jun 22, 2011 11:45 am

thank you very much
i get it
 
loveman
Member
Member
Posts: 348
Joined: Tue Mar 10, 2015 9:32 pm

Re: Equal Bandwidth for a Number of Users not working good

Thu Apr 21, 2016 12:46 pm

thank you very much
i get it
I need this to equal bandwidth but i used pppoe server how can distribution all user's in equal bandwidth

Who is online

Users browsing this forum: No registered users and 70 guests