From: Michael Tremer Date: Tue, 26 Aug 2014 09:22:52 +0000 (+0200) Subject: batman-adv-port: Increase MTU to 1560 as suggested by the batman guys X-Git-Tag: 007~112 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2da210b5822d4eca906fd69a88879d9abf43fdda;p=network.git 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." --- 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