Community discussions

MikroTik App
 
fpascual
Member Candidate
Member Candidate
Topic Author
Posts: 140
Joined: Mon May 29, 2006 3:17 pm

Simple Queued

Tue Sep 12, 2006 3:33 pm

Hi, I must apply a limit to simetric 2 Mb to an specific customer.
Supposed that the subnets are 192.168.1.0/27 and 192.168.10.0/24, is that correct ???

name="limit-2mb" target-addresses=192.168.1.0/27,192.168.10.0/24
dst-address=0.0.0.0/0 interface=all parent=none direction=both priority=8
queue=default-small/default-small limit-at=0/0 max-limit=2097152/2097152 total-queue=default-small

or must use other parameter ??.
I need setup a limit of 2Mb/2Mb to the total of networks.


Thanks a Lot
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6697
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Tue Sep 12, 2006 3:50 pm

Queue limit 2 Mb up and 2 Mb down is applied to both subnet 192.168.1.0/27, 192.168.10.0/24.

a) if you want to apply 2/2 Mb for specific user, specify like this 'target-address=192.168.1.1/27'.

b) if you want to apply 2/2 Mb for each user in the networks 192.168.1.0, 192.168.10.0, than use simple queues to accomplish it. Very similar example is available in the http://wiki.mikrotik.com

c) 'total-limit-at' is a limit for bidirectional stream data rate (e.g. total-limit-at=2Mbps), user up+down is limited to 2Mbps.
 
fpascual
Member Candidate
Member Candidate
Topic Author
Posts: 140
Joined: Mon May 29, 2006 3:17 pm

Tue Sep 12, 2006 3:59 pm

Sergejs, I need limit a total of networks to 2 Mb bidirectional, not per user, it's a housing customer with 4 networks and a couple of servers.
My configuration is correct or I must to set up another parameter ? (like "total-limit-at").

Thanks !
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6697
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Tue Sep 12, 2006 4:07 pm

1) total-limit specifies total traffic, e.g. total-limit-at=2Mbps then up+down=2Mbps.
2) limit-at specifies up and down limits, e.g. limit-at=2Mbps/2Mbps than up=2Mbps and down=2Mbps.
 
fpascual
Member Candidate
Member Candidate
Topic Author
Posts: 140
Joined: Mon May 29, 2006 3:17 pm

Tue Sep 12, 2006 4:13 pm

Then, I must set up a "limit-at=2000000/2000000" to correcto function ?

Thanks Sergejs.