Community discussions

MikroTik App
 
shielder
Member Candidate
Member Candidate
Topic Author
Posts: 221
Joined: Wed Feb 09, 2005 7:09 pm
Location: Indonesia

Need help with bandwidth priority

Mon Jun 20, 2005 1:29 pm

Hi everyone, i am currently using mikrotik OS 2.8 with over 30 users connected to it without any problem. Some of my users requires me to set specific bandwidth priority for some port.

I wish to set port 5000 (for Ragnarok Online Gaming) to have the highest priority. So that when others are using the bandwidth, it would not affect the users who are using that port (although their bandwidth is fully utilised). Another provider in my hometown could set like this, and i am confused how they done that. Is there someone who could tell me how to set this? Thank you very much...
 
edzix
Member
Member
Posts: 333
Joined: Thu Jul 01, 2004 3:01 pm
Location: Latvia

Mon Jun 20, 2005 2:16 pm

use '/ip firewall mangle' to mark packets coming from those VIP ports and mark all other traffic with some other flow. The use these flows in '/queue tree' to give them appropriate priorities ('priority' parameter).

Edgars
 
shielder
Member Candidate
Member Candidate
Topic Author
Posts: 221
Joined: Wed Feb 09, 2005 7:09 pm
Location: Indonesia

Would it help?

Mon Jun 20, 2005 5:52 pm

Thank you ed for your reply, i have tried to mark the packet, but when i tried to make the queue tree, i found problems. I don't know which should i use as the parent, global-in,global-out,local, or public. Would you please show me step by step configuration?
If i set the priority for those packets, would it really works? Will it be the same condition just as i mention before?

Thank you very much.
 
edzix
Member
Member
Posts: 333
Joined: Thu Jul 01, 2004 3:01 pm
Location: Latvia

Tue Jun 21, 2005 11:52 am

if you are not limiting your clients than you have to made one parent queue with max-limit=the_total_available_bandwidth. Afterwards, when adding those queues with 'flow' parameter specify the previous as parent.

Edgars
 
shielder
Member Candidate
Member Candidate
Topic Author
Posts: 221
Joined: Wed Feb 09, 2005 7:09 pm
Location: Indonesia

Wrong configuration on firewall mangle

Fri Jun 24, 2005 2:34 am

I have tried to mangle the packet that leaves my router and i tried to set a queue tree to shape the bandwidth. I followed the how-to turitorial. In the turitorial, it shows me the shaping of queue tree should be set on local interface, but when i set to local, it doesn't works (no traffic at all) and when i set to global-in, it works. Am i wrong if i set like this?

After i could shape the bandwidth of some ports, i noticed that it only shape the 'sent' packets that leaves my router but the 'received' packets seems like getting bigger than what i set. Is it because i got something wrong on the firewall mangle? Could anyone please show me step by step configuration for this? Sorry to bother you all..

Thank you very much,
Regards,
Lim
 
neeraj_k
Frequent Visitor
Frequent Visitor
Posts: 70
Joined: Tue Jun 22, 2004 3:28 pm

mangling

Tue Jun 28, 2005 3:21 pm

mangling in MT is done on the incoming packets. So when u mark the packets it should be given the incoming interface from where the packets are arrving to the router. Whereas packet shaping is done on packets leaving the router. One more thing to remember if you are using natting then then packet coming to the router and leaving the router will have different ip address so marking won't work.
 
shielder
Member Candidate
Member Candidate
Topic Author
Posts: 221
Joined: Wed Feb 09, 2005 7:09 pm
Location: Indonesia

Thu Jun 30, 2005 1:34 pm

O... i know why i couldn't mark the packet now. I am using nat for my clients, that's why i could mark the packet but couldn't shape the bandwidth. Is there any way to control the bandwidth when we use natting?

Who is online

Users browsing this forum: GoogleOther [Bot], pablozucoloto, ursaca, zlowred and 57 guests