农业清洁生产:ping问题

来源:百度文库 编辑:中科新闻网 时间:2024/04/20 22:26:06
我可以ping自己的IP 地址和网关,可是不能ping网址?如ping www.qq163.com 却ping不到。Request timed out 可以正常上网或下载。这是为什么啊?XP系统,tcp/ip协议手动IP地址的。
家庭里的电脑拉的网线。没有什么路由,就是一根线到网卡

网络故障检测与排除

  当用户端出现网络故障时,请用户先依据以下步骤进行检测网络故障原因,看是自己计算机端故障,还是外界线路或其他故障,对于故障排除做到有的放矢。

  1.利用ipconfig命令:检测网卡的配置,是否获上地址。

  1.1 ipconfig:显示网卡的简单配置。

  ipconfig

  若出现如下信息,则表示获上IP,线路完全畅通:

  Windows IP Configuration

  Ethernet adapter 本地连接:

  Connection-specific DNS Suffix . :lzu.edu.cn
  IP Address. . . . . . . . . . . . : 202.201.15.55
  Subnet Mask . . . . . . . . . . . : 255.255.255.0
  Default Gateway . . . . . . . . . :

  若出现如下信息,则表示未获上IP,利用ipconfig/renew命令重新获取IP:

  Windows IP Configuration

  Ethernet adapter 本地连接:

  Connection-specific DNS Suffix . :
  IP Address. . . . . . . . . . . . : 192.168.5.55
  Subnet Mask . . . . . . . . . . . : 255.255.255.0
  Default Gateway . . . . . . . . . : 192.168.5.1
  1.2 ipconfig/all:显示网卡的详细配置。

  ipconfig/all

  Windows IP Configuration

  Host Name . . . . . . . . . . . . : Seal
  Primary Dns Suffix . . . . . . . :
  Node Type . . . . . . . . . . . . : Unknown
  IP Routing Enabled. . . . . . . . : No
  WINS Proxy Enabled. . . . . . . . : No

  Ethernet adapter 本地连接:

  Connection-specific DNS Suffix . : lzu.edu.cn
  Description . . . . . . . . . . . : Intel(R) PRO/100+ PCI Adapter
  Physical Address. . . . . . . . . : 00-D0-B7-E0-6D-E0
  Dhcp Enabled. . . . . . . . . . . : Yes
  Autoconfiguration Enabled . . . . : Yes
  IP Address. . . . . . . . . . . . : 202.201.5.19
  Subnet Mask . . . . . . . . . . . : 255.255.255.128
  Default Gateway . . . . . . . . . : 202.201.5.1
  DHCP Server . . . . . . . . . . . : 202.201.5.1
  DNS Servers . . . . . . . . . . . : 202.201.0.131
  202.201.0.132
  Lease Obtained. . . . . . . . . . : 2003年4月8日 14:10:23
  Lease Expires . . . . . . . . . . : 2003年4月8日 15:10:23

  1.3 ipconfig/renew:释放并更新网卡的配置。

  ipconfig/renew

  Windows IP Configuration

  Ethernet adapter 本地连接:

  Connection-specific DNS Suffix . : lzu.edu.cn
  IP Address. . . . . . . . . . . . : 202.201.3.19
  Subnet Mask . . . . . . . . . . . : 255.255.255.128
  Default Gateway . . . . . . . . . : 202.201.3.1

  1.4 ipconfig/release:释放网卡的配置。

  ipconfig/release:

  Windows IP Configuration

  Ethernet adapter 本地连接:

  Connection-specific DNS Suffix . :
  IP Address. . . . . . . . . . . . : 0.0.0.0
  Subnet Mask . . . . . . . . . . . : 0.0.0.0
  Default Gateway . . . . . . . . . :
  2、Ping命令:验证本机到被Ping目标主机的物理线路连通性。

  2.1Ping 127.0.0.1 验证本机TCP/IP协议是否安装好;

  打开命令提示符,键入“Ping 127.0.0.1”命令

  如出现如下所示字样,则表示本机TCP/IP协议安装完好:

  Pinging 127.0.0.1 with 32 bytes of data:
  Reply from 127.0.0.1: bytes=32 time<10ms TTL=128
  Reply from 127.0.0.1: bytes=32 time<10ms TTL=128
  Reply from 127.0.0.1: bytes=32 time<10ms TTL=128
  Reply from 127.0.0.1: bytes=32 time<10ms TTL=128

  Ping statistics for 127.0.0.1:
  Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
  Approximate round trip times in milli-seconds:
  Minimum = 0ms, Maximum = 0ms, Average = 0ms

  否则如出现如下所示字样,则表示本机TCP/IP协议安装不完整,请重新添加TCP/IP协议:

  Pinging 127.0.0.1 with 32 bytes of data:
  Request timed out.
  Request timed out.
  Request timed out.
  Request timed out.

  Ping statistics for 127.0.0.1:
  Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
  Approximate round trip times in milli-seconds:
  Minimum = 0ms, Maximum = 0ms, Average = 0ms

  2.2 Ping 你的本机IP:验证你本机IP地址是否配置完成或者网卡物理属性是否完好;
  例如Ping我的本机IP(202.201.14.55——举例,实践中是你主机对应的IP),如出现如下所示字样,则表示本机IP地
  址已配置好且网卡物理属性完好:

  Pinging 202.201.14.55 with 32 bytes of data:
  Reply from 202.201.14.55: bytes=32 time<10ms TTL=128
  Reply from 202.201.14.55: bytes=32 time<10ms TTL=128
  Reply from 202.201.14.55: bytes=32 time<10ms TTL=128
  Reply from 202.201.14.55: bytes=32 time<10ms TTL=128

  Ping statistics for 202.201.14.55:
  Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
  Approximate round trip times in milli-seconds:
  Minimum = 0ms, Maximum = 0ms, Average = 0ms

  否则如出现“Request timed out.”所示字样,则表示本机IP地址未配置好或网卡物理属性不好,请配置好IP地址,如果 还有问题的话请更换你的网卡或重新安装你的网卡驱动程序试一下。

  2.3 Ping 你的网关IP:验证从你本机到网关的物理线路是否连通;
  例如Ping您的网关(202.201.14.1——举例,实践中是你主机对应的网关),如出现“Reply from.....”字样,则表示本机到它的网关物理线路连通性完好;否则如出现“Request timed out.”所示字样,则表示本机到它的网关物理线路连通性有故障,请联系网管解决。

  3. Tracert命令:跟踪数据包到达目的主机的路径,可以探测网络故障是发生在校内还是校外。

  例如跟踪到首都在线站点的路由:单击操作系统的“开始”菜单,点击“运行”,在出现的“打开”命令框中键入“Tracert www.263.net”命令,可以得到类似如以下字样的结果(“—>”表解释说明):

  tracert www.263.net

  Tracing route to www.263.net [211.100.31.131] —>解析出首都在线站点的主机IP地址;
  over a maximum of 30 hops:

  1 1 ms 2 ms 2 ms 202.201.3.1 —>到这一步,就说明校园网内的线路连通性完好,线路故障只能发生在校外了;
  2 2 ms 2 ms 2 ms 210.202.88.126
  3 3 ms 4 ms 4 ms 210.112.46.13
  4 5 ms 5 ms 6 ms 210.112.46.149
  5 * * * Request timed out. —>说明从202.112.46.149到上一级路由器之间发生了故障,导致连接不了首都在线站点

重启一下路由

换根网线试试

你现在上网正常吗?
如果不正常,那么你需要对网络进行调试.如果正常,出现的原因1,由于你PING的域名对方服务器做了设置,限制了PING命令,所以会出现你说的这种情况.
2,由于对方域名所指向的服务器已关闭.无法PING通.

1、你的ISP限制了ping探测
2、目标服务器有硬件或软件措施限制了ping探测