Simple Queue (add a whole subnet)

Hi, My name is Randy, I am not new to mikrotik or the forums, but

wondering if anyone knows an easy way to add a whole subnet to the mikrotik instead of Adding each one into the simple queue one by one. we use the Tik to run as the BCU and love it, just gets kind of tiring adding new ip’s in daily :slight_smile: hope you can help!!!


Randy
Minnesota

ok, so i figured it out!!! haha stupid errors on my part!

:for i from=1 to=255 do={/queue simple add target-address=(..*. . $i . “/32”) max-limit=128000}

!!!


now i need to figure out how to set each one to a specific interface and i am set to go!!!

simplier is to make pcq type, and then under simple que from 0/0 to 0/0 type pcq inteface what you want…and you have it much simplier :slight_smile:

one rule will be better than over 200

I cant get access at this time to the router 2.9 documentation. How do you do it through a PCQ? I know you have to have a queue tree set up.

but what would i do for that? ----^

Another thing i am wondering is… we are a WISP so we have different speed lanes, 128000, 256000, 512000, 1024000 and so on.. Just wondering if there is a way to set a “queue” so that all you have to do is select the individual IP and tell it to use a certain queue instead of setting each limit at… and max limit and burst limit?

you can create 4 mangle rules for different limits, and than setup bandwidth limitations, more information in Mangle and Bandwidth control manuals.