From d9ec9cd422dfb0a4356b5d8b46525cb991182be2 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 22 Dec 2021 15:25:20 +0100 Subject: yggdrasil-wg: no batadv fragmentation --- modules/yggdrasil-wg/default.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'modules') diff --git a/modules/yggdrasil-wg/default.nix b/modules/yggdrasil-wg/default.nix index 9ab33fa1..6dc23614 100644 --- a/modules/yggdrasil-wg/default.nix +++ b/modules/yggdrasil-wg/default.nix @@ -188,6 +188,9 @@ in { Name = "yggdrasil"; Kind = "batadv"; }; + batmanAdvancedConfig = { + Fragmentation = false; + }; }; } // listToAttrs (map familyToYggdrasilDev hostFamilies) // listToAttrs (concatMap (family: map (linkToGreDev family) hostLinks.${family}) hostFamilies); @@ -218,6 +221,7 @@ in { linkConfig = { MACAddress = "${batHostMACs.${hostName}}"; RequiredForOnline = false; + MTUBytes = 1280; }; }; } // listToAttrs (map familyToYggdrasilNetwork hostFamilies) // listToAttrs (concatMap (family: imap0 (linkToGreNetwork family) hostLinks.${family}) hostFamilies); -- cgit v1.2.3