Lazy set MTU on Linux
This script sets the MTU size on Linux.
Tested on Ubuntu, Red Hat and SuSE.
Default values:
INTERFACE_NAME=eth0;
MTU_VALUE=65000
Execution:
bash changemtu.sh $INTERFACE_NAME $MTU_VALUE
If parameters are not given, the script is running with the default values.