Community discussions

MikroTik App
 
MrIC
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 66
Joined: Tue Jan 13, 2009 11:34 pm

help with simple queue

Tue Oct 12, 2010 5:12 am

have router board 750G using it to load balance 4 lines with PCC Method
i need to limit all my users , every one with 1mb speed
i don't use hotspot , dhcp
i tried to add simple queue but after 253 simple queue router Freeze :? and i can't add others
so what i have to do ?
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: help with simple queue

Tue Oct 12, 2010 6:06 am

Read the wiki on PCQ, which dynamically creates queues for users.

253 manually created simple queues is madness, much like Sparta.
 
MrIC
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 66
Joined: Tue Jan 13, 2009 11:34 pm

Re: help with simple queue

Wed Oct 13, 2010 12:35 am

can you help me with this ?
i tried pcq but it don't understand how it works
all i need to limit every user with 1mb also 512kb
clients ip 192.168.88.1/23
thanks in advance
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: help with simple queue

Wed Oct 13, 2010 1:28 am

OK, but unless you understand it you're going to have a hard time troubleshooting it when you have an issue.
all i need to limit every user with 1mb also 512kb
What does that mean? I'm assuming that means 1Mbps download and 512Kbps. I might be wrong.

Anyway, straight from http://wiki.mikrotik.com/wiki/Manual:Qu ... r_of_Users
/ip firewall mangle 
add chain=prerouting src-address=192.168.88.0/23 action=mark-packet new-packet-mark=upload passthrough=no
add chain=postrouting dst-address=192.168.88.0/23 action=mark-packet new-packet-mark=download passthrough=no

/queue type 
add name="download" kind=pcq pcq-rate=1000000 pcq-classifier=dst-address
add name="upload" kind=pcq pcq-rate=512000 pcq-classifier=src-address

/queue tree
add parent=global-out queue=download packet-mark=download 
add parent=global-in queue=upload packet-mark=upload