Community discussions

MikroTik App
 
Max
Member Candidate
Member Candidate
Topic Author
Posts: 116
Joined: Fri Jan 01, 2010 5:45 pm

Can I allocate the bandwidth only when needed?

Wed May 19, 2010 7:09 am

I want to give the whole bandwith to a PC when the other is not connected, and a 60%, when both PCs are connected.
The other Pc should be limited at 40% of the bandwith.
The bandwidth is known, and pretty stable.

Is it possible to do this with RB450G?
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6697
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Re: Can I allocate the bandwidth only when needed?

Wed May 19, 2010 10:11 am

I think you are looking for the PCQ,
http://wiki.mikrotik.com/wiki/Manual:Queues_-_PCQ
which able to divide bandwidth equally between the clients.
 
Max
Member Candidate
Member Candidate
Topic Author
Posts: 116
Joined: Fri Jan 01, 2010 5:45 pm

Re: Can I allocate the bandwidth only when needed?

Wed May 19, 2010 4:52 pm

Hi,

Thank you for your reply.
I realized that I forgot to mention some aspects. The external bandwith is most of the time stable, so I know the exact values, but the metropolitan bandwidth varies, from 10 to 100mbps.
I'm a bit confused on how to implement QoS, because I want to allocate the bandwith as efficiently as possible.
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6697
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Re: Can I allocate the bandwidth only when needed?

Thu May 20, 2010 7:48 am

PCQ allows you to distribute specific amount of bandwidth or even when total bandwidth rate is unknown.
 
User avatar
j2sw
Member Candidate
Member Candidate
Posts: 131
Joined: Mon Sep 04, 2006 5:42 am
Location: Indiana
Contact:

Re: Can I allocate the bandwidth only when needed?

Fri May 21, 2010 2:57 am

You can also do some bursting with Mikrotik. Not exactly your answer, but might be able to be worked into a set of rules.
 
Max
Member Candidate
Member Candidate
Topic Author
Posts: 116
Joined: Fri Jan 01, 2010 5:45 pm

Re: Can I allocate the bandwidth only when needed?

Sun May 23, 2010 8:53 am

PCQ seems to work pretty nice. And it was very simple to set.

Yes, I think some burts would be even better, but my experience with RouterOS/networking is very poor.
Where should I read about bursting?

Btw, I face new challenges every week:
http://forum.mikrotik.com/viewtopic.php ... 49&start=0
 
lukkes
Member Candidate
Member Candidate
Posts: 177
Joined: Mon Jun 16, 2008 2:12 am
Location: Venezuela
Contact:

Re: Can I allocate the bandwidth only when needed?

Mon May 24, 2010 12:10 am

Just use PCQ, dont complicate with bursting, NOT YET... Until you get experience, setup according the examples in the wiki it's very easy and works PERFECT
 
Max
Member Candidate
Member Candidate
Topic Author
Posts: 116
Joined: Fri Jan 01, 2010 5:45 pm

Re: Can I allocate the bandwidth only when needed?

Sun Jun 27, 2010 8:13 pm

Back again with this topic.

Things still don't work as expected.

So, for the moment I have 2 PCs behind a Mikrotik router.
The problem is that the one connected to ether2 eats as much bandwith as possible, leaving almost nothing for the one connected on ether3, so that surfing is very very slow.

What are my options to solve this problem?
(Prioritize traffic, dynamic bandwith allocation, others?)

To make things worse:
-one of the PCs is left for download(dc++/emule/torrents) 24/7.
-I have different bandwith limitations from the ISP: external 2mbps down.1 mbps up and metropolitan which varies a lot, and goes up to 100mbps.
-the PCs are behind the router but in 2 different networks(i don't think that this is such a big problem, but I've mentioned it anyway)

The idea is that I cannot limit the 24/7 PC to a fixed bandwidth because I'd sacrifice the metropolitan speeds. I think you get my point, right?

So, what can I do to make surfing, on the PC connected to ether3, snappier and a bit faster?
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26912
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: Can I allocate the bandwidth only when needed?

Mon Jun 28, 2010 2:35 pm

this means your PCQ configuration is incomplete or incorrect. Post everything you configured for PCQ to work
 
Max
Member Candidate
Member Candidate
Topic Author
Posts: 116
Joined: Fri Jan 01, 2010 5:45 pm

Re: Can I allocate the bandwidth only when needed?

Wed Jun 30, 2010 10:17 am

Yes, I realize now that it was incorect(but I still don't know how to do it right 100%). All I have done was to assign a PCQ queue to all the used interfaces.
No classifier...

ether1 is WAN, ether2 and ether3 are LAN, each with it's own separate network. And I'm using NAT between them.

Selecting Dst. Address Classifier would be enough? Or I need to implement PCQ in "Queue Tree"?
You do not have the required permissions to view the files attached to this post.

Who is online

Users browsing this forum: dioeyandika and 19 guests