diff options
Diffstat (limited to 'hosts/vidhar/network/pppoe')
| -rw-r--r-- | hosts/vidhar/network/pppoe/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hosts/vidhar/network/pppoe/default.nix b/hosts/vidhar/network/pppoe/default.nix index 4fe8ff1f..0134559d 100644 --- a/hosts/vidhar/network/pppoe/default.nix +++ b/hosts/vidhar/network/pppoe/default.nix | |||
| @@ -123,8 +123,8 @@ in { | |||
| 123 | 123 | ||
| 124 | tc qdisc add dev "$1" handle ffff: ingress | 124 | tc qdisc add dev "$1" handle ffff: ingress |
| 125 | tc filter add dev "$1" parent ffff: basic action ctinfo dscp 0x0000003f 0x00000040 action mirred egress redirect dev "ifb4$1" | 125 | tc filter add dev "$1" parent ffff: basic action ctinfo dscp 0x0000003f 0x00000040 action mirred egress redirect dev "ifb4$1" |
| 126 | tc qdisc replace dev "ifb4$1" root cake memlimit 128Mb overhead 35 mpu 74 regional diffserv4 bandwidth 175mbit | 126 | tc qdisc replace dev "ifb4$1" root cake memlimit 128Mb pppoe-ptm nat diffserv4 ingress bandwidth 110mbit |
| 127 | tc qdisc replace dev "$1" root cake memlimit 128Mb overhead 35 mpu 74 regional nat diffserv4 wash bandwidth 40mbit | 127 | tc qdisc replace dev "$1" root cake memlimit 128Mb pppoe-ptm nat diffserv4 wash bandwidth 28mbit |
| 128 | ''; | 128 | ''; |
| 129 | "ppp/ip-up".source = pkgs.resholve.writeScript "ip-up" { | 129 | "ppp/ip-up".source = pkgs.resholve.writeScript "ip-up" { |
| 130 | interpreter = pkgs.runtimeShell; | 130 | interpreter = pkgs.runtimeShell; |
