Page tree
Skip to end of metadata
Go to start of metadata

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:

  1. Open a command line window (cmd) and execute the following command to find the name(s) of your Ethernet adapter(s). If you have just one adapter, it's likely named "Local Area Connection" (if not changed).
    1. netsh interface ipv4 show subinterfaces



  1. To change MTU size and make it permanent, use the following command for each adapter:
    1. netsh interface ipv4 set subinterface "Local Area Connection" mtu=9000 store=persistent
  • No labels