Mark Packet

Hi ,

I have RouterBoard Mikrotik 1100 and I have internet Service and storage Server in my network .

I used simple queue to limit bandwidth (512k/512k) for each user.

how I Can Separate storage traffic and make it (5M/5M) for each user without internet traffic and stays internet traffic on simple queue.

Thanks
1234.jpg

You can try:

/queue simple
add max-limit=5M/5M name=“Local File Transfer Limit” queue=default/default dst=ether2 total-queue=default
add max-limit=512K/512K name=“Internet Limit” queue=default/default dst=ether10 total-queue=default

Hi,

Thank you for your answer to my question.but can I use mangle and queue tree in this case

Thanks

Any particular reason why? That method will only use more cpu resources.

Either way, I will test it out and let you know in a few hours.

Thank you

Here’s your mangle rules:

/ip firewall mangle add action=mark-packet chain=prerouting new-packet-mark=FileServer-Packets dst-addess=10.0.0.0/24 passthrough=yes

/ip firewall mangle add action=mark-packet chain=prerouting new-packet-mark=Internet-Packets dst-addess=!10.0.0.0/24

Again, more resource intensive. Why are you marking the packets?

Hi,

Thank you for your answer about my question.

In your question about why I choice this way.because my boss tell my must change simple queue to PPPOE.
in this case I think mark packet its best way if I use PPPOE to users.

I try this way.But its not work.

Thanks