ping命令是一个非常好用的TCP/IP工具,可用来检测网络的连通情况可分析网络的速度

长ping网关,ping 192.168.1.1 ; ping 指定IP地址,如ping 192.168.1.54
ping 网址,如ping www.baidu.com
或者后面加 -t ,-t表示一直ping指定ip 直到从键盘按下ctrl-c 中断

ping网关,ping 192.168.1.1

长ping网关,ping 192.168.1.1 -t

ping 192.168.1.54

长ping 192.168.1.54 -t

ping 网址,如ping www.baidu.com

长ping 网址,如ping www.baidu.com -t