Community discussions

MikroTik App
 
rajaa
just joined
Topic Author
Posts: 2
Joined: Sat Jun 19, 2004 7:48 pm
Location: India

Bandwidth managemenet and masquarding

Mon Jun 21, 2004 6:44 pm

Hai,

I am running a small ISP with a single static IP (61.11.45.213) i use to give (192.168.0.0/24 - network fake IP's to clients ) by masquarding.

Things i want to do are (ofcourse with you's help)

1. I want to group some of my clients eg. 192.168.0.23 - 192.168.0.26 and allocate them a particualr bandwidth say 64kbps ie throughput of 8kBps.and every one in that group should get min 2kBps and max 4 kBps ie 50% of whole bandwidth. If one person on that group is idle the bandwidth available for that group should be shared by all others active in that group

2. I want to restrict a particular customer say 192.168.0.25 to get a througput of 2kBps only . I never mind uploads but downloads only.

Experts pls. help me in this issue - now i'm only having the level1 license and planning to buy level 3 if i had find a good solution to this problem.

now i'm like this :roll: i will be like this :lol: if anyone helps me on this issue....

thanks in advance
 
sarew
just joined
Posts: 6
Joined: Fri May 28, 2004 11:16 pm
Location: Lithuania, Kaunas
Contact:

Fri Jul 09, 2004 6:34 pm

It is writed on in documentacion.
Take a look and you will find it. Try examples, listed in documentation too.
 
GJS
Member
Member
Posts: 418
Joined: Sat May 29, 2004 4:07 pm
Location: London

Fri Jul 23, 2004 4:53 pm

I'm sure that you already have the manual.

I'm not an expert but to get you going on the right track, you need to use queues to allocate the bandwidth by IP address or group of IP addresses. A single address can be specified using a net mask of /32 and multiple addresses by using other corresponding netmask. For example, if you want to limit bandwidth to all clients in 192.168.0.0 network, just specify target address as 192.168.0.0/24. I think you can do all you describe with simple queues. Each simple queue has a target address which you set to the address that you want to control. You can use the various speed settings to acheive utilisation of the idle bandwidth or set a hard limit. Perhaps more usefully, you can set burst limits which give higher speeds for short periods, ideal for web browsing for example. Speeds in simple queues are specified by upload/download (or vice versa) in bits per second not Bytes, with zero meaning no limit. So to set 2kbps download and no upload limit you would set a limit of 2000/0

See this thread for a description of the various speed parameters:
http://forum.mikrotik.com/phpbb2/viewtopic.php?t=393

Keep in mind that queues are acted upon by the router in the order in which they appear in the table. So a rule at the top of the table for client 192.168.0.2 will "capture" all traffic for this client and no other queue will act upon it. If you then added a queue for 192.168.0.0/24 at the bottom of the table all traffic in this network, but NOT 192.168.0.2, would be affected by this second rule. Use winbox to view and change the order of queues in the table, just drag and drop.

Hope this helps.
Guy
 
Dave
just joined
Posts: 24
Joined: Mon May 31, 2004 2:59 pm
Location: Hungary

Mon Jul 26, 2004 10:01 am

as an example you can see this one: http://www.mikrotik.com/docs/ros/2.8/ho ... to.main.12 just change the mangle rules as you need to.