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.