feat(vault01): higher MTU #228

Merged
mdebray merged 1 commit from vault01-mtu into main 2025-01-08 22:02:06 +01:00

View file

@ -58,7 +58,10 @@ let
LinkLocalAddressing = "no"; LinkLocalAddressing = "no";
DHCPServer = "yes"; DHCPServer = "yes";
}; };
linkConfig.Promiscuous = true; linkConfig = {
Promiscuous = true;
MTUBytes = 1500;
};
addresses = [ addresses = [
{ {
Address = "${servIP}/27"; Address = "${servIP}/27";
@ -134,7 +137,10 @@ let
Id = 2001; Id = 2001;
address = [ "10.0.254.1/24" ]; address = [ "10.0.254.1/24" ];
extraNetwork.networkConfig.DHCPServer = "yes"; extraNetwork = {
networkConfig.DHCPServer = "yes";
linkConfig.MTUBytes = 1500;
};
}; };
} // builtins.listToAttrs (map mkUserVlan userVlans); } // builtins.listToAttrs (map mkUserVlan userVlans);
in in
@ -176,6 +182,7 @@ in
IPv6AcceptRA = false; IPv6AcceptRA = false;
IPv6SendRA = false; IPv6SendRA = false;
}; };
linkConfig.MTUBytes = 1504;
}; };
"50-gretap1" = { "50-gretap1" = {
name = "gretap1"; name = "gretap1";