summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <git@lassul.us>2023-09-03 12:11:54 +0200
committerlassulus <git@lassul.us>2023-09-03 12:11:54 +0200
commit2c38c86d18e440bf5361b638795a704b3530448c (patch)
tree7d7597f2cbe9fd16a16d552173308c69073ab76e
parent2d87daa73fb71a94989e8f5c03af04c59c21679c (diff)
l retiolum: handle connection loss better
-rw-r--r--lass/2configs/retiolum.nix9
1 files changed, 8 insertions, 1 deletions
diff --git a/lass/2configs/retiolum.nix b/lass/2configs/retiolum.nix
index 746bc069d..c2828f6db 100644
--- a/lass/2configs/retiolum.nix
+++ b/lass/2configs/retiolum.nix
@@ -22,7 +22,6 @@
];
extraConfig = ''
AutoConnect = no
- StrictSubnets = yes
${lib.optionalString (config.krebs.build.host.nets.retiolum.via != null) ''
LocalDiscovery = no
''}
@@ -36,6 +35,14 @@
"${config.krebs.build.host.nets.retiolum.ip4.addr}/16"
"${config.krebs.build.host.nets.retiolum.ip6.addr}/16"
];
+ linkConfig = {
+ MTUBytes = "1377";
+ RequiredForOnline = "no";
+ };
+ networkConfig = {
+ IgnoreCarrierLoss = "10s";
+ LinkLocalAddressing = "no";
+ };
};
nixpkgs.config.packageOverrides = pkgs: {