实验四 常见网络故障诊断与维护命令.docVIP

  • 8
  • 0
  • 约5.14千字
  • 约 8页
  • 2015-09-26 发布于重庆
  • 举报

实验四 常见网络故障诊断与维护命令.doc

实验四 常见网络故障诊断与维护命令

实验  一、实验目的 掌握掌握ARP、PING命令的操作使用 二、实验环境 用以太网交换机连接起来的WIN2000操作系统计算机 三、实验内容及步骤: 1、ARP命令的使用 2、PING命令的操作使用四、实验过程 1、ARP命令 1)arp命令的功能:查看、添加和删除高速缓存区中的ARP表项 2)Windows 2000 ARP高速缓冲区 动态表项(dynamic):随时间推移自动添加和删除 静态表项(static):一直存在,直到人为删除或重新启动 3)arp命令操作: 显示高速cache中的ARP表:? 命令 arp? -a ? 添加ARP静态表项: arp?? -s?? inet_addr?? ether_addr ???? ?在 ARP 缓存中添加项,将 IP 地址 inet_addr 和物理地址 ether_addr 关联。 ? 例:arp -s 00? 00-d0-09-f0-33-71 ?添加ip为00,与其对应的MAC为00-d0-09-f0-33-71的表项 删除ARP表项: arp? -d?? inet_addr??? ???删除由 inet_addr 指定的项 ? 2、PING命令 Ping命令的全称叫做 Ping.exe,是微软提供用来进行网络连接测试的十分有用的工具,能准确快速地判断出网络故障。 1)Windows 2000的ping命令形式 ping [-t] [-a] [-n count] [-l size] [-f] [-i TTL] [-v TOS] [-r count] [-s count] [[-j host-list] | [-k host-list]] [-w timeout] 目的主机/IP地址 2)连续发送ping探测报文:?? ping –t? 8 Ctrl+Break查看统计信息,Ctrl+C结束命令 3)自选数据长度的ping探测报文:?? ping? 目的主机/IP地址? -l? size 4)不允许对ping探测报分片:?? ping? 目的主机/IP地址?? -f?????? 5.修改“ping”命令的请求超时时间 ping???? 目的主机/IP地址??? -w??? ?? 指定等待每个回送应答的超时时间,单位为毫秒,默认值为1000毫秒??? 6)假设目前使用的服务器设置如下: DNS 服务器的 IP 地址:8 ???????? 网关:? ???????? 本机 IP 地址:7 ???????? 子网掩码: (1)验证网卡工作正常与否: 点击“开始”→“程序”→“MS-DOS 方式” ,提示符后输入“ Ping 7(本机IP地址)”回车运行 ,若出现如下 ,则说明网卡工作正常。若出现如下 ,则说明网卡工作不正常。 ??????? C:\ping 7 ??????? Pinging 7 with 32 bytes of data: ??????? Reply from 7: bytes=32 time10ms TTL=128 ??????? Reply from 7: bytes=32 time10ms TTL=128 ??????? Reply from 7: bytes=32 time10ms TTL=128 ??????? Reply from 7: bytes=32 time10ms TTL=128 ??????? Ping statistics for 7: ??????? Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), ??????? Approximate round trip times in milli-seconds: ??????? Minimum = 0ms, Maximum = 0ms, Average = 0ms (b) ??????? C:\ping 7 ??????? Pinging 7 with 32 bytes of data: ??????? Request timed out. ??????? Request timed out. ??????? Request timed out. ??????? Request timed out. ??????? Ping statistics for 7: ??????? Packets: Sent = 4, Received = 0, Lost = 4 (100% loss), ??????? Approximate round trip times in milli-seconds: ??????? Minimum = 0ms, Maximum = 0ms, Average = 0ms (2)验证网络线路正常与否:

文档评论(0)

1亿VIP精品文档

相关文档