×

Loading...
Ad by
  • 推荐 OXIO 加拿大高速网络,最低月费仅$40. 使用推荐码 RCR37MB 可获得一个月的免费服务
Ad by
  • 推荐 OXIO 加拿大高速网络,最低月费仅$40. 使用推荐码 RCR37MB 可获得一个月的免费服务

Do you use XP internet share? you may need to reduce the MTU size of a PPPoE connection to a value of between 1,400 and 1,480, for example 1,454.

本文发表在 rolia.net 枫下论坛The default and maximum PPPoE MTU size is 1,480 bytes. With some Internet service providers (ISPs),
Win98:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\netTrans\000 n
MaxMTU = 16-bit integer



SUMMARY
On a TCP/IP wide area network (WAN), communication over some routes may fail if intermediate network segments have packet sizes smaller than the communicating hosts, and routers do not send appropriate ICMP responses to this condition. A router that causes this condition is sometimes known as a "black hole" router. The Ping utility, a standard utility installed with the Microsoft Windows TCP/IP protocol, can be used to find black hole routers. Some recommendations are provided to work around or fix problems with black hole routers.



MORE INFORMATION
When a network router receives a packet larger than the Maximum Transfer Unit (MTU) of the next network segment, and that packet's IP layer "don't fragment" bit is flagged, the router should send an ICMP destination unreachable message back to the sending host. When this does not happen, packets can be dropped, causing a variety of errors that will vary with the application that is communicating over the failed link. These errors will not occur when an application connects to a computer on a local subnet. The problem may seem intermittent, but on closer examination, it can be duplicated, such as in having a client read a large file from a remote host.

The Ping utility can be used to find black hole routers by using the -f (do not fragment) and the -l (buffer size) parameters. Setting the -f parameter will cause the Ping utility to send an ICMP echo packet with the IP "do not fragment" bit set. The -l parameter sets the buffer, or payload, size of the ICMP Echo packet. The largest buffer that can be sent unfragmented equals the MTU minus the IP and ICMP headers (MTU-28) of the smallest MTU along a route. For example, because Ethernet has an MTU of 1500 bytes, under the best circumstances, Ping could echo an unfragmented packet with an ICMP buffer of 1472 bytes. The syntax for Ping in this case would be:

Ping <computer name or IP address> -f -l 1472

This should work on all local IP addresses. If the MTU of all segments of a routed connection are 1500 or larger, the packet should be returned as well. If there are intermediate segments with smaller MTUs, and routers return the appropriate ICMP Destination Unreachable packet, the utility should display "Packet needs to be fragmented but DF set". If there are segments along the route with smaller MTUs, and the appropriate ICMP packet is not returned, the Ping utility should display "Request timed out." The default MTUs of common network media are described in Knowledge Base article Q140375 .

By changing the -l parameter on successive Pings, the largest unfragmented packet that will travel a specific route can be found. The smallest MTU in general use is 576 bytes, so you should be able to safely start with an ICMP buffer of 548, then work up from there. For example, if Ping <host name or address> -f -l 972 returns packets and Ping <host name or address> -f -l 973 fails, the largest MTU that can be used over that route is 1000 (972+28).

To fix or work around black hole routers, there are four possible solutions:

Enable PMTU Black Hole Detection on Windows hosts that will be communicating over a wide area connection, as documented in Knowledge Base article Q136970 . In this case, Windows NT 3.51 Service Pack 2 or later or Windows NT 4.0 should be used.


Configure intermediate routers to send ICMP type 3 code 4 (destination unreachable don't fragment (DF) bit sent and fragmentation required) messages. This may require upgrading router software or firmware, router configuration or router replacement.



Disable PMTU discovery on Windows hosts that communicate over troublesome routes. This will configure the default MTU to 576 bytes. This could cause significant degradation in network performance.



Set the MTU of the host interface to be the largest the black hole router can handle. This guarantees the largest possible packet size will be sent over that connection, but will cause local traffic, and traffic over routed connections without problems, to use smaller packets than they would otherwise. This workaround assumes that you have determined the MTU and the state of all possible links that could be used by the host in question.更多精彩文章及讨论,请光临枫下论坛 rolia.net
Report

Replies, comments and Discussions:

  • 工作学习 / IT技术讨论 / 我今天重新装了一遍WIN98,好像问题依旧。我的电脑到底怎么啦?各位看官救命。要是给人安了worm,怎么才查得出来?
    我新买的电脑,上网总是存在这么两个问题:
    1。当碰到有地方要填东西时,比如:输入用户名,密码,google搜索,等等,总之,只要是要填东西时,电脑反应非常慢,感觉是死机了,过了半分钟,又东西能填了。
    2。我的hotmail和yahoo在发邮件时,附件老是attach不上去。
    说明一下,我住的apartment是3家人,通过cable上网的,但这些问题即便是我一个人用的时候也存在,我的系统是98。

    我快崩

    前面已经问过一次了,有两人回答:一说是内存问题,我用专门的内存测试软件测过,没有问题;二说是病毒问题,我机器上装的是原装pccilin,今天还下载了最新病毒代码,没有病毒。

    我今天重新装了一遍WIN98,好像问题依旧。
    • 你买的是不是IBM的品牌机?
    • 有可能是中了木马, 查一下注册表启动了哪些程序.
    • 估计是某个软件引起的(一般是小软件),你用排除法把那个软件找出来,再也不要用它,换个替代品。
    • Do you use XP internet share? you may need to reduce the MTU size of a PPPoE connection to a value of between 1,400 and 1,480, for example 1,454.
      本文发表在 rolia.net 枫下论坛The default and maximum PPPoE MTU size is 1,480 bytes. With some Internet service providers (ISPs),
      Win98:
      HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\netTrans\000 n
      MaxMTU = 16-bit integer



      SUMMARY
      On a TCP/IP wide area network (WAN), communication over some routes may fail if intermediate network segments have packet sizes smaller than the communicating hosts, and routers do not send appropriate ICMP responses to this condition. A router that causes this condition is sometimes known as a "black hole" router. The Ping utility, a standard utility installed with the Microsoft Windows TCP/IP protocol, can be used to find black hole routers. Some recommendations are provided to work around or fix problems with black hole routers.



      MORE INFORMATION
      When a network router receives a packet larger than the Maximum Transfer Unit (MTU) of the next network segment, and that packet's IP layer "don't fragment" bit is flagged, the router should send an ICMP destination unreachable message back to the sending host. When this does not happen, packets can be dropped, causing a variety of errors that will vary with the application that is communicating over the failed link. These errors will not occur when an application connects to a computer on a local subnet. The problem may seem intermittent, but on closer examination, it can be duplicated, such as in having a client read a large file from a remote host.

      The Ping utility can be used to find black hole routers by using the -f (do not fragment) and the -l (buffer size) parameters. Setting the -f parameter will cause the Ping utility to send an ICMP echo packet with the IP "do not fragment" bit set. The -l parameter sets the buffer, or payload, size of the ICMP Echo packet. The largest buffer that can be sent unfragmented equals the MTU minus the IP and ICMP headers (MTU-28) of the smallest MTU along a route. For example, because Ethernet has an MTU of 1500 bytes, under the best circumstances, Ping could echo an unfragmented packet with an ICMP buffer of 1472 bytes. The syntax for Ping in this case would be:

      Ping <computer name or IP address> -f -l 1472

      This should work on all local IP addresses. If the MTU of all segments of a routed connection are 1500 or larger, the packet should be returned as well. If there are intermediate segments with smaller MTUs, and routers return the appropriate ICMP Destination Unreachable packet, the utility should display "Packet needs to be fragmented but DF set". If there are segments along the route with smaller MTUs, and the appropriate ICMP packet is not returned, the Ping utility should display "Request timed out." The default MTUs of common network media are described in Knowledge Base article Q140375 .

      By changing the -l parameter on successive Pings, the largest unfragmented packet that will travel a specific route can be found. The smallest MTU in general use is 576 bytes, so you should be able to safely start with an ICMP buffer of 548, then work up from there. For example, if Ping <host name or address> -f -l 972 returns packets and Ping <host name or address> -f -l 973 fails, the largest MTU that can be used over that route is 1000 (972+28).

      To fix or work around black hole routers, there are four possible solutions:

      Enable PMTU Black Hole Detection on Windows hosts that will be communicating over a wide area connection, as documented in Knowledge Base article Q136970 . In this case, Windows NT 3.51 Service Pack 2 or later or Windows NT 4.0 should be used.


      Configure intermediate routers to send ICMP type 3 code 4 (destination unreachable don't fragment (DF) bit sent and fragmentation required) messages. This may require upgrading router software or firmware, router configuration or router replacement.



      Disable PMTU discovery on Windows hosts that communicate over troublesome routes. This will configure the default MTU to 576 bytes. This could cause significant degradation in network performance.



      Set the MTU of the host interface to be the largest the black hole router can handle. This guarantees the largest possible packet size will be sent over that connection, but will cause local traffic, and traffic over routed connections without problems, to use smaller packets than they would otherwise. This workaround assumes that you have determined the MTU and the state of all possible links that could be used by the host in question.更多精彩文章及讨论,请光临枫下论坛 rolia.net
    • 1.是你肯定选了保存密码啊什么的,或者自动填空,所以到了这地方系统就找内容去了.所以慢.在option里面清除该选项即可提高速度.2.可能不是病毒,网络速度足够快么?试试看升级IE
    • 另外,用2000吧.如果机器足够快的花