From 72ae247e4aff5e6147a1e6d8d785c95dec711b62 Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Sun, 1 Nov 2020 14:33:18 +0000 Subject: [PATCH] swann: tune cake parameters --- ops/nixos/swann/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ops/nixos/swann/default.nix b/ops/nixos/swann/default.nix index 61ae580a28..ef5194cde5 100644 --- a/ops/nixos/swann/default.nix +++ b/ops/nixos/swann/default.nix @@ -81,13 +81,13 @@ in { }; networking.localCommands = '' tc qdisc del dev ens-virginmedia root || true - tc qdisc add dev ens-virginmedia root cake bandwidth 30Mbit + tc qdisc add dev ens-virginmedia root cake bandwidth 30Mbit docsis nat dual-srchost ip link add name ifb-virginmedia type ifb || true tc qdisc del dev ens-virginmedia ingress || true tc qdisc add dev ens-virginmedia handle ffff: ingress tc qdisc del dev ifb-virginmedia root || true - tc qdisc add dev ifb-virginmedia root cake bandwidth 500Mbit besteffort + tc qdisc add dev ifb-virginmedia root cake bandwidth 500Mbit besteffort docsis nat wash dual-dsthost ip link set dev ifb-virginmedia up tc filter add dev ens-virginmedia parent ffff: matchall action mirred egress redirect dev ifb-virginmedia '';