From 409a7877df94a2b3df2eb4ee48cf4a1eb34819cc Mon Sep 17 00:00:00 2001 From: catvayor Date: Wed, 8 Jan 2025 18:27:04 +0100 Subject: [PATCH] feat(vault01): higher MTU --- machines/nixos/vault01/networking.nix | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/machines/nixos/vault01/networking.nix b/machines/nixos/vault01/networking.nix index b11352c..4679ae7 100644 --- a/machines/nixos/vault01/networking.nix +++ b/machines/nixos/vault01/networking.nix @@ -58,7 +58,10 @@ let LinkLocalAddressing = "no"; DHCPServer = "yes"; }; - linkConfig.Promiscuous = true; + linkConfig = { + Promiscuous = true; + MTUBytes = 1500; + }; addresses = [ { Address = "${servIP}/27"; @@ -134,7 +137,10 @@ let Id = 2001; address = [ "10.0.254.1/24" ]; - extraNetwork.networkConfig.DHCPServer = "yes"; + extraNetwork = { + networkConfig.DHCPServer = "yes"; + linkConfig.MTUBytes = 1500; + }; }; } // builtins.listToAttrs (map mkUserVlan userVlans); in @@ -176,6 +182,7 @@ in IPv6AcceptRA = false; IPv6SendRA = false; }; + linkConfig.MTUBytes = 1504; }; "50-gretap1" = { name = "gretap1";