-
-
Save beardicus/1415a09537b28681f46e to your computer and use it in GitHub Desktop.
| # | |
| # fair-queue based settings for EdgeRouter Lite traffic shaping | |
| # | |
| # download is typically 30 and change. everything is “default” right | |
| # now, so this isn’t doing much | |
| set traffic-policy shaper download | |
| set traffic-policy shaper download bandwidth 30Mbit | |
| set traffic-policy shaper download default bandwidth 100% | |
| set traffic-policy shaper download default ceiling 100% | |
| set traffic-policy shaper download default queue-type fair-queue | |
| set interfaces ethernet eth1 traffic-policy out download | |
| # upload is typically 5.5-ish. should be clamped at less than 100% | |
| # of advertised bandwidth to avoid buffer bloat and lag | |
| set traffic-policy shaper upload | |
| set traffic-policy shaper upload bandwidth 5Mbit | |
| # guarantee default traffic at least 50% of bandwidth | |
| set traffic-policy shaper upload default bandwidth 50% | |
| set traffic-policy shaper upload default ceiling 100% | |
| set traffic-policy shaper upload default queue-type fair-queue | |
| # crashplan traffic only guaranteed 10% | |
| set traffic-policy shaper upload class 10 bandwidth 10% | |
| set traffic-policy shaper upload class 10 ceiling 90% | |
| set traffic-policy shaper upload class 10 match crashplan ip dscp 8 | |
| set traffic-policy shaper upload class 10 queue-type fair-queue | |
| set interfaces ethernet eth0 traffic-policy out upload |
So these QoS settings gave me an excellent example to copy and make sense of for my VyOS box (the config translates over 1-to-1; copy and paste). Suddenly QoS makes sense. Thank you.
The lower the priority number, the higher the priority. The default priority value is 0, the highest priority
https://docs.vyos.io/en/latest/configuration/trafficpolicy/index.html
(command line of edgeos 3.0.1 says the same)
The lower the priority number, the higher the priority. The default priority value is 0, the highest priority
https://docs.vyos.io/en/latest/configuration/trafficpolicy/index.html(command line of edgeos 3.0.1 says the same)
Looks like the docs were wrong when I set this up: https://forum.vyos.io/t/error-in-vyos-qos-documentation-incl-the-old-vyatta-6-x-docs/5257
Seemed to work for me, but maybe it was just the bandwidth restrictions that helped. Yikes!
Hmm, no example for firewall marking? :-(