i’m currently running MikroTik 6.35.2 in my Network and config it for NAT roll.
all clients and deices use this ip address as gateway and consume whole bandwidth.
in this circumstances, i can’t do my related tasks based on internet.
so my question is how can i create some list based on MAC address and use them in Queue?
any suggestions or guidance will be appreciated
THNX in Advance
Why would you need to use MAC addresses instead of IP addresses?
Just add your subnet(s) the clients reside in as target to a simple Queue which you assign a max-limit to.
-Chris
because I want to create multiple queue
1 for mobile and tablet device with low bandwidth
another queue for ordinary clients
and other queue for special users & managers
etc
I see…
Still there’s no need to use MAC addresses (at least not for the queues directly).
I’d do it that way:
I presume you have a DHCP server running on your router and it’s a /24 network
Let’s assume your network is 192.168.88.0/24.
For the queues I’d compartmentalize thenetwork into four /26 segments like
192.168.88.0/26 for servers and other always-on stuff
192.168.88.64/26 for managers and other high-b/w clients
192.168.88.128/26 for mobile devices with limited b/w
192.168.88.192/26 for other stuff…
Now go to the leaes tab of your DHCP-server and, one by one, make the leases static.
In terminal you can set the address for the specific lease with
/ip dhcp-server leases set <number> address=<address in the segment you like to have it in)
This ensures that the clients get the defined lease every time again.
Then you can define Queus like this:
/queue type
add kind=pcq name=Up-5M pcq-burst-rate=10M pcq-classifier=src-address pcq-dst-address6-mask=64 pcq-limit=200KiB pcq-rate=5M pcq-src-address6-mask=64 pcq-total-limit=8000KiB
add kind=pcq name=Down-5M pcq-classifier=dst-address pcq-dst-address6-mask=64 pcq-rate=5M pcq-src-address6-mask=64
add kind=pcq name=Down-50M pcq-classifier=dst-address pcq-dst-address6-mask=64 pcq-rate=50M pcq-src-address6-mask=64
add kind=pcq name=Up-50M pcq-classifier=src-address pcq-dst-address6-mask=64 pcq-limit=200KiB pcq-rate=50M pcq-src-address6-mask=64 pcq-total-limit=8000KiB
add kind=pcq name=Down-10M pcq-classifier=dst-address pcq-dst-address6-mask=64 pcq-rate=10M pcq-src-address6-mask=64
add kind=pcq name=Up-10M pcq-burst-rate=25M pcq-classifier=src-address pcq-dst-address6-mask=64 pcq-limit=200KiB pcq-rate=10M pcq-src-address6-mask=64 pcq-total-limit=8000KiB
/queue simple
add max-limit=100M/100M name=Management queue=Up-50M/Down-50M target=192.168.88.64/26
add max-limit=50M/50M name=Servers queue=Up-10M/Down-10M target=192.168.88.0/26
add max-limit=25M/25M name=Mobiles queue=Up-5M/Down-5M target=192.168.88.128/26
-Chris
Thanks Chris
in this network DHCP running on my windows server and clients and other stuff are getting ip address all together
exept special server assigned static ip address
and i’m looking for create group/list to manage this issue
Regards