已阅读5页,还剩5页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
计算机学院实验报告 课 程 计算机网络 实验名称 网络诊断 实验地点 专 业 班 级 学 号 学生姓名 一、实验目的 通过实验掌握网络诊断的一些常用方法,了解网络协议特别是TCP/IP协议基本知识。二、实验内容:网络诊断工具: 开始-运行-输入CMD然后回车-进入命令行状态-输入网络诊断命令,如果输出太长,可以用管道输出到一个文本文件中. 例如: C:NETSTAT T1 / 结果输出到文本文件中,然后, 用EDIT T1 可以打开该文件.三、实验环境 工作站:WINDOWS 2000 PROFESSIONAL连通校园网,并可以访问INTERNET四、试验过程与运行结果 1. 了解媒体访问层(MAC):输入: ipconfig/all 观察输出结果Windows IP Configuration Host Name . . . . . . . . . . . . : 3a Primary Dns Suffix . . . . . . . : Node Type . . . . . . . . . . . . : Unknown IP Routing Enabled. . . . . . . . : No WINS Proxy Enabled. . . . . . . . : NoEthernet adapter 本地连接: Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Realtek RTL8139/810x Family Fast Ethernet NIC Physical Address. . . . . . . . . : 00-1D-0F-19-8B-76 DHCP Enabled. . . . . . . . . . . : Yes Autoconfiguration Enabled . . . . : Yes IP Address. . . . . . . . . . . . : 10 Subnet Mask . . . . . . . . . . . : Default Gateway . . . . . . . . . : DHCP Server . . . . . . . . . . . : DNS Servers . . . . . . . . . . . : 6 Lease Obtained. . . . . . . . . . : 2011年9月1日 10:40:01 Lease Expires . . . . . . . . . . : 2011年9月1日 22:40:01 ipconfig/release 释放当前通过DHCP获得的IPWindows IP ConfigurationEthernet adapter 本地连接: Connection-specific DNS Suffix . : IP Address. . . . . . . . . . . . : Subnet Mask . . . . . . . . . . . : Default Gateway . . . . . . . . . : ipconfig/renew 释放当前通过DHCP获得的IP并重新获得一个IPEthernet adapter 本地连接: Connection-specific DNS Suffix . : IP Address. . . . . . . . . . . . : 10 Subnet Mask . . . . . . . . . . . : Default Gateway . . . . . . . . . : ipconfig/displaydns 显示DNS缓存的记录.Windows IP C Record Name . . . . . : 27.. Record Type . . . . . : 12 Time To Live . . . . : 599941 Data Length . . . . . : 4 Section . . . . . . . : Answer PTR Record . . . . . : localhost - Record Name . . . . . : Record Type . . . . . : 5 Time To Live . . . . : 47 Data Length . . . . . : 4 Section . . . . . . . : Answer CNAME Record . . . . : localhost - Record Name . . . . . : localhost Record Type . . . . . : 1 Time To Live . . . . : 599941 Data Length . . . . . : 4 Section . . . . . . . : Answer A (Host) Record . . . : 2. NETSTATnetstat -a 显示建立在一个接口上的各种TCP和UDP会话Active Connections Proto Local Address Foreign Address State TCP 3a:ftp 3a:0 LISTENING TCP 3a:http 3a:0 LISTENING TCP 3a:epmap 3a:0 LISTENING TCP 3a:microsoft-ds 3a:0 LISTENING TCP 3a:1026 3a:0 LISTENING TCP 3a:1027 3a:0 LISTENING TCP 3a:8888 3a:0 LISTENING TCP 3a:netbios-ssn 3a:0 LISTENING UDP 3a:microsoft-ds *:* UDP 3a:isakmp *:* UDP 3a:3456 *:* UDP 3a:ipsec-msft *:* UDP 3a:ntp *:* UDP 3a:1450 *:* UDP 3a:1499 *:* UDP 3a:3456 *:* UDP 3a:ntp *:* UDP 3a:netbios-ns *:* UDP 3a:netbios-dgm *:* UDP 3a:1958 *:* UDP 3a:1959 *:* UDP 3a:4605 *:* UDP 3a:51080 *:*netstat -e 显示以太网统计数据,包括有问题的数据包Interface Statistics Received SentBytes 103785209 2556808Unicast packets 8421 13107Non-unicast packets 144116 199Discards 0 0Errors 0 0Unknown protocols 198netstat -r 显示本地路由表的内容IPv4 Route Table=Interface List0x1 . MS TCP Loopback interface0x10003 .00 1d 0f 19 8b 76 . Realtek RTL8139/810x Family Fast Ethernet NIC=Active Routes:Network Destination Netmask Gateway Interface Metric 10 20 1 10 10 20 10 55 20 55 55 10 10 20 10 10 20 55 55 10 10 1Default Gateway: =Persistent Routes: Nonenetstat -s 显示每个协议的统计数据ICMPv4 Statistics Received Sent Messages 351 333 Errors 0 2 Destination Unreachable 68 0 Time Exceeded 106 0 Parameter Problems 0 0 Source Quenches 0 0 Redirects 0 0 Echos 10 323 Echo Replies 167 8 Timestamps 0 0 Timestamp Replies 0 0 Address Masks 0 0 Address Mask Replies 0 0TCP Statistics for IPv4 Active Opens = 958 Passive Opens = 272 Failed Connection Attempts = 798 Reset Connections = 88 Current Connections = 0 Segments Received = 6445 Segments Sent = 4365 Segments Retransmitted = 1614UDP Statistics for IPv4 Datagrams Received = 135287 No Ports = 6418 Receive Errors = 157 Datagrams Sent = 7070IPv4 Statistics Packets Received = 146333 Received Header Errors = 0 Received Address Errors = 130411 Datagrams Forwarded = 0 Unknown Protocols Received = 0 Received Packets Discarded = 0 Received Packets Delivered = 145202 Output Requests = 13412 Routing Discards = 0 Discarded Output Packets = 0 Output Packet No Route = 0 Reassembly Required = 0 Reassembly Successful = 0 Reassembly Failures = 0 Datagrams Successfully Fragmented = 0 Datagrams Failing Fragmentation = 0 Fragments Created = 0UDP Statistics for IPv4 Datagrams Received = 135287 No Ports = 6418 Receive Errors = 157 Datagrams Sent = 70703. ping 可以使用 ping 命令发送 ICMP 回应请求消息并记录收到 ICMP 回应回复消息。使用这些消息,可以检测网络或主机通讯故障并解决常见的 TCP/IP 连接问题。I CMP 消息描述 回应请求: 确定 IP 节点(主机或路由器)能否在网络上使用。 回应回复: 回复 ICMP 回应请求。 无法访问目标: 通知主机数据报无法传递。 源减慢 :通知主机由于拥挤而降低发送数据报的速率。 重定向: 通知首选路由的主机。 超时: 指明 IP 数据报的生存时间 (TTL) 已到期。C:Documents and SettingsAdministratorping Pinging 9 with 32 bytes of data:Reply from 9: bytes=32 time=11ms TTL=50Reply from 9: bytes=32 time=11ms TTL=50Reply from 9: bytes=32 time=11ms TTL=50Reply from 9: bytes=32 time=11ms TTL=50Ping statistics for 9: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),Approximate round trip times in milli-seconds: Minimum = 11ms, Maximum = 11ms, Average = 11msC:Documents and SettingsAdministratorping Pinging with 32 bytes of data:Reply from : bytes=32 time=1ms TTL=58Reply from : bytes=32 time=5ms TTL=58Reply from : bytes=32 time=1ms TTL=58Reply from : bytes=32 time=1ms TTL=58Ping statistics for : Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),Approximate round trip times in milli-seconds: Minimum = 1ms, Maximum = 5ms, Average = 2msping -tPing 指定的计算机直到中断。C:Documents and SettingsAdministratorping -t Pinging 2 with 32 bytes of data:Reply from 2: bytes=32 time=54ms TTL=50Reply from 2: bytes=32 time=53ms TTL=50Reply from 2: bytes=32 time=54ms TTL=50Reply from 2: bytes=32 time=54ms TTL=50Reply from 2: bytes=32 time=54ms TTL=50Reply from 2: bytes=32 time=53ms TTL=50Reply from 2: bytes=32 time=54ms TTL=50Reply from 2: bytes=32 time=55ms TTL=50Reply from 2: bytes=32 time=54ms TTL=50Reply from 2: bytes=32 time=53ms TTL=50Reply from 2: bytes=32 time=54ms TTL=50C:Documents and SettingsAdministratorping -t Pinging with 32 bytes of data:Reply from : bytes=32 time=2ms TTL=58Reply from : bytes=32 time1ms TTL=58Reply from : bytes=32 time1ms TTL=58Reply from : bytes=32 time=1ms TTL=58Reply from : bytes=32 time=1ms TTL=58Reply from : bytes=32 time=1ms TTL=58Reply from : bytes=32 time1ms TTL=58Reply from : bytes=32 time=1ms TTL=58Reply from : bytes=32 time=2ms TTL=58Reply from : bytes=32 time1ms TTL=58Reply from : bytes=32 time=1ms TTL=58Reply from : bytes=32 time1ms TTL=58Reply from : bytes=32 time1ms TTL=58Reply from : bytes=32 time=1ms TTL=58Reply from : bytes=32 time=3ms TTL=58Reply from : bytes=32 timeping -a Pinging with 32 bytes of data:Reply from : bytes=32 time=2ms TTL=58Reply from : bytes=32 time=2ms TTL=58Reply from : bytes=32 time=1ms TTL=58Reply from : bytes=32 time=1ms TTL=58Ping statistics for : Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),Approximate round trip times in milli-seconds: Minimum = 1ms, Maximum = 2ms, Average = 1msping-l length发送包含由 length 指定的数据量的 ECHO 数据包。默认为 32 字节;最大值是 65,527。C:Documents and SettingsAdministratorping -l 100 Pinging 5 with 100 bytes of data:Reply from 5: bytes=100 time=12ms TTL=50Reply from 5: bytes=100 time=12ms TTL=50Reply from 5: bytes=100 time=13ms TTL=50Reply from 5: bytes=100 time=12ms TTL=50Ping statistics for 5: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),Approximate round trip times in milli-seconds: Minimum = 12ms, Maximum = 13ms, Average = 12msC:Documents and SettingsAdministratorping -l 100 Pinging with 100 bytes of data:Reply from : bytes=100 time=2ms TTL=58Reply from : bytes=100 time=1ms TTL=58Reply from : bytes=100 time1ms TTL=58Reply from : bytes=100 timetracert Tracing route to over a maximum of 30 hops: 1 3 ms 1 ms 1 ms bogon 2 3 ms 1 ms 1 ms 45 3 1 ms 1 ms 1 ms 45 4 1 ms 1 ms 1 ms 66 5
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025年机修钳工(初级)考试内容及答案详解
- 结构体系转换专项施工方案
- 油库防雷击应急演练脚本
- 2026教师公开招聘考前冲刺练习题(名师系列)附答案详解
- 暑假漏洞修补初中数学新定义题型拓展知识盲区专项复习教案
- 中考心理暑假调适课|缓备考压力调整状态
- 2026年初中道德与法治九年级下册试卷
- 《非遗面塑》课件-3.5.3鸟语花香场景
- 2026年高速精密刀具研发进展与创新案例报告001
- 2026年智能投影行业创新报告及便携式投影技术发展分析报告
- 初中数学九年级上册圆的知识清单(苏科版)
- 2026年医疗器械专业知识与技能(初、中级)模拟试题及答案
- 易制爆、易制毒危险化学品和放射源防盗抢、防破坏、防泄漏应急预案
- 沟通物流合作伙伴议价函4篇范文
- 湖南钢铁集团校招面试题及答案
- 2025年留疆战士考试题库(附答案)
- DB14∕T 3525-2025 防汛抗旱物资储备管理规范
- 2026年河南省职业病诊断医师资格(化学中毒类)高分突破必练试题库(含答案)
- 2025四川紧缺选调《综合测试》试题及答案
- 北京市西城区2024-2025学年五年级上学期期末数学试题
- 塑料氧指数测试工艺考核试卷及答案
评论
0/150
提交评论