This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #Set cake as qdisc and bbr as your congestion control (either from shell or add them to sysctl.conf or your OS equivalent) | |
| sysctl net.core.default_qdisc=cake | |
| sysctl net.ipv4.tcp_congestion_control=bbr | |
| #Replace the root qdisc to cake diffserv4 (we get 4 distinct queues this way). Replace enp0231f6 with your interface name: | |
| /sbin/tc qdisc replace root dev enp0s31f6 cake ethernet diffserv4 wash | |
| #Check output. Queue priority (from lowest to highest) is bulk<best effort<video<voice. It should be similar to below one: |