> For the complete documentation index, see [llms.txt](https://wiki.qwins.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.qwins.co/nastroika-seti-i-bezopasnost/izmeneniya-znacheniya-mtu.md).

# Изменения значения MTU

<figure><img src="/files/2VulVD0VKBb8tJXlY3vI" alt=""><figcaption></figcaption></figure>

### Windows <a href="#windows" id="windows"></a>

Мы будем производить смену через утилиту **CMD**.

Для начала Вам необходимо открыть командную строку от имени администратора. Затем используем соотвествующую команду для просмотра всех существующих сетевых интерфейсов и значения **MTU**.

```
netsh interface ipv4 show subinterfaces
```

<figure><img src="/files/xcjtyu9nZnvHx9XRgXWz" alt=""><figcaption></figcaption></figure>

Получаем примерно такой вывод информации.

{% hint style="info" %}
Где **1500** (по умолчанию) — значение **MTU**. \
**Ethernet** — стандартное название интерфейса.
{% endhint %}

Далее изменим значение **MTU** специальной командой:

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

{% hint style="info" %}
Где **Ethernet** — название сетевого интерфейса.

**1400** — новое устанавливаемое значение **MTU**.
{% endhint %}

Получаем результат.

<figure><img src="/files/TYTIEFlTZhqcFKS7wwkD" alt=""><figcaption></figcaption></figure>

### Debian / Ubuntu <a href="#debian-ubuntu" id="debian-ubuntu"></a>

Вводим команду для редактирования конфига сетевых интерфейсов, будем использовать **Nano**:

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

Затем необходимо в конце соответствующего интерфейса сети добавить `mtu 1400`

<figure><img src="/files/R6ZduO4BfHdJQDxgo8J1" alt=""><figcaption></figcaption></figure>

Нажимаем **Ctrl + X**, затем **Y** для сохранения внесенных изменений.

Вводим команду для перезагрузки сервиса сети:

```
systemctl restart networking
```

<figure><img src="/files/sCk1ZiSyvUCm1Mvm7Nbn" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://wiki.qwins.co/nastroika-seti-i-bezopasnost/izmeneniya-znacheniya-mtu.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.
