怎么通过PING来检查网络是否畅通?

2024-12-26 15:58:32
推荐回答(5个)
回答1:

如果网络不通,可以按照以下步骤来诊断网络状况:依次点击:开始à允许à输入CMD,进入DOS窗口后用ping命令来诊断网络连接的状况。
ping是Windows系列自带的一个可执行命令。利用它可以检查网络是否能够连通,用好它可以很好地帮助我们分析判定网络故障。应用格式:“Ping IP地址”。该命令还可以加许多参数使用,具体是键入Ping按回车即可看到详细说明。
1.Ping本机IP
例如本机IP地址为:222.31.191.211。则执行命令Ping 222.31.191.211。如果网卡安装配置没有问题,则应有类似下列显示:
C:\>ping 222.31.191.211
Pinging 222.31.191.211 with 32 bytes of data:
Reply from 222.31.191.211: bytes=32 time<1ms TTL=128
Reply from 222.31.191.211: bytes=32 time<1ms TTL=128
Reply from 222.31.191.211: bytes=32 time<1ms TTL=128
Reply from 222.31.191.211: bytes=32 time<1ms TTL=128
Ping statistics for 222.31.191.211:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
如果在MS-DOS方式下执行此命令显示内容为:Request timed out,则表明网卡安装或配置有问题。将网线断开再次执行此命令,如果显示正常,则说明本机使用的IP地址可能与另一台正在使用的机器IP地址重复了。如果仍然不正常,则表明本机网卡安装或配置有问题,需继续检查相关网络配置。
2.Ping网关IP
假定网关IP为:222.31.191.110,则执行命令“Ping 222.31.191.110”。在MS-DOS方式下执行此命令,如果显示类似以下信息:
Pinging 222.31.191.110 with 32 bytes of data:
Reply from 222.31.191.110: bytes=32 time<1ms TTL=255
Reply from 222.31.191.110: bytes=32 time<1ms TTL=255
Reply from 222.31.191.110: bytes=32 time<1ms TTL=255
Reply from 222.31.191.110: bytes=32 time<1ms TTL=255
Ping statistics for 222.31.191.110:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
则表明局域网中的网关路由器正在正常运行。反之,则说明网关设置有问题,请检查IP,网关等信息是否设置正确。
3.Ping远程IP
这一命令可以检测本机能否正常访问Internet。比如林大主页的IP地址为:202.204.112.68。在MS-DOS方式下执行命令:“Ping 202.204.112.68”,如果屏幕显示:
Pinging 202.204.112.68 with 32 bytes of data:
Reply from 202.204.112.68: bytes=32 time<1ms TTL=63
Reply from 202.204.112.68: bytes=32 time<1ms TTL=63
Reply from 202.204.112.68: bytes=32 time<1ms TTL=63
Reply from 202.204.112.68: bytes=32 time<1ms TTL=63
Ping statistics for 202.204.112.68:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
则表明运行正常,能够正常接入校园网。反之,则表明网络设置存在问题或IP绑定不正确。
4.Ping DNS IP
这一命令用于检查校园网的DNS是否工作正常,如果您可以正常联网,但是输入域名却无法解析时请尝试该命令“ping 202.204.112.66”,如果显示
Pinging 202.204.112.66 with 32 bytes of data:
Reply from 202.204.112.66: bytes=32 time<1ms TTL=63
Reply from 202.204.112.66: bytes=32 time<1ms TTL=63
Reply from 202.204.112.66: bytes=32 time<1ms TTL=63
Reply from 202.204.112.66: bytes=32 time<1ms TTL=63

Ping statistics for 202.204.112.66:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
则表明DNS服务器工作正常,如果显示“Request timed out.”请马上联系信息中心

回答2:

例如:你的路由器的IP地址是:192.265.23.XX,那么就在运行下输入PING 192.265.23.XX,如果显示“Request timed out.”,那么就出问题了。

回答3:

IT小常识:ping命令,检测对方网络连接通讯故障

回答4:

PING你的路由器地址

回答5:

ping 192.168.0.1 -t