Bandwidth Shaping - Internet Access and Local LOOP Traffic

I am currently providing Internet Access to my customers, as well as SOME local loop (leased line) service to a few customers… These customers also subscribe to the internet service, which only customers within the same group have the leased line access to create a WAN Network..

Eg. Customer A is subscribed to 512kb Internet Service AND 5Mb Local Loop service..

How am I able to control the bandwidth for these customer?

Thanks

Sounds possible, however without knowing a lot more information, such as IPs, etc, I couldn’t tell you exactly how. However, it can be done.

Thanks for the reply..

Scenario is this… One organization has several branches. each branch we are providing 512Kb internet access and 5Mb local loop (local loop) via FTTH (IP based) the organisation. The local loop is for them to create their own Wide Area Network, as well for the HQ to monitor their staff via CCTV cameras..

They are using WAN IP’s starting from 10.10.20.10-100 for their router access. The HQ has a router installed, so do we. Now, an individual staff in the HQ has been allocated 256Kb for internet access - this has been created in the simple queue.. The LAN in the HQ (192.168.10.1) is NAT-ed to an ip - 10.10.20.65.

I need for the staff to bypass the queue, when he is accessing the local loop so that he has full access to the 5Mb..

How can this be achieved via MT??

Thanks for the assistance..

Gary

Actually, I think this is quite similar to the following scenario..

In an organisation, for example, you are assigned a simple queue, only allowing let’s say 128kb upload and download for internet access… When you access the Mikrotik Router, you would like it to maximize the bandwidth available, ie. 20Mb for instance, so that when you upgrade the routers, the files are uploaded fast, instead of being restricted to the 128kb queue.

How can this be achieved?

Gary

Tested this method and it seemed to work…

Create TWO Simple Queues

  1. First, with Target IP (your origin IP) ie. 192.168.0.0/16 and let’s say giving yourself 128kb for the upload and download for the internet. This is for internet access.
  2. Second, create another queue with same target IP, ie. 192.168.0.0/24 but this time in the Advanced Tab, in the Dst-Address, specify either the MIKROTIK router’s ip address OR the LAN or WAN IP address which you want to have higher bandwidth, ie. 10.100.16.0/24 for range of IPs or individual for Mikrotik server ie. 10.100.16.1.. the bandwidth is up to you to select - i have put there UNLIMITED to maximize the bandwidth to the Mikrotik Routers..

Used Mikrotik’s Bandwidth test tool at the same time surfing the internet to determine the speed.. You can also see this in the Queues..

Gurus - please confirm this method!!

What you can do is that you can create ipip tunnels between branches, and than create a simple queue with target address=local-address and destination address=remote-local-address, than create second queue with target address=local-address and destination address=any. But, be sure to line up queues first local loop queue and second internet queue.

This scenario works for me without any problem.

Regards.


Faton

queue.JPG
thnxs for the topic & solution. Can u plz help me in this scanario. i want to give internet access speed 128k/128k. loop speed 5mb.

How can i??

plz give me a solution???

Its not a problem. Just read up on queues. the key is to match the traffic going local before the internet traffic. simple, and easy! If the manual don’t help too much, then hit a consultant on the MT list!

simple queue–>general–>target address = 192.168.0.5 max-limit = 128k/128k
advance—> dst-address–> 192.168.0.0/16 limit-at= 5M/5M




is this rule will work for above scanario???

thnxs

Set in simple queues both src-address and dst-address to control traffic between clients.
For uplink use target-addresses. And you’re done.

( your rule does not work. Max-limit must be larger than limit-at. )
You must use 2 queues to limit each client, one for client-to client, one for internet.

The best way to do this is to limiti with your qupment like SW with management layer2 or wireless connection at what speed u wana to connect that client .. then in your GATEWAY router u can make traffic shaping for internet

thnxs for ur help…

so, it should be,

first queue for loop,
target-address=192.168.0.3 Max-limit=5M/5M Dst-address=192.168.0/16 Limit-at=5M/5M

Second Queue for Internet,
target-address=192.168.0.3 Max-limit=128k/128k Dst-address= 0.0.0.0/0 Limit-at=128k/128k


Is it right now???

Yes. Kinda’.

Also, to remember: in queues, order is important. Put the queues in the right order. And, in the second queue, you would be better to say dst-address =!192.168.0/16
They are zyxel and planet gigabit switches in the 200-400$ price, with 64k granularity, per port bandwidth management. Or, you could use for that a rb192/rb150. With far better control over what link you want. ( 100 mbit only. :frowning: )