如何查看电脑到网关的线路是否连通
发布网友
发布时间:2022-05-02 12:42
我来回答
共5个回答
热心网友
时间:2022-06-20 02:58
查看电脑到网关的线路是否连通的方法:
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 ofdata:
Reply from 222.31.191.211: bytes=32time<1ms TTL=128
Reply from 222.31.191.211: bytes=32time<1ms TTL=128
Reply from 222.31.191.211: bytes=32time<1ms TTL=128
Reply from 222.31.191.211: bytes=32time<1ms TTL=128
Ping statistics for 222.31.191.211:
Packets: Sent = 4, Received = 4, Lost = 0(0% loss),
Approximate round trip times inmilli-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 ofdata:
Reply from 222.31.191.110: bytes=32time<1ms TTL=255
Reply from 222.31.191.110: bytes=32time<1ms TTL=255
Reply from 222.31.191.110: bytes=32time<1ms TTL=255
Reply from 222.31.191.110: bytes=32time<1ms TTL=255
Ping statistics for 222.31.191.110:
Packets: Sent = 4, Received = 4, Lost = 0(0% loss),
Approximate round trip times inmilli-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 ofdata:
Reply from 202.204.112.68: bytes=32time<1ms TTL=63
Reply from 202.204.112.68: bytes=32time<1ms TTL=63
Reply from 202.204.112.68: bytes=32time<1ms TTL=63
Reply from 202.204.112.68: bytes=32time<1ms TTL=63
Ping statistics for 202.204.112.68:
Packets: Sent = 4, Received = 4, Lost = 0(0% loss),
Approximate round trip times inmilli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
则表明运行正常,能够正常接入内部网。反之,则表明网络设置存在问题或IP绑定不正确。
4.Ping DNS IP
这一命令用于检查内部网的DNS是否工作正常,如果您可以正常联网,但是输入域名却无法解析时请尝试该命令“ping202.204.112.66”,如果显示
Pinging 202.204.112.66 with 32 bytes ofdata:
Reply from 202.204.112.66: bytes=32time<1ms TTL=63
Reply from 202.204.112.66: bytes=32time<1ms TTL=63
Reply from 202.204.112.66: bytes=32time<1ms TTL=63
Reply from 202.204.112.66: bytes=32time<1ms TTL=63
Ping statistics for 202.204.112.66:
Packets: Sent = 4, Received = 4, Lost = 0(0% loss),
Approximate round trip times inmilli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
则表明DNS服务器工作正常,如果显示“Request timed out.”请马上联系信息中心。
热心网友
时间:2022-06-20 02:58
可以用命令试下,(假如你的ip地址是192.168.1.199)打开cmd输入:ping 192.168.1.199如果通,每行末尾出现Ttl=64,如果不通就会出现什么什么data,你可以去试试
热心网友
时间:2022-06-20 02:59
如果是xp系统,就点开始~运行~输入ping +你网关的地址+ -t如果是win7'8就直接在开始下面的搜索框中输入就行了
热心网友
时间:2022-06-20 02:59
打开运行---cmd---ipconfig/all---ping 网关
望采纳
热心网友
时间:2022-06-20 03:00
ping一下路由器网关地址,可以ping通就ok