Troubleshooting an application issues which could possibly be network related. I found myself needing to make some adjustment to the maximum transmission unit (MTU) setting of my server. As such what better time to post a quick technical short on how to go about doing this.
How To Change The MTU – Windows Server 2016
- Logon and Administrator permission on Server
- Network Connectivity
- Time to reboot
From the desktop of your Windows Server 2016 server open an Administrative command prompt by Right-Clicking on the start button and select – Command Prompt (Admin).
Once in the command prompt you we be using netsh to determine the IDX of the installed interface devices. this is performed by using the following command: netsh interface ipv4 show interfaces
Take note of the IDX interface that you would like to change the MTU on as this is what we need to specify when changing the MTU settings.
Using netsh again you issue the following command: netsh interface ipv4 set subinterface “number-goes-here” mtu=1400 store=persistent
Please note that the subinerface will be the IDX number from the first netsh command and that the MTU setting is a value less than the original 1500.
Now you can reboot to have the changes take effect. I have also noticed the disabling the interface and re-enabling also works.
One reply on “Tech Short: How To Change The MTU – Server 2016”
Your statement “number goes here” is unclear. I don’t know what to put. I have tried “ethernet0” ‘ethernet0’ ethernet0 and just the number 0. None work. A more specific and clear example would be super helpful. I have been to a dozen web sites and none give an example clear enough to make this work.