社区应用 最新帖子 精华区 社区服务 会员列表 统计排行
  • 937阅读
  • 5回复

网络故障检测与排除

楼层直达
级别: 光盘初级
发帖
382
飞翔币
415
威望
53
飞扬币
2519
信誉值
0

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

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

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命令:跟踪数据包到达目的主机的路径,
可以探测网络故障是发生在校内还是校外。

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

tracertwww.263.net

Tracing route towww.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到上一级路由器之间发生了故障,
导致连接不了首都在线站点
 
*学无止境*
级别: 光盘初级
发帖
1123
飞翔币
335
威望
39
飞扬币
8460
信誉值
0
只看该作者 1 发表于: 2007-02-06
说的很祥细.介绍的也很全面..:)Y12
级别: 光盘见习
发帖
18
飞翔币
335
威望
16
飞扬币
1679
信誉值
0
只看该作者 2 发表于: 2007-02-10
有用的好东西,谢谢~
级别: 光盘见习
发帖
21
飞翔币
345
威望
13
飞扬币
1538
信誉值
0
只看该作者 3 发表于: 2007-02-21
不错不错 非常详细
级别: FLY元勋
发帖
1901
飞翔币
2216
威望
50041
飞扬币
1380
信誉值
0
只看该作者 4 发表于: 2007-02-21
多谢楼主,这个要好好学一下!
级别: 光盘新手
发帖
58
飞翔币
335
威望
22
飞扬币
1607
信誉值
0
只看该作者 5 发表于: 2007-02-22
好东西呀,下来看看