From 598388d4286b7df145c19ea8977c2ea5ef1dbe57 Mon Sep 17 00:00:00 2001 From: Astro Date: Mon, 4 Apr 2022 20:18:46 +0200 Subject: [PATCH] wlan5-roof: lower mtu --- config/net/roof.nix | 2 +- nix/pkgs/ap.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/net/roof.nix b/config/net/roof.nix index a65ed67..47c0009 100644 --- a/config/net/roof.nix +++ b/config/net/roof.nix @@ -3,7 +3,7 @@ # not switched, only a wifi vlan = null; # leave space for vxlan - mtu = 2048; + mtu = 1574; hosts6.dn42 = { ap57 = "fd23:42:c3d2:584::39"; ap58 = "fd23:42:c3d2:584::40"; diff --git a/nix/pkgs/ap.nix b/nix/pkgs/ap.nix index d2dc42a..e2bdb30 100644 --- a/nix/pkgs/ap.nix +++ b/nix/pkgs/ap.nix @@ -255,7 +255,7 @@ in '' uci set network.${name}.proto=vxlan6 uci set network.${name}.peer6addr='${iface.vxlan.peer}' uci set network.${name}.port=4789 - uci set network.${name}.mtu=1600 + uci set network.${name}.mtu=1518 uci set network.${name}.rxcsum=0 uci set network.${name}.txcsum=0 uci set network.${name}.delegate=0