Page 1 of 1

Simple Queued

Posted: Tue Sep 12, 2006 3:33 pm
by fpascual
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

Posted: Tue Sep 12, 2006 3:50 pm
by sergejs
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.

Posted: Tue Sep 12, 2006 3:59 pm
by fpascual
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 !

Posted: Tue Sep 12, 2006 4:07 pm
by sergejs
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.

Posted: Tue Sep 12, 2006 4:13 pm
by fpascual
Then, I must set up a "limit-at=2000000/2000000" to correcto function ?

Thanks Sergejs.