请
登录
后使用快捷导航
没有帐号?
立即注册
已签到,明天再来
签到领寄托币
GO
寄托家园留学论坛
›
论坛
›
寄托悠闲社区
›
网络资源
›
利用windows内置共享后客户机部分网站不能上的问题
返回列表
查看:
1840
|
回复:
1
利用windows内置共享后客户机部分网站不能上的问题
[复制链接]
i-winner
UID: 183200
i-winner
当前离线
最后登录
2008-6-3
在线时间
0 小时
寄托币
2262
声望
1
注册时间
2004-10-22
阅读权限
30
帖子
2
精华
8
积分
1686
UID
183200
高级会员
高级会员, 积分 1686, 距离下一级还需 -86 积分
声望
1
寄托币
2262
注册时间
2004-10-22
精华
8
帖子
2
主页
发消息
电梯直达
楼主
发表于 2005-7-15 18:41:29
|
只看该作者
|
倒序浏览
利用windows内置共享后,客户机可以使用QQ,Outlook等等,但部分网站不能上,需要修改客户机的MTU值。
打开注册表编辑器,找到
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interf
aces\ID for Adapter
这里ID for Adapter代表你的用于联网的网卡,我的是
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interf
aces\{F1EF0476-AB51-42E8-8CB9-17F93BE1BEB4}
选中,会有很多项,不用管,选择编辑-新建-双字节值,数值名称为MTU,数值数据选
择十进制1400左右。基本上就没有什么问题了!
下面的文章是详细内容
Client Problem MTU
browser problems with client, some websites reachable, some not
ping
http://www.spiegel.de/
reachable
ping
http://www.microsoft.com/
not reachable
Das MTU/PMTU-Problem wird durch non PMTU compliant router (Path Maximum
Transmission Unit discovery described in RFC 1191 for TCP connections) auf
dem internet path bis zum destination host verursacht (s.a. PMTU
Compliance).
Solution MTU:
http://support.microsoft.com/support/kb/articles/q259/7/83.asp
Q259783 - PPPoE with ICS Requires MTU Setting Below 1492 on the ICS Clients
PPPoE requires lowering the Maximum Transmission Unit (MTU) setting on all
client computers to a value no larger than 1,492. (The default is 1,500.) In
some cases, a value less than 1,492 may be necessary.
In order to determine the proper MTU size, perform the following steps:
1. Determine the default gateway of the ICS server using IPCONFIG.
192.168.0.1
2. From a command prompt on a client, type PING -f -l <MTU size> <IP address
of default gateway from first step>. Start with an MTU size of 1,454.
-f Flag for set "Don't Fragment"
-l send buffer length
ping -f -l 1500 192.168.0.1 > 100% loss (must be fragmented)
ping -f -l 1492 192.168.0.1 > 100 % loss (must be fragmented)
ping -f -l 1488 192.168.0.1 > 100 % loss (must be fragmented)
ping -f -l 1454 192.168.0.1 > 0 % loss
ping -f -l 1454
www.spiegel.de
> 25 % loss (reachable with browser)
ping -f -l 1450
www.spiegel.de
> 0 % loss
ping -f -l 1450
www.microsoft.com
> 100 % loss Zeitüberschreitung
(reachable with browser)
3. If this fails with an error message indicating that it must be
fragmented, decrease the MTU size and try again. Repeat this until the ping
command succeeds.
MTU = 1450
4. about setting the MTU value in Windows: Q120642 TCP/IP and NBT
Configuration Parameters for Windows NT
Setting MTU for Windows XP, Windows 2000, Windows NT
http://support.microsoft.com/support/kb/articles/Q120/6/42.ASP
(Windows XP,
Windows 2000, Windows NT)
The TCP/IP protocol suite implementation for Windows NT 3.5x and 4.0 reads
all of its configuration data from the registry. This information is written
to the registry by the Network tool in Control Panel as part of the Setup
process. Some of this information is also supplied by the Dynamic Host
Configuration Protocol (DHCP) client service if it is enabled.
To change these parameters, use the following procedure.
1.. Start Registry Editor (Regedt32.exe).
2.. Backup registry.
3.. From the HKEY_LOCAL_MACHINE subtree, go to the following key:
4.. \SYSTEM\CurrentControlSet\Services
5.. Add a value to the key as described in the appropriate entry below by
clicking Add Value on the Edit menu, typing the value, and then using the
Data Type check box to set the value type.
6.. Click OK.
7.. Quit Registry Editor.
8.. Reboot the computer to make the change take effect.
All of the TCP/IP parameters are registry values that are located under one
of two different subkeys of
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
Tcpip\Parameters
Adapter Name\Parameters\Tcpip
where Adapter Name refers to the subkey for a network adapter that TCP/IP is
bound to, such as Lance01. Values under the latter key(s) are specific to
each adapter. Parameters for which there may be both a DHCP and statically
configured value may or may not exist depending on whether the
system/adapter is DHCP configured and/or static override values have been
specified. A reboot of the system is required for a change in any of these
parameters to take effect.
The Windows NT TCP/IP implementation is largely self tuning. Adjusting
registry parameters without careful study may adversely affect system
performance. The parameter MTU normally does not exist in the registry. They
may be created to modify the default behavior of the TCP/IP protocol driver.
MTU
Key: Adapter Name\Parameters\Tcpip
NOTE: In Windows 2000 and later this value is under the following key:
Key: Tcpip\Parameters\Interfaces\ID for Adapter
Value Type: REG_DWORD Number
Valid Range: 68 - the MTU of the underlying network
Default: 0xFFFFFFFF
Description: This parameter overrides the default Maximum Transmission
Unit (MTU) for a network interface. The MTU is the maximum packet size in
bytes that the transport will transmit over the underlying network. The size
includes the transport header. Note that an IP datagram may span multiple
packets. Values larger than the default for the underlying network will
result in the transport using the network default MTU. Values smaller than
68 will result in the tranport using an MTU of 68.
Setting MTU for Windows 95, Windows 98, Windows ME
http://support.microsoft.com/sup ... =DE&SD=SO&F
R=0
Q158474: Windows TCP/IP Registry Entries
(Windows 95, Windows 98, Windows ME)
www.microsoft.com/IntlKB/Germany ... &SD=SO&FR=0
D35685 - Windows-TCP/IP-Registrierungseintr?ge
(Windows 95, Windows 98)
Backup your registry before editing keys or values.
The entries in this section must be added to the following registry key,
where n represents the particular TCP/IP-to-network adapter binding.
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\netTrans\000n
MaxMTU = 16-bit integer
Data Type: String
This specifies the maximum size datagram IP that can pass to a media driver.
SNAP and source routing headers (if used on the media) are not included in
this value. For example, on an Ethernet network, MaxMTU will default to
1500. The actual value used will be the minimum of the value specified with
this parameter and the size reported by the media driver. The default is the
size reported by the media driver.
0
0
使用道具
举报
seaxp
UID: 145392
seaxp
当前离线
最后登录
2019-3-6
在线时间
28 小时
寄托币
133
声望
0
注册时间
2003-9-18
阅读权限
15
帖子
2
精华
0
积分
120
UID
145392
寄托新兵
寄托新兵, 积分 120, 距离下一级还需 30 积分
声望
0
寄托币
133
注册时间
2003-9-18
精华
0
帖子
2
主页
发消息
沙发
发表于 2005-7-16 02:34:55
|
只看该作者
在太傻上看到过这个帖子。
建议以后使用路由器,就不用这么麻烦了。
双非DIY美硕申请总结
使用道具
举报
返回列表
RE: 利用windows内置共享后客户机部分网站不能上的问题 [
修改
]
高级模式
B
Color
Image
Link
Quote
Code
Smilies
您需要登录后才可以回帖
登录
|
立即注册
发表回复
回帖后跳转到最后一页
浏览过的版块
数理统计版
内部回收站
美国留学
运动天下
0
0
转发
转发该帖子
利用windows内置共享后客户机部分网站不能上的问题
https://bbs.gter.net/thread-300558-1-1.html
复制链接
发送
积分 , 距离下一级还需 积分
回顶部