It's quite easy - if you know how to do it:


  1. Decrement with ping -c1 -s 1600 -M do parameter 1600 for 100 until there is no message 'DF set' any more.
  2. Increment the parameter by 10 until the message 'DF set' is ritten again.
  3. Decrement the parameter for 2 until there is no message 'DF set' any more.
  4. Add 28 (IP Headersize) -and that's the optimal MTU size
  5. With ipconfig eth0 mtu 1492 you can change the MTU size temporarily.
Oneliner to calculate the maxium MTU: 
size=1272; while ping -s $size -c1 -M do >&/dev/null; do ((size+=4)); done; echo "Max MTU size: $((size-4+28))" 
Since Version collectNWData executes this Test and writes a warning message if the MTU is not optimal. 
    1. MTU tweaking FAQ 
    3. MTU calculation oneliner:
MTU tweaking FAQ


Following script calculates the optimal MTU Downloadlink of Script (See code above). Then call bash 

Add comment
eMail is hidden and not visible to the public. It's used to inform you about new comments.