From 2c38c86d18e440bf5361b638795a704b3530448c Mon Sep 17 00:00:00 2001 From: lassulus Date: Sun, 3 Sep 2023 12:11:54 +0200 Subject: l retiolum: handle connection loss better --- lass/2configs/retiolum.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'lass/2configs') 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: { -- cgit v1.2.3