can you help me with configuration…
I have channel 50/50 Mbit
and two internal networks 192.168.0.0/24 & 10.0.0.0/24
I need to reserve for ip 10.0.0.10 channel about 20Mbit
and the rest of channel to split equally between all other connected devices…
Tried different tutorials, but with no lock…
Try setting up a simple queue with target = 10.0.0.10 and another simple queue (SFQ is the easiest “shared bandwidth” queue type to use, PCQ is probably the best) after it which just matches all traffic. The queues are processed in order, so as long as the reserved 10.0.0.10 queue comes first, it should process for only the special host.
Limit the shared queue to: max - 10Mbps, and the special host’s queue to 10Mbps.
You’re going to need to use a queue tree in this case, with the parent queue having the limit of 50Mbps. Then your leaf queues are pretty simple - put nothing but possibly another 50Mbps max-limit on the standard shared queue.
Put 50Mbps on the 10.0.0.10 queue as well, but also put a limit-at value of 20Mbps. “Limit-at” is actually a confusing term in my opinion. It’s a minimum guaranteed bandwidth (or CIR in telco terminology)
To use queue trees, you’ll need to mark all packets with mangle table rules.
packet mark = special or packet mark = default.
Make the 10.0.0.10 queue match packet mark special, and make the SFQ queue match “default” packet mark.