JSI Tip 0412 - Is your RAS connection using LMHOSTS slow?

Jerold Schulman

February 3, 1998

1 Min Read
ITPro Today logo in a gray background | ITPro Today

If you are using LMHOSTS to resolve the IP address of your RAS server, Windows NT must wait for the connection attempts over your local LAN to timeout before the RAS connection is accepted. This could take 90 seconds.

Try lowering the value of TcpMaxConnectRetransmissions. If you set it too low, you may experience connection problems over a slow link. Edit:

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesTcpipParameters

and set the type REG_DWORD value name of TcpMaxConnectResponseRetransmissions to 1. The default for this value is 3 which results in the 90 second delay, while a value of 1 only causes an 18 second delay. This entry determines how many times a response to a TCP connection request is retransmitted. The initial delay between connection attempts is 3 seconds and is doubled after each attempt. The valid range is 0 - 0xFFFFFFFF.

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like