mirror of
https://github.com/GrapheneOS/infrastructure.git
synced 2024-12-31 17:46:11 -05:00
configure CAKE via systemd-networkd
This commit is contained in:
parent
2ff883f37f
commit
01791fdcd3
@ -20,3 +20,7 @@ Destination=2607:5300:205:200::1
|
||||
[DHCP]
|
||||
RouteMetric=100
|
||||
UseMTU=true
|
||||
|
||||
[CAKE]
|
||||
Bandwidth=250M
|
||||
PriorityQueueingPreset=besteffort
|
||||
|
@ -20,3 +20,7 @@ Destination=2607:5300:201:3100::1
|
||||
[DHCP]
|
||||
RouteMetric=100
|
||||
UseMTU=true
|
||||
|
||||
[CAKE]
|
||||
Bandwidth=250M
|
||||
PriorityQueueingPreset=besteffort
|
||||
|
@ -20,3 +20,7 @@ Destination=2607:5300:201:3100::1
|
||||
[DHCP]
|
||||
RouteMetric=100
|
||||
UseMTU=true
|
||||
|
||||
[CAKE]
|
||||
Bandwidth=2000M
|
||||
PriorityQueueingPreset=besteffort
|
||||
|
@ -20,3 +20,7 @@ Destination=2001:41d0:304:200::1
|
||||
[DHCP]
|
||||
RouteMetric=100
|
||||
UseMTU=true
|
||||
|
||||
[CAKE]
|
||||
Bandwidth=250M
|
||||
PriorityQueueingPreset=besteffort
|
||||
|
@ -20,3 +20,7 @@ Destination=2001:41d0:304:200::1
|
||||
[DHCP]
|
||||
RouteMetric=100
|
||||
UseMTU=true
|
||||
|
||||
[CAKE]
|
||||
Bandwidth=250M
|
||||
PriorityQueueingPreset=besteffort
|
||||
|
@ -20,3 +20,7 @@ Destination=2607:5300:205:200::1
|
||||
[DHCP]
|
||||
RouteMetric=100
|
||||
UseMTU=true
|
||||
|
||||
[CAKE]
|
||||
Bandwidth=2000M
|
||||
PriorityQueueingPreset=besteffort
|
||||
|
@ -20,3 +20,7 @@ Destination=2402:1f00:8000:800::1
|
||||
[DHCP]
|
||||
RouteMetric=100
|
||||
UseMTU=true
|
||||
|
||||
[CAKE]
|
||||
Bandwidth=250M
|
||||
PriorityQueueingPreset=besteffort
|
||||
|
@ -20,3 +20,7 @@ Destination=2402:1f00:8000:800::1
|
||||
[DHCP]
|
||||
RouteMetric=100
|
||||
UseMTU=true
|
||||
|
||||
[CAKE]
|
||||
Bandwidth=250M
|
||||
PriorityQueueingPreset=besteffort
|
||||
|
@ -20,3 +20,7 @@ Destination=2607:5300:205:200::1
|
||||
[DHCP]
|
||||
RouteMetric=100
|
||||
UseMTU=true
|
||||
|
||||
[CAKE]
|
||||
Bandwidth=2000M
|
||||
PriorityQueueingPreset=besteffort
|
||||
|
@ -20,3 +20,7 @@ Destination=2607:5300:205:200::1
|
||||
[DHCP]
|
||||
RouteMetric=100
|
||||
UseMTU=true
|
||||
|
||||
[CAKE]
|
||||
Bandwidth=2000M
|
||||
PriorityQueueingPreset=besteffort
|
||||
|
@ -20,3 +20,7 @@ Destination=2001:41d0:304:200::1
|
||||
[DHCP]
|
||||
RouteMetric=100
|
||||
UseMTU=true
|
||||
|
||||
[CAKE]
|
||||
Bandwidth=2000M
|
||||
PriorityQueueingPreset=besteffort
|
||||
|
@ -20,3 +20,7 @@ Destination=2001:41d0:304:200::1
|
||||
[DHCP]
|
||||
RouteMetric=100
|
||||
UseMTU=true
|
||||
|
||||
[CAKE]
|
||||
Bandwidth=2000M
|
||||
PriorityQueueingPreset=besteffort
|
||||
|
@ -20,3 +20,7 @@ Destination=2001:41d0:701:1100::1
|
||||
[DHCP]
|
||||
RouteMetric=100
|
||||
UseMTU=true
|
||||
|
||||
[CAKE]
|
||||
Bandwidth=2000M
|
||||
PriorityQueueingPreset=besteffort
|
||||
|
@ -20,3 +20,7 @@ Destination=2001:41d0:701:1100::1
|
||||
[DHCP]
|
||||
RouteMetric=100
|
||||
UseMTU=true
|
||||
|
||||
[CAKE]
|
||||
Bandwidth=2000M
|
||||
PriorityQueueingPreset=besteffort
|
||||
|
@ -20,3 +20,7 @@ Destination=2607:5300:205:200::1
|
||||
[DHCP]
|
||||
RouteMetric=100
|
||||
UseMTU=true
|
||||
|
||||
[CAKE]
|
||||
Bandwidth=500M
|
||||
PriorityQueueingPreset=besteffort
|
||||
|
@ -20,3 +20,7 @@ Destination=2607:5300:205:200::1
|
||||
[DHCP]
|
||||
RouteMetric=100
|
||||
UseMTU=true
|
||||
|
||||
[CAKE]
|
||||
Bandwidth=250M
|
||||
PriorityQueueingPreset=besteffort
|
||||
|
@ -20,3 +20,7 @@ Destination=2607:5300:205:200::1
|
||||
[DHCP]
|
||||
RouteMetric=100
|
||||
UseMTU=true
|
||||
|
||||
[CAKE]
|
||||
Bandwidth=250M
|
||||
PriorityQueueingPreset=besteffort
|
||||
|
@ -20,3 +20,7 @@ Destination=2607:5300:205:200::1
|
||||
[DHCP]
|
||||
RouteMetric=100
|
||||
UseMTU=true
|
||||
|
||||
[CAKE]
|
||||
Bandwidth=1000M
|
||||
PriorityQueueingPreset=besteffort
|
||||
|
@ -20,3 +20,7 @@ Destination=2607:5300:205:200::1
|
||||
[DHCP]
|
||||
RouteMetric=100
|
||||
UseMTU=true
|
||||
|
||||
[CAKE]
|
||||
Bandwidth=250M
|
||||
PriorityQueueingPreset=besteffort
|
||||
|
@ -20,3 +20,7 @@ Destination=2001:41d0:304:200::1
|
||||
[DHCP]
|
||||
RouteMetric=100
|
||||
UseMTU=true
|
||||
|
||||
[CAKE]
|
||||
Bandwidth=250M
|
||||
PriorityQueueingPreset=besteffort
|
||||
|
@ -13,3 +13,7 @@ Destination=2607:5300:205:200::1
|
||||
[DHCP]
|
||||
RouteMetric=100
|
||||
UseMTU=true
|
||||
|
||||
[CAKE]
|
||||
Bandwidth=100M
|
||||
PriorityQueueingPreset=besteffort
|
||||
|
@ -13,3 +13,7 @@ Destination=2607:5300:205:200::1
|
||||
[DHCP]
|
||||
RouteMetric=100
|
||||
UseMTU=true
|
||||
|
||||
[CAKE]
|
||||
Bandwidth=100M
|
||||
PriorityQueueingPreset=besteffort
|
||||
|
@ -13,3 +13,7 @@ Destination=2607:5300:205:200::1
|
||||
[DHCP]
|
||||
RouteMetric=100
|
||||
UseMTU=true
|
||||
|
||||
[CAKE]
|
||||
Bandwidth=100M
|
||||
PriorityQueueingPreset=besteffort
|
||||
|
@ -1,10 +0,0 @@
|
||||
[Unit]
|
||||
Description=Set CAKE configuration
|
||||
After=network.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/bin/tc qdisc replace dev eth0 root cake bandwidth {{bandwidth}} besteffort
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Reference in New Issue
Block a user