The lazy programmer scripts
scripts that work

Overview for networking




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.

Written by Malware on Tuesday September 15, 2015
Permalink - Tags: mtu, linux, networking