Page 1 of 1

Packet Marking and priority

Posted: Wed Jul 18, 2012 9:12 am
by ferdinandbabst
Hi All

I'm in the process of applying shaped traffic rules on mikrotik.
I basically need some help with Mangle and Queues.

As a test I have created a mangle rule that marks traffic on Port 80 as well as everything that's not port 80

0 chain=forward action=mark-packet new-packet-mark=Internet port 80 Allowed passthrough=yes
protocol=tcp dst-port=80

1 chain=forward action=mark-packet new-packet-mark=Shaped Packet Types passthrough=yes
protocol=tcp dst-port=!80

I now would like to use Queues where I give the the total speed of a particular connection or IP range a maximum speed of 4Mb on port 80 but all non port 80 traffic must be throttled to 256K

this is my Simple Queues rule:

name="4Mb Uncapped Shaped" target-addresses=10.0.0.0/24 interface=all parent=none
packet-marks=Shaped Packet Types direction=both priority=8
queue=default-small/default-small limit-at=256k/256k max-limit=4M/4M burst-limit=0/0
burst-threshold=0/0 burst-time=0s/0s total-queue=default-small

Will this work ?

If not what am i doing wrong?

Any help Please

Re: Packet Marking and priority

Posted: Thu Jul 19, 2012 4:38 am
by alfarowk
no body wanna answer me?