ICMP(Internet ControlMessages Protocol,网间控制报文协议)是TCP/IP协议族的子协议,是一种面向无连接的协议,在IP和路由器之前传递控制消息。当向目标主机持续传送大量ICMP数据包时,会造成ICMP风暴,最终导致主机瘫痪。下面的四个命令都使用了ICMP协议。

 

ping检测网络连通性

格式:ping <ip address/domain name> [-t]

 

TTL:IP生存时间(经过路由器的数目)

值通常有以下几种:64-n(Linux)、128-n(Windows)、255-n(Route)。其中,n代表路由器数目。

 使用ICMP协议检测网络状态


tracert跟踪路由

tracert是trace route的缩写

格式:tracert <ip address/domain name>

使用ICMP协议检测网络状态 


pathping路径测试

可以显示路由信息和网络丢包信息

使用ICMP协议检测网络状态 


nslookup域名查询

nslookup是name server lookup的缩写

使用ICMP协议检测网络状态

相关文章:

  • 2021-09-27
  • 2021-09-17
  • 2021-08-15
  • 2021-10-08
  • 2021-09-17
  • 2021-10-20
猜你喜欢
  • 2021-11-03
  • 2021-11-03
  • 2021-09-08
  • 2021-08-07
  • 2021-11-28
  • 2021-09-08
  • 2021-10-03
  • 2021-09-27
相关资源
相似解决方案