# 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="/files/AKrfAOVC57UHVWDKsrqe" 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="/files/3wPH4wJixxNk1clCSwP0" 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="/files/HykeglfIZs03ziCUhhnE" alt=""><figcaption></figcaption></figure>

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

Enter the command to restart the network service:

```
systemctl restart networking
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://spacecore.gitbook.io/wiki/en/network-and-security-configuration/changing-mtu-value.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
