I want to set up a specific traffic shaping but I can't seem to find out how to implement it.
So, I want to limit the bandwidth to 100mbit up/down per IP (on the LAN side) regardless of the IP (meaning not having separate queues for each IP).
This is easy enough with PCQ.
But if for example IP 10.0.0.10 has 1 connection that fills the 100mbit then any other connection on that IP will be slow.
I want to be able to have 100mbit per IP (regardless of source/dest port) and then be able to do PCQ so that those 100mbits per IP will be shared evenly to any new connections thus making the whole thing much more responsive even though it will be limited.
Also I prefer not to do this based on IPs (meaning different rules/queues per IP).
I have multiple /24s behind the router and I want by default all IPs of those /24s to be limited like that and I will exclude whichever IPs don't need to be limited.
I tried setting up a queue tree with an inner (parent) queue with a PCQ queue type that limits (pcq-rate) to 100mbit based on source/dest IP on the PCQ options.
Then added a leaf (child) queue with a different PCQ queue type that shares the bandwidth essentially for each connection by using src/dst IPs & Ports on the PCQ options.
Unfortunately this does not work. Only the leaf queue PCQ is enforced and the documentation is really bad and outdated on the subject so I don't know what I am doing wrong (I am definitely not doing this right - It's more like trial and error

Does anyone know how to implement this type of Traffic Shaping/QoS ?