窗口,在命令中输入“Ping 192.168.0.1”,也可以直接在运行窗口中输入。
如果返回“Reply from 192.168.0.1 ”就表示已经连接,如果提示是“Request time out”,则表示和指定的IP的计算机没有连接上。
2、Ping 域名
如Ping ,则会返回:
Pinging [202.108.22.43] with 32 bytes of data:
Reply from 202.108.22.43: bytes=32 time=163ms TTL=56
Reply from 202.108.22.43: bytes=32 time=162ms TTL=56
Reply from 202.108.22.43: bytes=32 time=160ms TTL=56
Reply from 202.108.22.43: bytes=32 time=239ms TTL=56
Ping statistics for 202.108.22.43:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 160ms, Maximum = 239ms, Average = 181ms
说明:“Reply from ”后面的IP地址就是百度的IP地址。
3、加参数-a可以根据IP地址获取域名
如Ping –a 66.249.89.147
在返回结果的Pinging后面就是IP地址对应的域名。