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
Once you have found the index run the below command to set the MTU
netsh interface ipv4 set subinterface "16" mtu=1340 store=persistent