swann: tune cake parameters
This commit is contained in:
parent
3acb27f020
commit
72ae247e4a
1 changed files with 2 additions and 2 deletions
|
@ -81,13 +81,13 @@ in {
|
||||||
};
|
};
|
||||||
networking.localCommands = ''
|
networking.localCommands = ''
|
||||||
tc qdisc del dev ens-virginmedia root || true
|
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
|
ip link add name ifb-virginmedia type ifb || true
|
||||||
tc qdisc del dev ens-virginmedia ingress || true
|
tc qdisc del dev ens-virginmedia ingress || true
|
||||||
tc qdisc add dev ens-virginmedia handle ffff: ingress
|
tc qdisc add dev ens-virginmedia handle ffff: ingress
|
||||||
tc qdisc del dev ifb-virginmedia root || true
|
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
|
ip link set dev ifb-virginmedia up
|
||||||
tc filter add dev ens-virginmedia parent ffff: matchall action mirred egress redirect dev ifb-virginmedia
|
tc filter add dev ens-virginmedia parent ffff: matchall action mirred egress redirect dev ifb-virginmedia
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue