怎样用ping检测网络是否畅通
3个回答
展开全部
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.”请马上联系信息中心
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.”请马上联系信息中心
Jtti
2024-06-18 广告
2024-06-18 广告
香港高防服务器应对流量攻击的方法有以下几种:1. 实时监控系统,定期扫描网络节点,排查网络安全问题,及时清除系统漏洞。2. 在骨干节点上配置防火墙进行防御。3. 利用香港高防服务器带宽充足的特点来消耗攻击资源。4. 将不必要的服务和端口进行...
点击进入详情页
本回答由Jtti提供
展开全部
Ping 是Windows系列自带的一个可执行命令。利用它可以检查网络是否能够连通,用好它可以很好地帮助我们分析判定网络故障。应用格式:Ping IP地址。该命令还可以加许多参数使用,具体是键入Ping按回车即可看到详细说明。 1.Ping本机IP 例如本机IP地址为:172.168.200.2。则执行命令Ping 172.168.200.2。如果网卡安装配置没有问题,则应有类似下列显示: Replay from 172.168.200.2 bytes=32 time<10ms Ping statistics for 172.168.200.2 Packets Sent=4 Received=4 Lost=0 0% loss Approximate round trip times in milli-seconds Minimum=0ms Maxiumu=1ms Average=0ms 如果在MS-DOS方式下执行此命令显示内容为:Request timed out,则表明网卡安装或配置有问题。将网线断开再次执行此命令,如果显示正常,则说明本机使用的IP地址可能与另一台正在使用的机器IP地址重复了。如果仍然不正常,则表明本机网卡安装或配置有问题,需继续检查相关网络配置。 2.Ping网关IP 假定网关IP为:172.168.6.1,则执行命令Ping 172.168.6.1。在MS-DOS方式下执行此命令,如果显示类似以下信息: Reply from 172.168.6.1 bytes=32 time=9ms TTL=255 Ping statistics for 172.168.6.1 Packets Sent=4 Received=4 Lost=0 Approximate round trip times in milli-seconds Minimum=1ms Maximum=9ms Average=5ms 则表明局域网中的网关路由器正在正常运行。反之,则说明网关有问题。 3.Ping远程IP 这一命令可以检测本机能否正常访问Internet。比如本地电信运营商的IP地址为:202.102.48.141。在MS-DOS方式下执行命令:Ping 202.102.48.141,如果屏幕显示: Reply from 202.102.48.141 bytes=32 time=33ms TTL=252 Reply from 202.102.48.141 bytes=32 time=21ms TTL=252 Reply from 202.102.48.141 bytes=32 time=5ms TTL=252 Reply from 202.102.48.141 bytes=32 time=6ms TTL=252 Ping statistics for 202.102.48.141 Packets Sent=4 Received=4 Lost=0 0% loss Approximate round trip times in milli-seconds Minimum=5ms Maximum=33ms Average=16ms 则表明运行正常,能够正常接入互联网。反之,则表明主机文件(windows/host)存在问题 ping 后面直接跟IP地址 -t 一直ping,知道按下ctrl+C -l 后跟数据包大小 比如: ping 192.168.0.1 -l 128 -t 就是向192.168.0.1不停发送128大小的数据包
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
IT小常识:ping命令,检测对方网络连接通讯故障
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询