MTU Settings for Ubuntu

Setting your MTU settings adjust your internet connection.  With my connection, a default setting of 1500 causes some webpages not to display at all (i.e. Ebay, Microsoft, etc.)

My optimal settings are 1492 to change yours, open a terminal and type:

sudo ifconfig eth0 mtu 1492  (that is eth and zero)

When you reboot, the MTU will return to 1500 – to make it permanent you will need to edit one of Ubuntu’s files:

First type -

sudo gedit /etc/network/interfaces

Then carefully edit your file

iface eth0 inet static
address 192.168.137.10
network 192.168.137.0
gateway 192.168.137.1
netmask 255.255.255.0
mtu 1492

You should now restart your network with:
sudo /etc/init.d/networking restart

Check the new value type:
sudo ifconfig -a

BEFORE

AFTER

Video showing ‘how-to’ set MTU on Ubuntu

MTU settings for Windows