This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| mikrotik-pcq [2015/03/05 12:55] – herwarth | mikrotik-pcq [2015/03/05 13:00] (current) – herwarth | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | /ip firewall mangle add chain=prerouting action=mark-packet in-interface=bridge-guest new-packet-mark=client-upload | + | ~~NOTOC~~ |
| - | /ip firewall mangle | + | ======Mikrotik |
| - | /queue type add name=" | + | =====Configuration===== |
| - | /queue type add name=" | + | ====Add chain from Guest VLAN (for upload)==== |
| + | /ip firewall mangle add chain=prerouting action=mark-packet in-interface=bridge-guest new-packet-mark=client-upload | ||
| + | ====Add chain from DMZ (for download)==== | ||
| + | /ip firewall mangle add chain=prerouting action=mark-packet in-interface=dmz new-packet-mark=client-download | ||
| + | |||
| + | ====Add queues with limits==== | ||
| + | In this example we create a download limit of 64kbit and an upload of 32kbit. | ||
| + | |||
| + | | ||
| + | /queue type add name=" | ||
| + | |||
| + | ====Link queues to chains==== | ||
| + | /queue tree add parent=global queue=pcq-download packet-mark=client-download | ||
| + | /queue tree add parent=global queue=pcq-upload packet-mark=client-upload | ||
| - | /queue tree add parent=global queue=pcq-download packet-mark=client-download | ||
| - | /queue tree add parent=global queue=pcq-upload packet-mark=client-upload | ||
| {{tag> | {{tag> | ||