What is the best Linux-based QoS platform to implement a configuration where all 256Kbps DSL clients (all belong to the same IP range) get a guaranteed speed of 200Kbps with single QoS rule?
|
feedback
|
|
The standard linux QoS/traffic control system is called You will need to initialize a chain, set it's properties, then add your IP's to it, something like this:
| |||
feedback
|
No, it won't. The way HTB works, you just can assign rates for the entire bucket, not individual IPs. What Caleb tried to do, was to evenly distribute the available bandwidth of 2000 Kbps via the SFQ qdisc among your 10 customers. However, this will not work as expected - SFQ calculates the scheduling per connection, not per IP - if any of your customers has more bandwidth-hungry connections open than the others, he will get more bandwidth in total. There is another scheduler called ESFQ which extends SFQ to be able to schedule per-ip, but even then you only would schedule currently active traffic without capping any given user at 200 kbps. I do not know if there is any readily available qdisc which would allow you do do that, but given the sheer amount of different qdisc projects, I'd assume so. Another problem is that tc only schedules outgoing traffic on an interface, inbound traffic is never taken into account. The Intermediate Queuing Device (IMQ) helps working around this limitation. | |||
|
feedback
|
|
For guarantees and fair division, HFSC scheduler (ported from BSD's altq to linux) is a great thing. (at least it's not as clumsy and buckety as HTB.) Regrettably, setting up any traffic shaping in Linux is a painful process with a brutal learning curve, and because tc interface is simply just unfriendly, I'd suggest using MasterShaper or some similar frontend. (PS. if you decide to manage tc by your own, use IFB kernel feature for upload shaping - it's like IMQ suggested here earlier, but works on newer kernels and fits the whole framework a little better) | |||
|
feedback
|
|
Mikrotik RouterBoards ;) Best platform you can have. Their OS (RouterOS) is Linux based, but being an applicance you dont have access to a real shell or the file system. They are a small ISP platform, though, so youay really like them. | |||
|
feedback
|