Test Network and Internet Latency (Lag) in Microsoft Windows

This article was provided by wikiHow, a wiki building the world's largest, highest quality how-to manual. Please edit this article and find author credits at the original wikiHow article on how to test network and internet latency (lag) in microsoft windows. Content on wikiHow can be shared under a Creative Commons License.

Grade C Views 81
Last edited 2 months ago

Have you just connected a Windows PC to a network or the Internet? Want to know the easiest way to check connectivity? The simple command "ping " will help you find out if it has a networking connection. Both the "ping" and "tracert" commands will help you measure latency, also known as "lag".

Step 1  

Open a command prompt.  

  1. Click on the "Start" button.
  2. Select "Run". A window will open with a text box.
  3. Type cmd in the text box.
  4. Click "Ok" or press [Enter]. The command prompt will then appear. This is the default command-line interface for Windows.

Step 2  

Test the loop-back address. Type ping 127.0.0.1. It is the same for every computer, so you do not need to change this. This will test your computer's network chip, not your modem, router, or Internet connection.  

  1. You can continuously test a connection using the command ping microsoft.com -t. To exit continuous testing, press Ctrl+C.
  2. Place -n 20 at the end of the command to send 20 pings. Replace the number 20 with any value (the value will be limited to a 32-bit or 64-bit integer).

Step 3  

Look at the output.  

  1. If everything is correct, you will see: Reply from 127.0.0.1: bytes... Reply from 127.0.0.1: bytes...

    Reply from 127.0.0.1: bytes...

    Reply from 127.0.0.1: bytes...

  2. Then it will tell you the ping statistics. This should say 0% loss.
  3. Keep an eye on the response time, as it represents the connection's latency between you and the server. Double digit values, such as 50ms, is very good. This varies drastically depending upon where the server is in relation to your computer. Generally, most connections should have latency less than a few hundred milliseconds. If there is no network connection, you will see the output "Request timed out" repeated four times.

Step 4  

Test your local Gateway. Find your Default Gateway's IP address:  

  1. Click on the "Start" button.
  2. Select "Run". A window will open with a text box.
  3. Type cmd in the text box.
  4. Click "Ok" or press [Enter]. The command prompt will then appear.
  5. Type ipconfig in the command prompt window.
  6. Press [Enter]. The command prompt will then display the output from the ipconfig command.
  7. Find the listing for "Default Gateway". This is the IP you can use in a ping to test the connection between your computer and your router or ISP.

Step 5  

Test beyond your local network. Test the connectivity of your modem, router, network, or Internet connection by using an IP address on the Internet.

Step 6  

Check Domain Name Resolution. Instead of an IP address, type in a site's domain name, such as www.google.com. Pinging a domain name tests your computer and network's ability to resolve network names (translating them to IP addresses).

Step 7  

Measure network and Internet performance (Windows NT, 2000, XP, and Vista only). Use the tracert command to measure the response of each hop in a network path. Your connection to any one server will require multiple "hops" between other servers and networking components. The fewer number of hops, the better. Most connections to a server on the Internet will include at least a dozen hops. To test:  

  1. With the command prompt open, type tracert xxx.xxx.xxx.xxx, replacing xxx.xxx.xxx.xxx with an IP address on the Internet.
  2. Press [Enter] and watch as each hop is 'pinged' and logged. The first ping should be your computer, modem, or router, and the last ping should be your target address.
  3. Notice that the response time for points farther away from you will be greater than those closer to you.

Tips

  • Another way to start Command Prompt is by navigating to Start > (All) Programs > Accessories > Command Prompt.
  • You can also use commands such as "ipconfig" to find out your IP address.
  • You can also run a remote PING or TRACEROUTE . This allows you to ping an IP address or computer from a computer other than yours to see if the problem may be associated with your local connection rather than the IP Address you are trying to connect to.
  • If you use a dial-up connection, then you may see higher latencies, or even lost packets (% loss).
  • Once you're finished using either the PING command or the TRACERT command, you can close the Command Prompt window by typing "exit", without the quotes.

Warnings

  • Some servers on the Internet block your ability to 'ping' them. These network points are blocking your request for a ping to promote their own security.

Via wikihow

Obama! Are You Eating that Chicken Wing Correctly?

Yes, there is a right way and a wrong way to eat a chicken wing. And yes, Obama likes chicken wings just like everybody else does. Here's how you do it, courtesy of Food Wishes (also, here's several ...

SPLAT! Art Made from Everyday Household Items

Tom Friedman. One of my very favorite contemporary artists. Friedman injects the wonder into the humdrum. He creates magic from the unsuspected with his incredible sculptures assembled from simple ...

Cheat Your Way to 300 (via Remote Control)

This is full blown cheating - no ifs, ands or buts about it. Introducing the RC900, a remote-control bowling ball invented by San Antonio, Texas-based 900 Global. Says Popular Mechanics, "The ...

World's Fastest Bicycle Goes 75mph

Cycling enthusiasts, behold. Fastest bicycle in the world, designed by VARNA of British Columbia. Pretty impressive. Check it out, Barbara Buatois of France completes her new One Hour World Record at ...

Knit Your Food

Knitted delectable delights from Ed Bing Lee. Inspired? Gotta start somewhere. Previously, Crocheters Like to Party, Too. English Ladies Knit Entire Village.

loading...