configure CAKE via systemd-networkd

This commit is contained in:
Daniel Micay 2022-07-27 15:49:35 -04:00
parent 2ff883f37f
commit 01791fdcd3
24 changed files with 92 additions and 10 deletions

View File

@ -20,3 +20,7 @@ Destination=2607:5300:205:200::1
[DHCP] [DHCP]
RouteMetric=100 RouteMetric=100
UseMTU=true UseMTU=true
[CAKE]
Bandwidth=250M
PriorityQueueingPreset=besteffort

View File

@ -20,3 +20,7 @@ Destination=2607:5300:201:3100::1
[DHCP] [DHCP]
RouteMetric=100 RouteMetric=100
UseMTU=true UseMTU=true
[CAKE]
Bandwidth=250M
PriorityQueueingPreset=besteffort

View File

@ -20,3 +20,7 @@ Destination=2607:5300:201:3100::1
[DHCP] [DHCP]
RouteMetric=100 RouteMetric=100
UseMTU=true UseMTU=true
[CAKE]
Bandwidth=2000M
PriorityQueueingPreset=besteffort

View File

@ -20,3 +20,7 @@ Destination=2001:41d0:304:200::1
[DHCP] [DHCP]
RouteMetric=100 RouteMetric=100
UseMTU=true UseMTU=true
[CAKE]
Bandwidth=250M
PriorityQueueingPreset=besteffort

View File

@ -20,3 +20,7 @@ Destination=2001:41d0:304:200::1
[DHCP] [DHCP]
RouteMetric=100 RouteMetric=100
UseMTU=true UseMTU=true
[CAKE]
Bandwidth=250M
PriorityQueueingPreset=besteffort

View File

@ -20,3 +20,7 @@ Destination=2607:5300:205:200::1
[DHCP] [DHCP]
RouteMetric=100 RouteMetric=100
UseMTU=true UseMTU=true
[CAKE]
Bandwidth=2000M
PriorityQueueingPreset=besteffort

View File

@ -20,3 +20,7 @@ Destination=2402:1f00:8000:800::1
[DHCP] [DHCP]
RouteMetric=100 RouteMetric=100
UseMTU=true UseMTU=true
[CAKE]
Bandwidth=250M
PriorityQueueingPreset=besteffort

View File

@ -20,3 +20,7 @@ Destination=2402:1f00:8000:800::1
[DHCP] [DHCP]
RouteMetric=100 RouteMetric=100
UseMTU=true UseMTU=true
[CAKE]
Bandwidth=250M
PriorityQueueingPreset=besteffort

View File

@ -20,3 +20,7 @@ Destination=2607:5300:205:200::1
[DHCP] [DHCP]
RouteMetric=100 RouteMetric=100
UseMTU=true UseMTU=true
[CAKE]
Bandwidth=2000M
PriorityQueueingPreset=besteffort

View File

@ -20,3 +20,7 @@ Destination=2607:5300:205:200::1
[DHCP] [DHCP]
RouteMetric=100 RouteMetric=100
UseMTU=true UseMTU=true
[CAKE]
Bandwidth=2000M
PriorityQueueingPreset=besteffort

View File

@ -20,3 +20,7 @@ Destination=2001:41d0:304:200::1
[DHCP] [DHCP]
RouteMetric=100 RouteMetric=100
UseMTU=true UseMTU=true
[CAKE]
Bandwidth=2000M
PriorityQueueingPreset=besteffort

View File

@ -20,3 +20,7 @@ Destination=2001:41d0:304:200::1
[DHCP] [DHCP]
RouteMetric=100 RouteMetric=100
UseMTU=true UseMTU=true
[CAKE]
Bandwidth=2000M
PriorityQueueingPreset=besteffort

View File

@ -20,3 +20,7 @@ Destination=2001:41d0:701:1100::1
[DHCP] [DHCP]
RouteMetric=100 RouteMetric=100
UseMTU=true UseMTU=true
[CAKE]
Bandwidth=2000M
PriorityQueueingPreset=besteffort

View File

@ -20,3 +20,7 @@ Destination=2001:41d0:701:1100::1
[DHCP] [DHCP]
RouteMetric=100 RouteMetric=100
UseMTU=true UseMTU=true
[CAKE]
Bandwidth=2000M
PriorityQueueingPreset=besteffort

View File

@ -20,3 +20,7 @@ Destination=2607:5300:205:200::1
[DHCP] [DHCP]
RouteMetric=100 RouteMetric=100
UseMTU=true UseMTU=true
[CAKE]
Bandwidth=500M
PriorityQueueingPreset=besteffort

View File

@ -20,3 +20,7 @@ Destination=2607:5300:205:200::1
[DHCP] [DHCP]
RouteMetric=100 RouteMetric=100
UseMTU=true UseMTU=true
[CAKE]
Bandwidth=250M
PriorityQueueingPreset=besteffort

View File

@ -20,3 +20,7 @@ Destination=2607:5300:205:200::1
[DHCP] [DHCP]
RouteMetric=100 RouteMetric=100
UseMTU=true UseMTU=true
[CAKE]
Bandwidth=250M
PriorityQueueingPreset=besteffort

View File

@ -20,3 +20,7 @@ Destination=2607:5300:205:200::1
[DHCP] [DHCP]
RouteMetric=100 RouteMetric=100
UseMTU=true UseMTU=true
[CAKE]
Bandwidth=1000M
PriorityQueueingPreset=besteffort

View File

@ -20,3 +20,7 @@ Destination=2607:5300:205:200::1
[DHCP] [DHCP]
RouteMetric=100 RouteMetric=100
UseMTU=true UseMTU=true
[CAKE]
Bandwidth=250M
PriorityQueueingPreset=besteffort

View File

@ -20,3 +20,7 @@ Destination=2001:41d0:304:200::1
[DHCP] [DHCP]
RouteMetric=100 RouteMetric=100
UseMTU=true UseMTU=true
[CAKE]
Bandwidth=250M
PriorityQueueingPreset=besteffort

View File

@ -13,3 +13,7 @@ Destination=2607:5300:205:200::1
[DHCP] [DHCP]
RouteMetric=100 RouteMetric=100
UseMTU=true UseMTU=true
[CAKE]
Bandwidth=100M
PriorityQueueingPreset=besteffort

View File

@ -13,3 +13,7 @@ Destination=2607:5300:205:200::1
[DHCP] [DHCP]
RouteMetric=100 RouteMetric=100
UseMTU=true UseMTU=true
[CAKE]
Bandwidth=100M
PriorityQueueingPreset=besteffort

View File

@ -13,3 +13,7 @@ Destination=2607:5300:205:200::1
[DHCP] [DHCP]
RouteMetric=100 RouteMetric=100
UseMTU=true UseMTU=true
[CAKE]
Bandwidth=100M
PriorityQueueingPreset=besteffort

View File

@ -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