Page 1 of 1

Bandwidth management

Posted: Tue May 19, 2009 12:40 pm
by piatthi
hi, i have config equal bandwidth sharing using command that i found on document,



/ip firewall mangle add chain=forward src-address=X.X.X.X/24 \
action=mark-connection new-connection-mark=lan-con
/ip firewall mangle add connection-mark=lan-con action=mark-packet \
new-packet-mark=lan-packet chain=forward

/queue type add name=pcq-download kind=pcq pcq-classifier=dst-address
/queue type add name=pcq-upload kind=pcq pcq-classifier=src-address


/queue tree add name=Download parent=local max-limit=3000000
/queue tree add parent=Download queue=pcq-download packet-mark=lan-packet
/queue tree add name=Upload parent=public max-limit=3000000
/queue tree add parent=Upload queue=pcq-upload packet-mark=lan-packet

but i see that queue tree does not limit trafic.
this configuration does not work.

how can i use queue tree (not simple queue) to limit banddwith, while equal bandwidht between user in the LAN.

thank for your help

Re: Bandwidth management

Posted: Wed May 20, 2009 1:01 pm
by mrz
you have to mark download and upload.
Look at this example:
http://wiki.mikrotik.com/wiki/Different ... queue_tree