Recipe10.13.Measuring Link Speed and Latency Between Two Hosts


Recipe 10.13. Measuring Link Speed and Latency Between Two Hosts

Problem

You want to measure the link speed between two hosts.

Solution

Using a command-line interface

The Windows Server 2003 Resource Kit includes a new tool called linkspeed, which measures the connectivity between two hosts. You run the command from one system and target a remote system:

> linkspeed /s \\<ServerName> > linkspeed /s <ServerDNSName>

Alternatively, you can specify the /dc switch to have it test the machine's current domain controller:

> linkspeed /dc

I've tested linkspeed on Windows 2000. While it runs without fatal errors, it doesn't produce consistent results. It works best when the target system is another Windows Server 2003 machine.

Discussion

Finding the link speed between two hosts is often useful when troubleshooting network connectivity problems. For example, if a client is having problems authenticating to Active Directory, you should learn the link speed between the client and the domain controller with which it is authenticating. A slow speed, perhaps due to congestion, could be the cause. If you want to determine the average link speed between two hosts, you should run the linkspeed command several times over multiple days. The results for any particular run of linkspeed could vary significantly depending on what is happening in the network at that time.



Windows Server Cookbook
Windows Server Cookbook for Windows Server 2003 and Windows 2000
ISBN: 0596006330
EAN: 2147483647
Year: 2006
Pages: 380
Authors: Robbie Allen

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net