simple queues in ROS 6, total-limit-at vs limit-at

Hello,

I haven’t found an answer to this anywhere so far. Hoping someone can help.

I am very familiar with the user of limit-at and max-limit in simple queues.

What I am trying to understand is how those settings relate to total-limit-at and total-max-limit settings.

If I have a queue and parent queues and i set values for total-limit-at and limit-at, as well as total-max-limit and max-limit…what will be the result?

The reason I ask is because I have an upstream transit provider that limits my bandwidth based on the total bandwidth.

In other words…I have a 100Mbps pipe. I can split that however I like between upload and download at any given time.

Within that pipe i Have two VLANs

I would like to create a set of simple queues that accomplish 2 things:

  1. Allow either VLAN to take the total 100Mbps if the other VLAN is inactive, but splits the 100Mbps between the two VLANs 70/30 at worst case

  2. Allows either VLAN to use all of its allocated bandwidth for upload or all of its allocated bandwidth for download…but in worst case situations regulates so that download gets 80% of the bandwidth

I think I could accomplish this by using total-limit-at, limit-at, total-max-limit, and max-limit together…but I’m not sure…

Any help appreciated!

i think this can be useful for you

http://wiki.mikrotik.com/wiki/Manual:HTB

Thanks for the link…however this doesn’t make any mention of the parameters total-max-limit and total-limit-at i was asking about.

I also don’t see any mention of total rate limiting that I was asking about. In other words, I have a pipe through which I can send 100Mbps of total data at any given time. I can download 80Mbps / upload 20Mbps…or I can download 50Mbps / upload 50Mbps.

Did I miss something on that page?

thanks!

you are right that settings are not documented

personally i have not used it never

Ok, thanks!

Will have to do some testing and see what I come up with.

Currently, I’m having a related issue i don’t understand.

I have a physical interface with 2 VLAN interfaces.

I made a simple queue structure like this:

sfp1-queue: destination sfp1, target 0.0.0.0/0
–sfp1-vlan700-queue: destination sfp1-vlan700, target 0.0.0.0/0, parent sfp1-queue
–sfp1-vlan800-queue: destinaton: sfp1-vlan800, target 0.0.0.0/0, parent sfp1-queue

The top level queue does see the traffic…but the child queues do not.

Any idea what I’m doing wrong?

I think to accomplish what you are looking for you should use something like

sfp1-queue: target sfp1
–sfp1-vlan700-queue: target sfp1-vlan700, parent sfp1-queue
–sfp1-vlan800-queue: target: sfp1-vlan800, parent sfp1-queue