# Change MTU Value

## Windows

We will perform the shift through the utility **CMD**.

You must first open a command prompt as administrator. Then use the appropriate command to view all existing network interfaces and values **MTU**.

```
netsh interface ipv4 show subinterfaces
```

<figure><img src="https://287241268-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyXvdNIxNLIOcexv7AfU2%2Fuploads%2FIzMY1z3oQnmTiuvLuQCq%2Fimage.png?alt=media&#x26;token=79672675-5712-49ba-add0-1e539a2283c9" alt=""><figcaption></figcaption></figure>

That’s pretty much the conclusion.

{% hint style="info" %}
Where **1500** (default) is the **MTU** value.\
**Ethernet** — standard interface name.
{% endhint %}

Next, change the **MTU** value with a special command:

```
netsh interface ipv4 set subinterface "Ethernet" mtu=1400 store=persistent
```

{% hint style="info" %}
Where **Ethernet** is the name of the network interface.&#x20;

**1400** - New MTU value set.
{% endhint %}

Get the result.

<figure><img src="https://287241268-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyXvdNIxNLIOcexv7AfU2%2Fuploads%2FmgInsR30M8vqrTR8Tats%2Fimage.png?alt=media&#x26;token=142087ae-4358-4f22-ad90-4a7433ecccf4" alt=""><figcaption></figcaption></figure>

## Debian / Ubuntu

Enter command to edit configuration of network interfaces, will use **Nano**:

```
nano /etc/network/interfaces
```

Then add at the end of the network interface `mtu 1400`

<figure><img src="https://287241268-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyXvdNIxNLIOcexv7AfU2%2Fuploads%2FcX6z2iuD6Y5fWmPgJVPF%2Fimage.png?alt=media&#x26;token=e32c459a-6896-4bf7-89f3-0c77be7ca55c" alt=""><figcaption></figcaption></figure>

Press **Ctrl + X,** then **Y** to save the changes.

Enter the command to restart the network service:

```
systemctl restart networking
```
