How to use the Ping command to troubleshoot network

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 "numele pc-lui"
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 "adresa router sau default gateway"
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 the ping on Linux and the one on windows is that on Linux the ping goes on indefinitely and windows stops after four lines. If you want more than four lines on windows you can use "-t", for example "ping -t google.ro" and it will be pinged endlessly. on linux you can interrupt the string with Ctrl + C.


 


Related Tutorials


About Cristian Cismaru

I like everything related to IT&C, I like to share the experience and information I 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.

    This is exactly what was talked about in the tutorial, this was also shown and you would find out if you followed the head-to-tail tutorial…

  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 would like more tutorials about troubleshooting or if possible and you have the good will to make a category dedicated to troubleshooting (more on hardware such as networking, symptoms / defects of motherboards, etc.) and another suggestion if you wish you could do this category with the 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. Interesting. I did all the steps and I was amazed by the average speed I have (google - 14ms and videotutorial.ro - 4 ms). In the end I saw that you are on mobile and I on landline.

  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 such 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 look at the description of the site when you google it…. there are some small mistakes..it can happen to anyone and sorry again maybe I don't have the right to correct you but look 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 than George Buhnici in his presentation style, but he may not have a father-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 what the problem would be, everything went well up to… 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

    I did all the tests with good results, but until I pinged with google or another site and it shows me send4 reccived: 0 Lost = 4 (100%) from what?>
    ]

  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. Hi. I tried to install my router and it doesn't work… I want to remember that I have windows 8..it tells me to write the username and password and I write the ones from RDS and it doesn't work..and another problem..no my printer works ..only to scan and the respective picture appears on my computer but to draw something from the word no ..

  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 ip in rds from the internal network I receive an answer ok / if I ping the same ip from the outside I receive Request time-out ……. please someone explain to me that I don't understand, I specify that the net goes on that ip., but when I check from the outside I don't get an answer ,,,,,,, ???????? Thank you

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

  55. Hi there!
    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.

Trackbacks

  1. […] In the network or "on the road" with the help of Tracert and Pathping. If last time we saw how to use the Ping command to solve network problems to the provider, today we will go further and see […]

Speak Your Mind

*