How to setup a fair Linux QoS?

0

I have a small LAN at home (about 10 PCs) with a Linux Mint (based on Ubuntu) machine running as a router. Everything was fine until my ISP changed my DSL modem. Now whenever someone uploads a large file (simple https transfer), it takes almost all bandwidth and causes all other PCs to starve. Previously PCs would share the bandwidth equally and voip and online game packets would also go through with quite low latency. The new modem has some kind of QoS implemented really badly. I asked the ISP to turn it off. It's a little better now, but voip and online game packets still get very high latency, when someone is uploading a file.

I have read the man page of the "tc" command in linux and a bunch of tutorials on the web, but I am confused how to configure the QoS correctly. I tried to use "codel" and "hhf" qdiscs, but noticed no effect. Maybe I am configuring it wrong.

I basically executed:

tc qdisc add dev WAN root hhf

- WAN is the name of my external interface

I don't want to limit anything. A single connection should be able to use the whole bandwidth, unless it needs to share. All connections should share the bandwidth equally. I also want to get a low latency on voip and online game packets. "online game packets" are a little hard to define, but they are usually UDP and using high port numbers.

I know it is possible, because the previous modem did it right and it was probably running Linux as most of them do.

So how can I do it on my machine?

Eiver

Posted 2019-05-09T11:16:24.807

Reputation: 141

No answers