How to use the Ping command to troubleshoot network

How to use the Ping command to troubleshoot network
4.8 (99) 95.35%

Today we will talk about PING, in small utility interface (CLI does not go with the mouse) available on most operating systems. It helps us to detect the source of problems from a network or the Internet.
As a principle PING command is easy to understand human language equivalent would be: Are you there?. The answer can be yes or no.
Taking turns all the main points of the network we realize we do matters.
First we start with our network card (loop-back):
ping 127.0.0.1
If the answer means that we have a functional network card and we can move on.
Step two is to check if we can resolve the hostname to IP.
ping "name pc's"
If the first response and we AFIC IP address means we have good settings for DNS. If we receive no response means that the DNS settings are wrong.
Step three is to check your router or gateway provided by the provider.
ping "default gateway or router address"
If everything is okay up here, we will try to do ping google, yahoo or whatever.
ping google.ro
If we receive the response and the domain name was resolved (to ping an IP) means that netul go and the problem comes from firewall or antivirus which blocks browser.
If you are interested in the subject, we will continue with that traceroute will show us where our travel packages. Traceroute and also can show us where the problems occur on the road, so we know who to hold accountable when X or Y site does not load well.
The difference between ping the Linux and Windows is that Linux ping goes on forever and windows stops after four lines. If you want more than four lines on windows you can use "-t", eg "ping-t google.ro" and it will ping forever. on linux you can interrupt the sequence with Ctrl + C.


Get the Flash Player to see the video.


Related Tutorials



About Cristian Cismaru

I love everything related to IT & C, I like to share the experience and information that we accumulate every day.
Learn as you learn!

Comments

  1. I want to see and tutorial about tracert

  2. What was Cristi order to see how many IPs passes through our connection to the provider? I know that I knew I was a command. If you could help me! You could see how many connections pass through to them.

  3. Adrian Gudus said

    Andrew: What was Cristi order to see how many IPs passes through our connection to the provider? I know that I knew I was a command. If you could help me! You could see how many connections pass through to them.

    Just talked about it in tutorial, and this was shown and you had to find out if we follow the tutorial head-tail ...

  4. Costelina said

    Thank Cristi and I want to continue as you know
    I was not bored
    who opens our minds than nine wonderful people like you
    thanks again

  5. Come with tutorial about tracert

  6. I want more tutorials on troubleshooting or if you can and you will make a good dedicated debugging category (more on networking hardware such symptoms / defective motherboards etc) and still desiring a suggestion if you could make this category payment .....
    I'm just saying
    Thanks for all you do! ! !

  7. Albert1831 said

    Ping told me somebody from Romtelecom but it was very brief and did not really inteles.Dar you could make a tutorial on perl command?

  8. Interesant.Am I did all the steps and I was amazed that I mean speed (google - 14ms and videotutorial.ro - 4 ms) .In the end we saw that you are on the phone and I fix.

  9. Cristi, in tutorial you said that someone can use my internet package clonand MAC, you can find out who is that person? or can be removed from the network?

  10. continue with these tutorials ... worth every minute invested

  11. you said you v6 but how can ip Romania the only ip v4?

  12. Cristi how to reverse floods

  13. Hello,
    I care about cleaning a cooler videotutorial a SN12E24B01 HANNspree.
    Thank you.

  14. Cristi please ntutorial how do u know where is hosted a website ie what web hosting. There must be some method to determine where a website is hosted.

  15. FlorinP. said

    It would be interesting tutorial and treceroute.

  16. Hello,

    1.Am observed in tutorial as packet loss when the router ping occur because someone uses MAC, or as a router problem. But when ping in google for instance and losses arise from what could be the problem? There is a difference if we connect wired or wireless packet loss?

    2.Daca dam in google and ping dns does not solve, give and ping ip google and receives respond but to ping the router responds, the question of where it could occur? the provider or it could be something from us?

    3.Cam that would be the standard time in milliseconds that should answer a site (that would be the level that would overcome if it would mean that it would be a problem)? I am referring to something internal, external I suppose that is a little larger.

    Thanks, waiting tutorial and about tracert, nslookup, netstat but something greater detail about MAC, DNS

  17. AndyCristi please ntutorial how do u know where is hosted a website ie what web hosting. There must be some method to determine where a website is hosted.

    videotutorial.ro eg: ping https://www.videotutorial.ro = 188.215.51.197
    whois = 188.215.51.197 CLAX-SC-TELECOM-SRL
    http://www.xservers.ro/contact.php

  18. ionutzzz said

    CRISTI ... sorry to say but has forgotten the description of the site when looking on google .... mici..oricui are some mistakes can happen and apologize once again may not have the right to correct you but look good there

  19. Cristi tracert when given the name of a site with kaspersky online then I give
    1214 error code, but if I close kaspersky then go just like you

  20. Alecsandru said

    AndyCristi please ntutorial how do u know where is hosted a website ie what web hosting. There must be some method to determine where a website is hosted.

    You can use a traceroute / tracert or by domain name servers in question.

  21. Adrian sailor said

    Mr. Cristi, can you consider a tutorial on subnets, however I understand this topic I struggled, and can enlighten us as it helps us operatiune.Multumesc.

  22. Hello Cristi, I was not bored with tutorials and also I want more, so please keep tutorials about this topic.

  23. At a bear ate a :))

  24. Waiting tutorial.

  25. Daniel Flood said

    You and you Tenda router?

  26. Sorin Chiran said

    I've always liked the networking and never hurt anyone to learn something new.

  27. Cristi is stronger Deca George Buhnici style presentation, but 'can not-in-law in parliament.

  28. Rsherkan said

    Hello Cristi,
    I want to congratulate you for what you do here, we very helpful (at least for us beginners in the field or mediocre).
    I would like to find more tutorials on networking (of course within the limits of common sense, we make money not art teachers), these platitudes help us enough.

    success!!

  29. Cristi Thanks so much for this tutorial.Foarte interesting, I managed to solve network problems and I started using IPV 6 and I (we net from RDS) .Tineti up the good work, a highly educational site for enthusiasts IT.

  30. To me the problem would be all went well until ... ping google

    Pinging google.ro [173.194.39.152] with 32 bytes of date:
    Request timed out.
    Request timed out.
    Request timed out.
    Request timed out.

    Ping statistics for 173.194.39.152:
    Packets: Sent = 4, 0 = Received, Lost = 4 (100% loss)

  31. Vladutz said

    We did all tests with good results, but until I do ping google or another site and I look send4 reccived: 0 Lost = 4 (100%) from Why?>
    ]

  32. Hello Very interesting tutorial CRISTI and can you give me a thousand times that antiflod for conservation of Battlefield 2 for cs1.6 for or what not to receive floduri server on Windows 7 thanks beforehand

  33. Cristi maesrtu're a super hard so to speak. Your tutorials do not get bored at all any subject would have seen are very well explained with seriousness and pleasure that you do. Adrian can not say the same thing if it spins mereuin same place, repeat things too much, give examples like sometimes unnecessary one example is enough. Anyway down to parry amandoi.Bafta and I hope it's not like Miami upset your point!

  34. I have a question
    You can view the information from my home PC on a tablet or smart android background information via wifi

  35. Adrian Gudus said

    dragos: I have in trebare can view the information from my home PC on a tablet or smart android background information via wifi

    Yes, there are plenty of ways you can do this. One of them would install you TeamViewer (you can find in the Play Store) on your Android device and install TeamViewer on your home computer before you leave home, leave TeamViewer powered on and you write down the ID and Password (the you'll need when you want to access your home PC's via TeamViewer installed on your Android device)

  36. I knew very helpful tutorialu these commands and I want to continue this series of tutorials.

  37. eNd: Please do u know how ntutorial know where it is hosted

    IP change, ie if you have dynamic IP modem reboot

  38. Hello !
    I would be interested very much a tutorial on changing player in XBMC with another, external (eg: MX Player). Also I think it would be interesting and one on using the SD card from android to help RAM (Memory Ram addition of SD card).
    Thank you.

  39. Hello interesting tutorial, Cris if possible a tutorial how to work cmd would be great thanks.

  40. Why depend on bandwidth and latency?

  41. how is it possible for someone to use my mac site, and how can we protect ourselves?
    what to do to know for sure that the problem is not us or the provider?

    thanks

  42. George Hodis said

    Mr. Cristi,
    With so many articles about IT, in which I seemed to be speaking Chinese, I was lucky to come across your tutorial. I can only thank you, but I do wholeheartedly! I wish you good health and a bright future. Please continue what you have started.

  43. Adrian Gudus said

    George HodisMr. Cristi, among many articles about IT, where I felt like speaking Chinese, I was lucky to come across your tutorial. I can only thank you, but I do wholeheartedly! I wish you good health and a bright future. Please continue what you have started.

    Thank you very much for assessment.
    We do this in 2008 and promise that we will continue!

  44. smooth. I tried to install the router `not go ... I must remember I 8 windows .. it says to write your username and password and write them to the RDS does not work .. and still no problem .. I go the printer .. and I just scan the picture that appears on the computer but do not pull something from word ..

  45. Checking the Internet network on Android how to do?

  46. Cristi. said

    I have a problem with a friend who I fall netul (do not know how) there is something anti something?

  47. I have big problems with netul, I fall very often, I router DIR615 for any year, about a month tormented me terribly, barely crawl netul fail very often, restarts lights at him, though toasters are green, if I Smart TV to connect immediately falls netul and Depe PC and router restarts and lasts until I 5-10 net and min. I tested the thing with ping times, all good until the router gives me error for ping ping request Could not find host 192.168.0.1 please check the name and try again. please tell me if you want to play here or mail it solving. thank you in advance

  48. Hi, I followed all the steps in the tutorial and the only problem was ping the router. What should I do next to address the problem?
    Thanks.

  49. Hi, Cristi, thank you for your efforts to make this tutorial is understandable tutorial about detecting tuturor.Orice IT problems are welcome. I wish you good health and success in what you are doing.

  50. Good evening.
    I did all the tests and I 200 ms to be the problem?

  51. Ion Mitu said

    Hello Cristi
    As always very good tutorials about how the computer commands.
    Ping and tracert tutorial I fall into a time when I needed,
    Thank you play yourself and other colleagues from videotutorial.ro

  52. What could be the problem when pings give a certain address and only occasionally gets lost on each package? Thank you.

  53. Question> if I ping the internal IP network rds unanswered ok / if I ping the same IP externally receive Request time out ....... Please someone explain to me do not understand, I specify that netul go on that IP. But when I check outside unanswered ,,,,,,,, ???????? Thank you

  54. How many packages and what type sends a ping command in normal conditions?

  55. Howdy!
    The problem I had. The net did not go into the browser. Ping only replied to the site's IP and not the name. Music in winamp went to the links already set in the bookmarks.
    We initially blamed the router.
    I just solved by manually entering the provider's DNS into the router after I found an article on the net. Is it normal to go like this?
    Why did I have to do this?
    Initially I called Telekom callcenter, but there are some entry levels that follow some steps without understanding anything.
    I posted in the idea of ​​helping the community.
    I expect Telekom to see if he calls me again. 🙂
    Where would the problem be, I suspect the DNS servers?

    With well.

other references

  1. [...] In the network or "on the road" with Tracert and PATHPING. Last time we saw how to use the Ping command to resolve the network to provider, today we move forward and we will see [...]

Viewpoint

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.