configuring same traffic limits for range of addresses

Hi guys!

I need an advice. I’ve got a border router with a number of networks behind it with a lot of users on each network. Each one of these users should get 2mbit of bandwdth (this value is always the same).

Is there any easy way to configure mikrotik that it will shape traffic to a certain limit for each particular ip address of a given address range? Just to be clear, I don’t want users to share bandwidth. Each one should get fair 2mbit.

The problem is that it’s quite boring to configure hundreds of separate queues. :slight_smile: And I afraid that hundreds of queues in configuration might cause perfirmance issues.

What I really want is a kind of command that will tell mikrotik “limit bandwidth to 2Mbit for each address on this network”.

Any ideas? Thanks in advance.

Well, let’s put it this way.

I’m in the beginning phase of network rollout and already have 150 entries like this:

144 name=“customerid” target=10.10.21.243/32 parent=none packet-marks=“”
priority=8/8 queue=default-small/default-small limit-at=0/0
max-limit=512k/2M burst-limit=1M/3M burst-threshold=512k/2M
burst-time=5s/5s

145 name=“customerid” target=10.10.21.244/32 parent=none packet-marks=“”
priority=8/8 queue=default-small/default-small limit-at=0/0
max-limit=512k/2M burst-limit=1M/3M burst-threshold=512k/2M
burst-time=5s/5s

The question is: will I have problems when amount of “simple queue” entries will reach 500? 1000? 2000?

After all, is amount of simple queues limited?

ps. I’ve got RB1200.

you can does with mangle, queue-tree and PCQ.

http://wiki.mikrotik.com/wiki/Manual:Queues_-_PCQ_Examples