Q: Are any special steps necessary to enable jumbo frames in a Windows Server 2012 or later Hyper-V environment?
A: Enabling jumbo frames is quite simple; no special configuration needs to be performed in the virtual switch. You just need to do the following:
- Enable jumbo frames on the physical network adapter via the Advanced tab of the network adapter properties, and set the value to the required value (e.g., 9014).
- Ensure that all networking equipment such as switches are enabled for jumbo frames.
- Within each virtual machine in the guest operating system, enable jumbo frames by modifying the Jumbo Packet value to 9014 within the Advanced properties of the virtual network adapter.
You should now be able to send jumbo packets, which you can verify using a command such as
ping -f -l 8500 <target IP>
Note that I use a packet size of 8500 because there are wrappers around the data sent; 9000 is unlikely to work, but 8500 should work and still confirms that you're sending jumbo frames.
If you have virtual network adapters in the management partition (the Hyper-V host), they can also be enabled for jumbo frames via the Advanced properties of the virtual adapter or through PowerShell, as follows:
Get-NetAdapterAdvancedProperty -Name "vNIC LM" -DisplayName "Jumbo Packet" | Set-NetAdapterAdvancedProperty -RegistryValue "9014"