Tuesday, July 2, 2013

MTU Value change

Sometime you will need to change the value of MTU maximum transmission unit (MTU).
The Default value is 1500, but if you want to change it you will need to use NETSH command

Here is the command

C:\>netsh interface ipv4 show interface

The returned result are

Idx     Met         MTU          State                Name
---  ----------  ----------  ------------  ---------------------------
  1          50  4294967295  connected     Loopback Pseudo-Interface 1
 11          20        1500  connected     Local Area Connection

you will need the IDX number for the network adapter you want to modify

Lets say that I want to modify the Local Area Connection network adaptor
so the command will be

netsh interface ipv4 set subinterface "11" MTU=1500 store=persistent

were number 11 is the IDX.
Restart is not required

Hope that help

No comments: