TUTORIAL REACHING VPN ULTIMATE SPEED
Maximize your packet transfer thru MTU (MAXIMUM TRANSMISSION UNIT) Note: Please read carefully and make sure you have restore backup just in case you made a mistake. Try at your own risk.
Sa mga bagohan, bago po tayo magtanong ay pakiintindi pong mabuti yung mga pamamaraan dito. Unahin po muna natin yung sa pagkuha ng max ng packet size natin by Ping Method bago tayo maedit ng registry dahil ilalagay po natin doon yung number max packet size sa huli. Kaya wag po tayong manhula o magshortcut dahil nonsense po itong lahat. Sa ping method eh max po sa iba eh 1500 at yung iba eh 1400, gagawin lang po natin para makuha nio yung max nio eh add and minus lang po tayo dian ng 28 para maging result nia eh gaya nun nasa 2nd screenshot na zero lost.Working po sa lahat ng OS to as long na may regedit po tayo, konting diskarte na lang please! Walang bagohan sa thread na may tutorial ng procedure. Tamang pagbasa lang po at konting isip ang kailangan natin dito pero kung mahina ka sa english...YUN LANG! Btw, I'm using Win 7 Ultimate. I set my MTU setting to 1451(my MTU max). So far so good, im receiving all the packets and nothings lost.
Sa mga bagohan, bago po tayo magtanong ay pakiintindi pong mabuti yung mga pamamaraan dito. Unahin po muna natin yung sa pagkuha ng max ng packet size natin by Ping Method bago tayo maedit ng registry dahil ilalagay po natin doon yung number max packet size sa huli. Kaya wag po tayong manhula o magshortcut dahil nonsense po itong lahat. Sa ping method eh max po sa iba eh 1500 at yung iba eh 1400, gagawin lang po natin para makuha nio yung max nio eh add and minus lang po tayo dian ng 28 para maging result nia eh gaya nun nasa 2nd screenshot na zero lost.Working po sa lahat ng OS to as long na may regedit po tayo, konting diskarte na lang please! Walang bagohan sa thread na may tutorial ng procedure. Tamang pagbasa lang po at konting isip ang kailangan natin dito pero kung mahina ka sa english...YUN LANG! Btw, I'm using Win 7 Ultimate. I set my MTU setting to 1451(my MTU max). So far so good, im receiving all the packets and nothings lost.
MTU Definition:
Maximum Transfer Unit - The largest size of IP datagram that may be transferred on a given network. Most network implementations have a default setting of 1500 bytes.
Lets begin by Pinging:
A series of ping tests using the command, ping www.expedient.net -f -l xxxx, where xxxx is the packet size, can be used to determine the optimal MTU for your connection.
1. Go to Start and select Run.
2. Type in cmd (Windows 2000/XP) or command (Windows 98/ME) into the Open: field. Hit the enter key or click OK. The DOS prompt should open.
3. At the DOS prompt, type in ping www.expedient.net -f -l 1492 and hit the Enter key.
5. Note the results above indicate that the packet needs to be fragmented. Lower the size the packet in increments of +/-10 (e.g. 1472, 1462, 1440, 1400) until you have a packet size that does not fragment.
7. Begin increasing the packet size from this number in small increments until you find the largest size that does not fragment. Add 28 to that number (IP/ICMP headers) to get the optimal MTU setting. For example, if the largest packet size from ping tests is 1462, add 28 to 1462 to get a total of 1490 which is the optimal MTU setting.
For more additional Info: http://www.dslreports.com/faq/695
Next MTU Settings:
How to modify the MTU Settings for VPN Connections on XP
To modify the MTU settings for VPN connections, you need to add the ProtocolType DWORD value, the PPPProtocolType DWORD value, and the TunnelMTU DWORD value to the following registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\Ndiswan\Parameters\Protocols\0
To do so, follow these steps.
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\Servic es\NdisWan\Parameters
3. Add a Protocols subkey (if it does not already exist). To do so:
a. On the Edit menu, point to New, and then click Key.
b. Type Protocols, and then press ENTER.
4. Add a 0 (zero) subkey to the Protocols subkey. To do so:
a. Click the Protocols sub key that you created in step 3.
b. On the Edit menu, point to New, and then click Key.
c. 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 (e.g. 1460) in the Value data box, and then click OK.
18. Quit Registry Editor.
19. Restart your computer.
VIDEO TUT: http://www.youtube.com/watch?v=79OxBqzslgs
Maximum Transfer Unit - The largest size of IP datagram that may be transferred on a given network. Most network implementations have a default setting of 1500 bytes.
Lets begin by Pinging:
A series of ping tests using the command, ping www.expedient.net -f -l xxxx, where xxxx is the packet size, can be used to determine the optimal MTU for your connection.
1. Go to Start and select Run.
2. Type in cmd (Windows 2000/XP) or command (Windows 98/ME) into the Open: field. Hit the enter key or click OK. The DOS prompt should open.
3. At the DOS prompt, type in ping www.expedient.net -f -l 1492 and hit the Enter key.
5. Note the results above indicate that the packet needs to be fragmented. Lower the size the packet in increments of +/-10 (e.g. 1472, 1462, 1440, 1400) until you have a packet size that does not fragment.
7. Begin increasing the packet size from this number in small increments until you find the largest size that does not fragment. Add 28 to that number (IP/ICMP headers) to get the optimal MTU setting. For example, if the largest packet size from ping tests is 1462, add 28 to 1462 to get a total of 1490 which is the optimal MTU setting.
For more additional Info: http://www.dslreports.com/faq/695
Next MTU Settings:
By default, Windows Server 2003, 2000 and XP use a fixed maximum transmission unit (MTU) size of 1500 bytes for all PPP connections and use a fixed MTU size of 1400 bytes for all VPN connections. However, you may experience a VPN or Internet drop or slow issues with these default MTU settings, especially if you are using a DSL line. This step-by-step article describes how to modify the default MTU size settings for Point-to-Point Protocol (PPP) connections or for virtual private network (VPN) connections.
How to modify the MTU Settings for VPN Connections on XP
To modify the MTU settings for VPN connections, you need to add the ProtocolType DWORD value, the PPPProtocolType DWORD value, and the TunnelMTU DWORD value to the following registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\Ndiswan\Parameters\Protocols\0
To do so, follow these steps.
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\Servic es\NdisWan\Parameters
3. Add a Protocols subkey (if it does not already exist). To do so:
a. On the Edit menu, point to New, and then click Key.
b. Type Protocols, and then press ENTER.
4. Add a 0 (zero) subkey to the Protocols subkey. To do so:
a. Click the Protocols sub key that you created in step 3.
b. On the Edit menu, point to New, and then click Key.
c. 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 (e.g. 1460) in the Value data box, and then click OK.
18. Quit Registry Editor.
19. Restart your computer.
VIDEO TUT: http://www.youtube.com/watch?v=79OxBqzslgs
0 comments:
Post a Comment