From 2da210b5822d4eca906fd69a88879d9abf43fdda Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Tue, 26 Aug 2014 11:22:52 +0200 Subject: [PATCH] batman-adv-port: Increase MTU to 1560 as suggested by the batman guys "The MTU of interface batp0 is too small (1528) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the performance. Setting the MTU to 1560 would solve the problem." --- src/hooks/ports/batman-adv-port | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hooks/ports/batman-adv-port b/src/hooks/ports/batman-adv-port index a9304684..3019c927 100644 --- a/src/hooks/ports/batman-adv-port +++ b/src/hooks/ports/batman-adv-port @@ -30,8 +30,8 @@ MESH_ID= SSID= # batman-adv inserts an additional header of 28 bytes, so we set the MTU -# to 1528, that normal ethernet packets with 1500 bytes can pass the network. -MTU=1528 +# to 1560, that normal ethernet packets with 1500 bytes can pass the network. +MTU=1560 function hook_check() { assert isset ADDRESS -- 2.47.3