Change default MTU size settings for PPP or VPN connections - Windows Client (2024)

  • Article

This article describes how to edit the registry to change the default maximum transmission unit (MTU) size settings for Point-to-Point Protocol (PPP) connections or for virtual private network (VPN) connections.

Applies to: Windows 10 - all editions, Windows Server 2012 R2
Original KB number: 826159

Summary

Windows Server 2003, Windows 2000, and Windows XP use a fixed MTU size of 1500 bytes for all PPP connections and use a fixed MTU size of 1400 bytes for all VPN connections. This is the default setting for PPP clients, for VPN clients, for PPP servers, or for VPN servers that are running Routing and Remote Access.

PPP connections are connections such as modem connections, Integrated Services Digital Network (ISDN) connections, or direct cable connections over null serial cable or over parallel cable. VPN connections are Point-to-Point Tunneling Protocol (PPTP) connections or Layer 2 Tunneling Protocol (L2TP) connections.

Note

Use the methods in this article to edit the registry to modify the MTU size settings. If you experience any problems or any performance-related issues after you modify the MTU size settings, remove the registry keys that you added.

Change the MTU settings for PPP connections

To change the MTU settings for PPP connections, add the ProtocolType DWORD value, the PPPProtocolType DWORD value, and the ProtocolMTU DWORD value to the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Ndiswan\Parameters\Protocols\0

To do so, follow these steps.

Important

This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, see How to back up and restore the registry in Window.

  1. Click Start, click Run, type regedit in the Open box, and then click OK.

  2. Locate and then click the following subkey in the registry:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NdisWan\Parameters

  3. Add a Protocols subkey (if it does not already exist):

    1. On the Edit menu, point to New, and then click Key.
    2. Type Protocols, and then press ENTER.
  4. Add a 0 (zero) subkey to the Protocols subkey:

    1. Click the Protocols subkey that you created step 3.
    2. On the Edit menu, point to New, and then click Key.
    3. Type 0 (zero), and then press ENTER.
  5. Click the 0 subkey that you created in step 4.

  6. On the Edit menu, point to New, and then click DWORD Value.

  7. In the Value data box, type ProtocolType, and then click OK.

  8. On the Edit menu, click Modify.

  9. In the Value data box, type 800, make sure Hexadecimal is selected under Base, and then click OK.

  10. On the Edit menu, point to New, and then click DWORD Value.

  11. Type PPPProtocolType, and then press ENTER.

  12. On the Edit menu, click Modify.

  13. In the Value data box, type 21, make sure Hexadecimal is selected under Base, and then click OK.

  14. On the Edit menu, point to New, and then click DWORD Value.

  15. Type ProtocolMTU, and then press ENTER.

  16. On the Edit menu, click Modify.

  17. Under Base, click Decimal, type the MTU size that you want in the Value data box, and then click OK.

  18. Quit Registry Editor.

  19. Restart your computer.

Change the MTU settings for VPN connections

To change the MTU settings for VPN connections, add the ProtocolType DWORD value, the PPPProtocolType DWORD value, and the TunnelMTU DWORD value to the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Ndiswan\Parameters\Protocols\0

To do so, follow these steps.

Important

This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, see How to back up and restore the registry in Windows.

  1. Click Start, click Run, type regedit in the Open box, and then click OK.

  2. Locate and then click the following subkey in the registry:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NdisWan\Parameters

  3. Add a Protocols subkey (if it does not already exist):

    1. On the Edit menu, point to New, and then click Key.
    2. Type Protocols, and then press ENTER.
  4. Add a 0 (zero) subkey to the Protocols subkey:

    1. Click the Protocols sub key that you created in step 3.
    2. On the Edit menu, point to New, and then click Key.
    3. Type 0 (zero), and then press ENTER.
  5. Click the 0 subkey that you created in step 4.

  6. On the Edit menu, point to New, and then click DWORD Value.

  7. In the Value data box, type ProtocolType, and then click OK.

  8. On the Edit menu, click Modify.

  9. In the Value data box, type 800, make sure Hexadecimal is selected under Base, and then click OK.

  10. On the Edit menu, point to New, and then click DWORD Value.

  11. Type PPPProtocolType, and then press ENTER.

  12. On the Edit menu, click Modify.

  13. In the Value data box, type 21, make sure Hexadecimal is selected under Base, and then click OK.

  14. On the Edit menu, point to New, and then click DWORD Value.

  15. Type TunnelMTU, and then press ENTER.

  16. On the Edit menu, click Modify.

  17. Under Base, click Decimal, type the MTU size that you want in the Value data box, and then click OK.

  18. Quit Registry Editor.

  19. Restart your computer.

References

For more information about PPP, see Request for Comments (RFC) 1548. To do so, see RFC 1548.

Change default MTU size settings for PPP or VPN connections - Windows Client (2024)

FAQs

Change default MTU size settings for PPP or VPN connections - Windows Client? ›

On the Edit menu, point to New, and then click DWORD Value. Type ProtocolMTU, and then press ENTER. On the Edit menu, click Modify. Under Base, click Decimal, type the MTU size that you want in the Value data box, and then click OK.

How do I change my MTU on Windows VPN? ›

To change the MTU setting for VPN connections:
  1. Navigate to Start > Run, type: regedit, find the following key: ...
  2. Add a "Protocols" subkey, add a "0" (zero) subkey to the Protocols subkey as well.
  3. Add the following new DWORD values to the "0" subkey you created: ...
  4. Restart your PC.

What is the default MTU for PPP? ›

The default PPP maximum receive unit (MRU) and hence the maximum transmission unit (MTU) is 1500 bytes. For a PPPoE interface, the PPPoE header uses 6 bytes and the PPP protocol ID uses 2 bytes.

How do I change my MTU size in Windows? ›

Change the MTU setting of a Windows VM
  1. Open the Device Manager with following command: See more code actions. ...
  2. Expand the Network adapters category.
  3. Right-click the Google VirtIO Ethernet Adapter/Google Ethernet Adapter device.
  4. Select Properties.
  5. Click the Advanced tab.
  6. In the Init. ...
  7. Click OK.

What is the MTU size for VPN? ›

Gateway MTU versus payload MTU

The Cloud VPN gateway MTU is: 1460 bytes, for Cloud VPN tunnels. 1440 bytes, for HA VPN over Cloud Interconnect.

Does VPN affect MTU? ›

When you use IPsec-VPN, the IPsec protocol encrypts packets, which increases the packet size. The increased packet size may exceed the maximum transmission unit (MTU) of a network and affect the transmission of packets. This topic describes how to configure MTUs to ensure that packets can be transmitted as expected.

How do I change VPN settings on Windows? ›

If you need to edit the VPN connection info or specify additional settings, such as proxy settings: From the VPN settings page, select the VPN connection you want to edit, select Advanced options, then select Edit next to the details you want to update. Once you've made the updates needed select either Save or Apply.

How do I choose the right MTU? ›

Determine the optimal maximum transmission unit size: To find the optimal maximum transmission unit size for your network, you can use the ping command with the “don't fragment” option. For example, in Windows, you can use the command “ping -f -l <packet_size> <destination_IP_address>”.

How do I set the best MTU size? ›

Take the maximum packet size from the ping test and add 28. You add 28 bytes because 20 bytes are reserved for the IP header and 8 bytes must be allocated for the ICMP Echo Request header. Remember: You must add 28 to your results from the ping test!

Should I change my MTU? ›

Increasing the MTU can improve performance, and decreasing the MTU can resolve packet loss and fragmentation problems when it is too high.

How do I find my default MTU size in Windows? ›

To check the MTU size in Windows 10, open the Command Prompt and type in the command “netsh interface ipv4 show subinterface”. This will display the MTU size for each network interface.

What is the default MTU setting for Windows? ›

Using command line, Check the mtu size on Windows 10 devices. Default MTU is 1500 bytes.

How to change MTU size in Windows 10 command prompt? ›

C:\Windows\system32>netsh interface ipv4 set subinterface "Ethernet" mtu=352 Ok. C:\Windows\system32>netsh interface ipv4 set subinterface "Ethernet" mtu=100 The parameter is incorrect. Thank you. Windows 10: A Microsoft operating system that runs on personal computers and tablets.

What is the normal MTU size? ›

The normal or default MTU size typically used is 1500 bytes and for a larger MTU size 9000 bytes tends to be the common choice. While 9000 bytes is typically used as a large MTU size, it also spans more than two physical 4K pages of memory.

What is MTU for PPPoA? ›

The largest MTU for PPPoA is 1500, for PPPoE it is 1492 - the difference is because of the header contents. Generally the larger the MTU the better the speed although the difference is marginal. One thing is that the larger each block the higher the possibility it may get corrupted and need re-transmission.

What is the minimum MTU for IP? ›

The value of MTU is especially important when bridging is used because of the different network limits. RFC 791 —Internet Protocols states that all IP hosts must be prepared to accept datagrams of up to 576 bytes. The minimum MTU for IPv6 is 1280.

How do I change the MTU on AnyConnect client? ›

To configure a different MTU value from DfltGrpPolicy to the Custom Group Policy, access AnyConnect Client from ASDM as follows: [Configuration]> [Remote Access VPN]> [Network (Client) Access]> [Group Policies]> [Edit Target Custom Group policy]> [Advanced]> [AnyConnect Client].

How do I change my VPN port protocol? ›

For Windows, macOS, Linux, iOS, and Android:

Click on the “Gear” icon at the top right to access Settings . Go to the Connection tab ( VPN protocol on mobile clients). Select a different Port/Protocol combination. Retry the connection and repeat steps 1-4 as necessary.

How do I change my VPN router settings? ›

  1. Step 1: Open your router's firmware. First, open your router's firmware in your browser. ...
  2. Step 2: Find the VPN settings. The location of the VPN settings will vary depending on your router's model. ...
  3. Step 3: Choose a VPN provider. ...
  4. Step 4: Enable the VPN service. ...
  5. Step 5: Check if your VPN is working on your router.
Aug 16, 2023

What is the MTU size of GlobalProtect? ›

The default MTU on GlobalProtect client side is 1400B.

References

Top Articles
Latest Posts
Article information

Author: Corie Satterfield

Last Updated:

Views: 6134

Rating: 4.1 / 5 (62 voted)

Reviews: 93% of readers found this page helpful

Author information

Name: Corie Satterfield

Birthday: 1992-08-19

Address: 850 Benjamin Bridge, Dickinsonchester, CO 68572-0542

Phone: +26813599986666

Job: Sales Manager

Hobby: Table tennis, Soapmaking, Flower arranging, amateur radio, Rock climbing, scrapbook, Horseback riding

Introduction: My name is Corie Satterfield, I am a fancy, perfect, spotless, quaint, fantastic, funny, lucky person who loves writing and wants to share my knowledge and understanding with you.