Adjusting MTU size
Setting the MTU size in Keenetic routers is possible via the web or command-line interfaces.
In the web interface, this setting is available on the 'Wired' page in the 'IP and DNS settings' section and the 'ISP Authentication (PPPoE / PPTP / L2TP)' section if you are using a connection via the respective protocol.
In the 'IP and DNS settings' section, click 'Show advanced IPoE settings'. In the 'MTU Size' field, you can specify the desired value between 64
and 1500
. For a wired IPoE connection, the recommended MTU size is 1500
.
![mtu-size-en-01.png](image/uuid-ed930900-ff30-0759-0864-93c190e52a37.png)
In the section 'ISP authentication (PPPoE / PPTP / L2TP)' click 'Show advanced settings'. In the 'MTU Size' field, you can specify the desired value in the range from 64
to 1500
. Ask your ISP for the recommended MTU value.
![mtu-size-en-02.png](image/uuid-975b2352-4f1e-f5cc-5da3-672375b13e52.png)
Also, you can use the command-line interface (CLI) of the router to set the MTU size. You should execute the following command to do it:
interface <interface_name> ip mtu <MTU_size>
For example, if you need to set the MTU size = 1400
in the ISP
interface (wired WAN interface to access the Internet), run the following command:
interface ISP ip mtu 1400
![mtu-size-en-03.png](image/uuid-0e0555ef-fdb5-522e-d1d2-592c07c8244c.png)
To save the settings to the non-volatile memory of the Keenetic device, be sure to execute the command:
system configuration save
You can see the interface names of your Keenetic by running the command:
show interface
then press the Space bar and the Tab button.
![mtu-size-en-04.png](image/uuid-1ea1ea5f-532e-e562-adc3-d52cfd9cd0df.png)
Important
Please note the interface names. You should always consider letter cases when using interface names in commands. For example, the interface names of ISP
, PPTP0
, L2TP0
should be specified only in capital letters, and the interfaces PPPoE0
or OpenVPN0
contain both capital and lowercase letters.
After changing the size of the MTU, you can execute the command to display information about the specified interface:
show interface <interface_name>
The command output will contain the current MTU value. For example, run the command for the ISP
interface:
show interface ISP
![mtu-size-en-05.png](image/uuid-8fd19d77-5189-12ae-19c9-5fc4809f056e.png)