nixos/l2mesh: Set VXLAN MTU
This commit is contained in:
parent
438f2c835d
commit
665f3407fa
@ -27,6 +27,11 @@ let
|
|||||||
Independent = true;
|
Independent = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
links."20-l2mesh-${name}" = {
|
||||||
|
matchConfig.Name = mesh.interface;
|
||||||
|
# TODO: ipv6? ipsec?
|
||||||
|
linkConfig.MTUBytes = "1450";
|
||||||
|
};
|
||||||
networks."90-l2mesh-${name}" = {
|
networks."90-l2mesh-${name}" = {
|
||||||
matchConfig.Name = mesh.interface;
|
matchConfig.Name = mesh.interface;
|
||||||
extraConfig = concatStringsSep "\n" (mapAttrsToList (n: peer: ''
|
extraConfig = concatStringsSep "\n" (mapAttrsToList (n: peer: ''
|
||||||
|
Loading…
Reference in New Issue
Block a user