Different Bandwitdh per IP in Mikrotik

Hi,

I need your help very urgent, please so kind you try to solve the next problem:

Nowadays, We were built a Mikrotik router computer. Now we have 29 clients in Wireless network and We hope this number continuously will increasing. Because, We would like to build so system, what Mikrotik server to controll the system.
So, We would like to adjust, that will get different users different bandwitdh.
For example:

192.168.2.10 512/512kbits
192.168.2.11 384/384kbits
192.168.2.12 128/128kbits etc.

We would not like to dedicate bandwitdh for users.
Which kind of command do we need that it’s function?
If it is possible, than we would like to adjust according the MAC address and not IP address.

Other problem:

If the MAC address is not exists in the address list in Mikrotik server, than can’t able to connect to the Internet and don’t get permission for the data traffic. Where we are adjust this protection?

Thank you in advance for your help,

Krisztian Módos
Hungary

Well, you can control bandwith with simple queues and to bound an ip/mac use the ARP table, and configure the interface to reply-only. Check the manuals and search the forums…

Regards

Here is an example:

/queue simple add name=“limit-local” target-addresses=192.168.2.10/24 dst-address=0.0.0.0/0 interface=ether1 parent=none priority=8 queue=default/default limit-at=512000/512000 total-queue=default

Acim!The example not work! :frowning:
Value of target-address must have all host bits zero,as in 192.168.2.6

queue simple add name=“limit-local” target-addresses=192.168.2.6/24 dst-address=0.0.0.0/0 interface=x21 parent=none priority=8 queue=default/default limit-at=512000/512000 total-queue=default

it should be like this

192.168.x.x/32 for each client

or for the subnet 192.168.x.0/24

regards

Of course, my mistake, mask should be /32, we are talking about single hosts. I just did copy&paste from my machine but didn’t change all relevant information.

Why am I should use mask /32, when I have /24 mask and practically should be enough?!

If you put 192.168.2.0/24 then your whole network will share the same queue. In your original post you asked how to shape single PC’s to different speeds, so you should use mask /32 and separate queue for each machine.

Can you help in through the MSN or IQ? If, it is yes. than please send me your MSN address this e-mail address “info@kapulan.hu”?
Thanks

I sent my MSN account to your email. There is one more mistake in the example above, max-limit parameter is missing. Try something like:

add name=“limit-local” target-addresses=192.168.2.11/32 dst-address=0.0.0.0/0 interface=ether1 parent=none priority=8 queue=default/default max-limit=384000/384000 total-queue=default

This is if you don’t want to define minimal speed for your clients (guaranteed speed), otherwise put in limit-at parameter. Or, if you want your clients to be able to use more if the link is not used much, then put something like this:

add name=“limit-local” target-addresses=192.168.2.11/32 dst-address=0.0.0.0/0 interface=ether1 parent=none priority=8 queue=default/default limit-at=384000/384000 max-limit=768000/768000 total-queue=default

This will make your users use 384kbit when the link if filled up and 768kbit when the link is free.