Linux:
To change the MTU on the fly (as root), use the following command. Note: If you have multiple adapters (e.g., eth0, eth1), run the command for each adapter, specifying the adapter name.ifconfig eth0 mtu 9000
To make this change permanent, edit the corresponding Network Config file:
CentOS, Red Hat, Fedora (as root): Add MTU=9000
in /etc/sysconfig/network-scripts/ifcfg-eth[0-9]
file(s).
Debian, Ubuntu (as root): Add mtu 9000
to all "iface ethX inet static" stanzas found in /etc/network/interfaces
file.
Windows:
netsh interface ipv4 show subinterfaces
netsh interface ipv4 set subinterface "Local Area Connection" mtu=9000 store=persistent