Shaping Help

Hello,
what is mangle ? queues tree ?

My total bandwidth is 3Mbit Down / 3mbit up.

i want to create ;

128k down / 128k up rule parent to total bandwidth
128k down /64k up rule parent to total bandwidth
64k down /32k up rule parent to total bandwidth

How can i do this?

Mangle chain is used for something else, basically to mark IP packets by some rule. Checkout user profiles in the documentation to shape traffic per groups.

i need to use mangle ?

please read again what acim wrote

ok we dont need to use mangle :slight_smile:
i think i need to use pcq
how can i open 3mbit dedicate line and into this bandwidth how to devide small speeds?

I suppose, you will need mangle to mark three different users group with three different marks, and use pcq rules for them.

It’s much easier to use profiles.

i tried lots of ways but i cant do it
can someone write me rules

First add new hotspot user profile:

/ip hotspot user profile add name=“64kbit” status-autorefresh=1m rate-limit=“16k/64k” transparent-proxy=no

I put here 16k upload and 64k download speed because users share ADSL async connection. This can be any value you want, of course.

No you have to add new hotspot user:

/ip hotspot user add server=hs-ap name=“jerrymouse” password=“cartoon” mac-address=00:06:AB:CD:EF:GH profile=64kbit

MAC address is optional. hs-ap is your hotspot name which you can see if you do:

/ip hotspot print

That’s all, when your users login to hotspot, traffic shaping will be done as well.

ok but i am not using hotspot, i am giving static ips to clients, no pppoe.

Then you should use either pcq or simple queues.