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?
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..
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.
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.
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..
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.
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!
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
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. )