The journey of an icmp package (on)

疫情在家隔离期间闲来无事在51CTO上薅羊毛,还是就逮着那几只薅,现在每每阅读到好文章我的良心备受谴责,

Just enjoy the results of others without paying. Is this something people do, can I do this? No, no. It's time to glow and heat, today I will give a small light.

To make a theme today is also the most basic: network engineers will inevitably use a command in the process of troubleshooting (swinging) obstacles (pot), yes, yes it is the Ping command.

Here is the usage:

①Check the basic interconnection and interoperability of the network ②Use
as dns, in order to see the resolved IP address of a website, of course you can use nslookup to see, as for why use ping? It may be that ping is a few letters shorter than nslookup, or it may be that the main DNS IP address is wrong. The following picture:
The journey of an icmp package (on)
But I am indeed on the Internet, this is not a good blog! Now I use ping and nslookup to see the results:The journey of an icmp package (on)

This is the mechanism of ping and nslookup. To put it simply, the first address used by nslookup by default, and my first dns is wrong unless you specify the dns server to do the following analysis:
The journey of an icmp package (on)
withdraw, and come back to say, but, after ping, what is the result, why?

Guess you like

Origin blog.51cto.com/10627623/2488241