Computer Science, asked by blueansh417, 1 year ago

How can i check connectivity through command prompt?

Answers

Answered by charlie1505
0

Answer:

Open command prompt

Type the command ping (Ip address of server or servername)

Answered by badcaptain69
0

Step 1: Open the Start Menu

Before we can use ping, we need to open Windows Command Prompt.

To do so, right click the start button in the bottom left corner of the screen.

Step 2: Search for Command Prompt

Once the start menu is open, click in the "Search programs and files" box and type "Command Prompt." As you type, results will start to appear above the text box.

Step 3: Open Command Prompt

Multiple results may fill the list; click the one that says "Command Prompt" and a window should appear entitled "Command Prompt." Inside the window should be a black box with some text.

Step 4: Welcome to Command Prompt

In the window you will see a blinking cursor that follows your username.

A Brief Introduction to Command Prompt

Command Prompt allows you to control your computer via text based commands, it should be noted that commands should be typed CAREFULLY to avoid damage to your system. Command Prompt is very strict on syntax, so if you do not type a command precisely, it will most likely return an error. Command Prompt is a relic from computers past when there was no graphical user interface. In the old days, if you wanted your computer to do something, you had to type it out and hope you typed it right. It is very easy to ruin your machine with Command Prompt, especially if you have read and write privileges to all the files on your system. That being said, it should be noted that using ping is very safe as it does not modify any files on your system directly.

Step 5: Using Ping  

Running ping for the first time:

Now that Command Prompt is open, we can run ping by calling it with a simple instruction. For your first time using ping, type exactly what is written below in the quotes:

"ping google.com"

After you type what is in the quotes, press the "Enter" key on your keyboard. If you typed the command correctly, your screen should resemble the one in the image above. The results are not instantaneous, so it may take a few moments for ping to finish. You will know when ping is finished when your username followed by a blinking cursor appears again on the last line of text.

Step 6: Understanding the Results

Vocabulary

Ping Statistics:

Sent: This is the amount of packets ping sent to the address you typed in the prompt. The default is four.

Received: This is the amount of packets that returned from the address you typed in the prompt. Ideally, this should equal the amount sent.

Lost: This is the amount of packets that did not return from the address you typed. Ideally, this should be zero.

Approximate Round Trip Times:

Minimum: This is the shortest time (in milliseconds) that it took for a packet to be sent to the address you typed and returned back to your computer. That is the "Round Trip" it is talking about.

Maximum: This is the longest time (in milliseconds) that it took for a packet to be sent to the address you typed and returned back to your computer.

Average: This is the average round trip time of all the packets sent. Ideally, this should be as low as possible. In the picture from the last step, the average was 3ms, which is very good. The larger the number here, the worse your connection is.

What this all means

If you get a really long average trip time, or a large percentage of packet loss, this signifies that your network connection is experiencing some issues. Commonly the issues are either due to a poorly functioning router or modem which can be solved with a simple reset most of the time. Other times the issue is due to a large volume of traffic on your network causing "collisions" which is when two or more computers try to use the network at the same instant. This is commonly seen in enterprise networks, like schools and businesses during peak hours when everyone is trying to connect to the internet.

Another cause for a high average trip time or packet loss could have nothing to do with your network. It could be that the website you are trying to reach is unable to handle the volume of traffic. This is unlikely, especially with websites like Google.com or Facebook.com which have the resources necessary to service high volumes. An example would be when a small website unexpectedly experiences high volume. In any of these cases, there is really nothing you can do but wait it out.

Similar questions