Bandwidth Managment and Queues

Hi,

I need some help about this configuration:

                +--- Lan 1
WAN --- Router os ---- Lan 2
                +--- Lan 3

WAN have 10Mbps Bandwidth
I want to give:

  • a minimun of 2 Mbps for Lan 1
  • a minimun of 4 Mbps for Lan 2
  • a minimun of 4 Mbps for Lan 3
  • these Bandwidths are refereed to internet (wan) connection. No limit to traffic from lan 1 to lan2 and so on.
  • these Bandwidths are minimum Bandwidths so, for example, if lan 2 and lan 3 don’t use internet all 10 Mbps are avaible for lan1.

May you help me?

Thanks in advance
v.

http://www.mikrotik.com/testdocs/ros/2.9/root/queue.php

Has some detailed examples of how to gurantee bandwidth.

Excerpt:

Queue Tree Example With Masquerading

In this example we will guarantee 256Kib/s download (128Kib/s for the server, 64Kib/s for the Workstation and also 64Kib/s for the Laptop) and 128Kib/s for upload (64/32/32Kib/s, respectivelly) for local network devices. Additionally, if there is spare bandwidth, share it among users equally. For example, if we turn off the laptop, share its 64Kib/s download and 32Kib/s upload to the Server and Workstation.

When using masquerading, you have to mark the outgoing connection with new-connection-mark and take the mark-connection action. When it is done, you can mark all packets which belong to this connection with the new-packet-mark and use the mark-packet action.