|
| ||||||||||
| Tags: black hole, router |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| How to solve Black Hole Router Issues
On a TCP/IP-based wide area network (WAN), communication over some routes may fail if an intermediate network segment has a maximum packet size that is smaller than the maximum packet size of the communicating hosts--and if the router does not send an appropriate Internet Control Message Protocol (ICMP) response to this condition or if a firewall on the path drops such a response. Such a router is sometimes known as a "black hole" router. You can locate a black hole router by using the Ping utility, which is a standard utility that is installed with the Microsoft Windows TCP/IP protocol. You can then use one of three methods of fixing or working around black hole routers. When a network router receives a packet that is larger than the size of the Maximum Transmission Unit (MTU) of the next segment of a communications network, and that packet's IP layer "don't fragment" bit is flagged, the router is expected to send an ICMP "destination unreachable" message back to the sending host. If the router does not send a message, the packet might be dropped, causing a variety of errors that vary with the program that is communicating over the unsuccessful link. (These errors do not occur if a program connects to a computer on a local subnet.) The behavior may seem intermittent, but closer examination shows that the behavior can be reproduced, for example, by having a client read a large file that is sent from a remote host. |
|
#2
| |||
| |||
| Re: How to solve Black Hole Router Issues Client-side Error The client could not establish a connection to the remote computer. The most likely causes for this error are:
Source: TermService Description: "The terminal server cannot issue a client license. It was unable to issue the license due to a changed (mismatched) client license, insufficient memory, or an internal error. Further details for this problem may have been reported at the client's computer." Locating a Black Hole Router You can use the Ping utility to locate a black hole router, by setting the -f and -l parameters when you type the ping command.
The largest buffer that can be sent unfragmented is equal to the smallest MTU that exists along a route, minus the IP and ICMP headers (in other words, the smallest MTU minus 28). For example, Ethernet has an MTU of 1,500 bytes, so under the best circumstances, the Ping utility can echo an unfragmented packet, plus an ICMP buffer, of 1,472 bytes (1,500 minus 28). The syntax for the ping command in this case is: ping computer_name or IP_address -f -l 1472 For all local IP addresses, the expected results are as follows:
By increasing the - l parameter on successive pings, you can identify how large an unfragmented packet can travel a specific route. The smallest MTU that is in general use is 576 bytes, so you can safely start with an ICMP buffer of 548 and then work up from there. For example, if the command Ping computer_name or IP_address -f -l 972 returns packets but Ping computer_name or IP_address -f -l 973 does not return packets, the largest MTU on that route is 1,000 (972 plus 28). |
|
#3
| |||
| |||
| Re: How to solve Black Hole Router Issues Fixing or Working Around a Black Hole Router 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. The following three methods are ways to either fix or work around a black hole router. Method 1 Enable PMTU Black Hole Detection on the Windows-based hosts that will be communicating over a WAN connection. Follow these steps:
Method 2 Configure intermediate routers to send ICMP Type 3 Code 4 messages ("destination unreachable, don't fragment (DF) bit sent and fragmentation required"). This might require a router software or firmware upgrade, router reconfiguration, or router replacement. |
|
#4
| |||
| |||
| Re: How to solve Black Hole Router Issues Method 3 Set the MTU of the host interface to be the largest size that the black hole router can handle, to guarantee that the largest possible packet size is sent over that connection. However, note that local traffic then uses smaller packets than necessary, as will traffic that uses the routed connections without problems. This workaround assumes that you have identified the MTU and the state of all possible links that the host might use. After you identify the largest MTU size that is supported, manually set the MTU. Follow these steps:
Note that if you still encounter problems with some servers, you might need to set the MTU lower than the Ping tests indicate because of other routers in that specific path. Repeatedly lower the MTU by 10 until access to those sites is successful. |
|
#5
| |||
| |||
| Re: How to solve Black Hole Router Issues |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "How to solve Black Hole Router Issues" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Black Hole not looking proper in The Darkness II game’ | Vidya Bacchi | Video Games | 4 | 15-03-2012 01:14 PM |
| Black hole virus Detected. | Udyami | Networking & Security | 5 | 11-08-2011 11:28 AM |
| How to solve WCF Security Issues | Shanbaag | Software Development | 3 | 25-09-2009 02:05 PM |
| email going to black hole? | Jeff106 | Windows Software | 5 | 19-06-2009 02:10 AM |
| Sixteen PlayStation 3 to simulate a black hole | Russell | Off Topic Chat | 3 | 30-12-2008 08:31 AM |