the best way to divide the internet equally among the users

hi every one
suppose you have a routerboard rb951 . you make it as a wireless home router .this routerboard lets say is connected with a modem or any device that ISP gave you .
the question is
what is the perfect method to divide the internet service equally for among the users connected with that rb951 ?
note / i saw many ways on youtube
queue type for download and upload (pcq) + simple queue +ip firewall mangle to mark packets …indeed Im confused about this issue
please help

This only “queue tree for download and upload (pcq)” is enough.
upload based on src-address
download based on dst-address

thank you very much for your quick replay :smiley: :smiley:
do you mean i dont have to creat ip firewall mangle rules ?? .if you mean that . so in which a place i have to put the src-address and dst-address ?
another question
is upload based on src-address= LAN INTERFACE ?
is download based on dst-address = WAN INTERFACE ?

upload queue needs to be attached to WAN interface, the queue type used needs to be pcq-upload, for that type define src-address as grouping criterium

download → LAN interface → pcq-download → dst-address

and no need for mangling

thank you very much