User Tools

Site Tools


howtos:changing_mtu_on_interface
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


howtos:changing_mtu_on_interface [02/12/2018 21:34] (current) – created - external edit 127.0.0.1
Line 1: Line 1:
 +To change the MTU of an interface on GNU/Linux, you just need to use ifconfig command to do so, like this for example
  
 +    sudo ifconfig eth0 mtu 1492
 +
 +To change it permanently on Debian, put it in the /etc/network/interfaces file, where almost all network parameters are found. To do this, just add a line mtu to the definition of your interface and save the file.
 +
 +    sudo gedit /etc/network/interfaces
 +
 +Example
 +
 +<file>
 +iface eth0 inet static
 +address 192.168.0.1
 +network 192.168.0.0
 +gateway 192.168.0.254
 +netmask 255.255.255.0
 +mtu 1492
 +</file>
 +
 +Daiup Users
 +
 +For dialup users: the Maximum Transmission Unit (MTU) value can be changed within the file
 +
 +/etc/ppp/options
 +
 +
 +----
 +
 +Source: http://www.ubuntugeek.com/how-to-change-mtu-maximum-transmission-unit-of-network-interface-in-ubuntu-linux.html
howtos/changing_mtu_on_interface.txt · Last modified: 02/12/2018 21:34 by 127.0.0.1