How to check and change the MTU value


 
Quantum Quasar
Last Updated: 2 days ago

Here are instructions for checking and increasing the MTU (Maximum Transmission Unit) on Windows, macOS, and Linux.

The terminal shows your system’s maximum MTU, not the actual MTU. To check your actual MTU, go to https://www.speedguide.net/analyzer.php.

To check whether your MTU is sufficient for our service, run the following command in your OS terminal:

  • Windows:

    ping boosteroid.com -f -l 1462 
  • Linux

    ping -M do -s 1462 boosteroid.com 
  • macOS:

    ping -D -s 1462 boosteroid.com

Windows

Check the maximum system MTU

  1. Open Command Prompt (Win + R, type cmd, press Enter).

  2. Run the following command:

    netsh interface ipv4 show subinterfaces

Change the MTU

  1. First, find the interface name (for example, “Wi-Fi” or “Ethernet”).

  2. Use the following command to set a new MTU (for example, 1500):

    netsh interface ipv4 set subinterface "Wi-Fi" mtu=1500 store=persistent

    Replace "Wi-Fi" with your actual interface name.

  3. Check the change:

    netsh interface ipv4 show subinterfaces

macOS

Check the maximum system MTU

  1. Open Terminal.

  2. Run:

networksetup -getMTU en0 

Replace en0 with your actual interface (use ifconfig to list interfaces).

To set a new MTU (for example, 1500), run:

networksetup -setMTU en0 1500

Linux

Check the maximum system MTU


Run:

ip link show <interface_name>

or:

ifconfig <interface_name>

Replace <interface_name> with the name of the network interface you want to check (for example, eth0, enp0s3, wlan0).

Change the MTU temporarily


To set a new MTU (for example, 1500) for eth0:

sudo ip link set dev eth0 mtu 1500

Make the change permanent

  • Debian/Ubuntu (edit /etc/netplan/*.yaml or /etc/network/interfaces)
    Netplan example:

    ethernets:
      eth0:
        mtu: 1500
  • Red Hat/Fedora (edit /etc/sysconfig/network-scripts/ifcfg-eth0)
    Add:

    MTU=1500

How to change the MTU on a router

How you change the MTU on a router depends on its manufacturer, model, and firmware. Below are general instructions.

General steps (most routers)

  1. Open your web browser and go to your router’s IP address, usually:

    • http://192.168.0.1

    • or http://192.168.1.1

  2. Sign in to the router (the default credentials are often admin/admin or admin/password).

  3. Go to the section usually called:

    • Network Settings

    • WAN Settings

    • Advanced Settings

  4. Look for a field called MTU, MTU Size, or Maximum Transmission Unit.

  5. Enter the MTU value you want (for example, 1500, or 1492 for PPPoE).

  6. Save or Apply the settings.

  7. Restart the router if necessary.

Tips

  • The default MTU is usually 1500.

  • For PPPoE, set the MTU to 1492.

  • To find the optimal MTU, use:

    • Windows:

      ping boosteroid.com -f -l 1472 
    • Linux

      ping -M do -s 1472 boosteroid.com 

      (Increase or decrease the value until you find the largest size that doesn’t fragment.)

    • macOS:

      ping -D -s 1462 boosteroid.com

If these steps don’t help, we recommend contacting your internet provider.


Was this article helpful?