Community discussions

MikroTik App
 
tjburbank
just joined
Topic Author
Posts: 2
Joined: Wed Jun 09, 2004 2:23 am
Location: Preston, Idaho
Contact:

P2P Bandwidth Shaping Assistance

Thu Jul 22, 2004 1:31 am

Can some of you please post how you are throttling p2p applications on your network?

We are running 2.8.11 on our MikroTik, and are using NAT for all of our clients internally behind a single public IP.

I have read the manual and feel that I have set everthing up correctly however I want to ensure that I am doing it all correctly. I would be more than happy to post my configuration to the forum if any of you feel it would be beneficial.

Your assistance is greatly apprieciated.

-TJ Burbank
 
jober
Long time Member
Long time Member
Posts: 690
Joined: Fri May 28, 2004 12:16 pm
Location: Louisiana,USA

Need help

Sat Jul 24, 2004 1:16 am

I too would like someone to post a simple way to limit the upload and download speed of the p2p ports. It would be nice to set a global setting for all the IPs.
Also I would like to see a config on giving different traffic different priorities. Like http p1, mail p2, gaming ports p3, ftp p4, and p2p ports p8 or just dead last!
 
Dave
just joined
Posts: 24
Joined: Mon May 31, 2004 2:59 pm
Location: Hungary

Mon Jul 26, 2004 11:01 am

For marking p2p packets: http://www.mikrotik.com/docs/ros/2.8/ro ... e.main.7.4

A simple example for priorities is shown here: http://www.mikrotik.com/docs/ros/2.8/ho ... to.main.12
 
jober
Long time Member
Long time Member
Posts: 690
Joined: Fri May 28, 2004 12:16 pm
Location: Louisiana,USA

masqueraded

Wed Aug 04, 2004 12:45 am

In the example the network is masqueraded. Is there any thing different if you are not masquerading the network? or should I follow the instruction as is.
 
paul3
just joined
Posts: 21
Joined: Tue Aug 03, 2004 1:34 am

Wed Aug 04, 2004 6:13 pm

While on this topic, I have a question. What happens when you have queues for the user AND queues for P2P traffic. Which one takes priority?

E.g. we are using hotspot to assign queues to each of our users. Lets say user a gets 500kbps... We also have a p2p queue set up, that limits all p2p to 300kbps. Now what happens when user A uses p2p over their link? Does it get captured by the user's queue and get 500kbps or does it get captured by the p2p queue and get 300kbps?
 
User avatar
Eugene
Forum Veteran
Forum Veteran
Posts: 986
Joined: Mon May 31, 2004 5:06 pm
Location: Cranfield, UK

Mon Aug 09, 2004 7:20 pm

to paul3:
You should post your configuration (printouts) in order to get correct answer for your particular situation.

to jober:
An example without NAT can be viewed at:
http://www.mikrotik.com/docs/ros/2.8/ip ... ent#6.12.5
 
Dave
just joined
Posts: 24
Joined: Mon May 31, 2004 2:59 pm
Location: Hungary

Wed Aug 11, 2004 12:00 am

if you are marking packets with a flow for p2p and other, priority will take the one that matches first in the mangle list (if action=accept). In other words - a packet cannot have multiple flow marks.