MTU problem (DSL sharing related)

coolpig

Member
Jun 26, 2000
41
0
0
I have DSL connection at my house, and i use a Linux box to do IP masquerating to share internet connection for 4 computer. I successfully install everything and i can go on internet on all 4 computers. However, there are some sites i can't go on, actually, a lot of site. I went to IP Masqueration HOW-TO and it tells me that i need to change my MTU to my DSL MTU, which means modify my local machine's registry. One of my computer is Win2000, does anyone know how to do it? or is there any better solution?
 

Jacky7084400

Member
Oct 2, 2000
43
0
0
Verifying Maximum Packet Size
At a DOS prompt type:
Ping -f -l nnnn www.yourisp.com

Replace nnnn with a number that is equal to your MTU setting minus 28 (e.g.: 1454 - 28 = 1426). The ping should not fragment and you should not see the message "Packet needs to be fragmented but DF set" unless nnnn (and thus the value used for your MTU setting) is too high.

Recommended Values for Windows 98 PPPoE Clients
Add or change the MTU value for the NetTrans registry key for the network adapter (or the HSE service adapter for the gateway computer) and values for the MSTCP registry key and delete the Microsoft ICS InternetMTU key, if present, as follows:

HKLM\System\CurrentControlSet\Services\Class\NetTrans\000n
MaxMTU="1454" (string)

HKLM\System\CurrentControlSet\Services\VxD\MSTCP
DefaultRcvWindow="65044" (string)
DefaultTTL="64" (string)
PMTUDiscovery="0" (dword)
PMTUBlackHoleDetect="0" (dword)
Tcp1323Opts="3" (dword)
SackOpts="1" (string)

HKLM\System\CurrentControlSet\Services\VXD\MSTCP\Parameters
MaxDupAcks="3" (dword)

HKLM\System\CurrentControlSet\Services\ICSharing\Settings\General\InternetMTU
[Delete this key as per Microsoft KB Q230/1/16]

Recommended Values for Windows 95 PPPoE Clients
Add or change the MTU value for the NetTrans registry key for the network adapter (or the HSE service adapter for the gateway computer) and values for the MSTCP registry key as follows:

HKLM\System\CurrentControlSet\Services\Class\NetTrans\000n
MaxMTU="1454" (string)

HKLM\System\CurrentControlSet\Services\VxD\MSTCP
DefaultRcvWindow="65044" (string)
DefaultTTL="64" (string)
PMTUDiscovery="0" (dword)
PMTUBlackHoleDetect="0" (dword)

Recommended Values for Windows NT PPPoE Clients
Add or change dword values for registry keys as follows:

HKLM\System\CurrentControlSet\Services\<Adapter>\Parameters\TCPIP
MTU=&quot;1454&quot; (dword)

HKLM\System\CurrentControlSet\Services\TCPIP\Parameters
TcpWindowSize=&quot;65044&quot; (dword)
 

coolpig

Member
Jun 26, 2000
41
0
0
is Win2000 the same as NT? if it does, how come i don't see the Parameter under <adapter>?

thanx :)
 

coolpig

Member
Jun 26, 2000
41
0
0
there is another thing. does the number &quot;1454&quot; and &quot;65044&quot; hex or bin? Is &quot;65044&quot; default value?