Limiting Bandwidth of PPPOE Clients

Hi Guys
I need help with this “seemingly simple task”
I have a mikrotik server with a pppoe-server on it but without RADIUS. I am using winbox for most of my tasks. I am creating pppoe-clients with static IPs “so that I can assign queues to them if needed”

What I want to do is that each time I create a pppoe-client I want to limit his upload and download rate to a certain rate lets say 64000/64000

So For each User I will need to add a script in the winbox just like

For User1 with IP address 192.168.10.1
/ queue simple
add name=“User1” target-addresses=10.0.0.12/32 max-limit=64000/64000

For User2 with IP address 192.168.10.1
/ queue simple
add name=“User2” target-addresses=192.168.10.2 max-limit=128000/64000

And those scripts will be run each time the mikrotik server is started.

Ive tried the setup Ive described above but it does not seem to work all the time the traffic still seems bursty at times,furthermore in the ppp section of the winbox I can create profiles that include in the bottom a tx/rx field Ive added 64000/64000 and assigned that profile to a user but that did not do any good.

Any instructions,solutions and suggestions are welcome
Thank you

You can limit it when you created it

such as:

name=“ABC” local-address=pppoe_pool remote-address=pppoe_pool use-compression=no use-vj-compression=no
use-encryption=no only-one=default change-tcp-mss=yes rate-limit=256k/500k dns-server=218.85.157.99,202.101.103.55