> For the complete documentation index, see [llms.txt](https://spacecore.gitbook.io/wiki/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://spacecore.gitbook.io/wiki/en/network-and-security-configuration/changing-mtu-value.md).

# Change MTU Value

{% hint style="danger" %}

### This content is outdated

**The knowledge base has moved →** [**https://wiki.spacecore.pro/**](https://wiki.spacecore.pro/)

This wiki is no longer updated. All current guides and articles are at the new address.
{% endhint %}

{% content-ref url="<https://wiki.spacecore.pro/>" %}
<https://wiki.spacecore.pro/>
{% endcontent-ref %}

***

## 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&amp;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.

**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&amp;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&amp;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
```
