How do I set a custom MTU size for a virtual machine using VMXNET3

Problem
How do I set a custom MTU size for a virtual machine using VMXNET3?

Solution
First run the below command to find the index number of the interface you want to change

netsh interface ipv4 show interfaces

 

You should see the index on the left as below
How do I set a custom MTU size for a virtual machine using VMXNET3

Once you have found the index run the below command to set the MTU

netsh interface ipv4 set subinterface "16" mtu=1340 store=persistent

Leave a Reply

Your email address will not be published. Required fields are marked *