1网络测试命令(作业).docVIP

  • 83
  • 0
  • 约3.26万字
  • 约 22页
  • 2017-02-16 发布于福建
  • 举报
实验一 基本网络测试命令 实验目的 掌握Windows和Linux环境下基本网络测试命令的使用 学会利用测试命令去判断和排除网络中存在的问题 实验设备 集线器或交换机1台 PC机2~3台 预备知识 (注:以下每个命令均先主要介绍在Windows中的使用方法,然后介绍其在Linux中所对应的命令的形式) ipconfig:检验网卡的TCP/IP设置情况, 当使用IPConfig时不带任何参数选项,那么它显示每个的IP地址、子网掩码和缺省网关值ipconfig /all 当使用all选项时,IPConfig网卡中的物理地址(MAC)traceroute) netstat:显示当前计算机中正在活动的网络连接信息和状态,如活动的TCP连接、计算机侦听的端口、以太网统计信息、IP路由表等。 常用参数解释: -n 以数字形式显示地址和端口 -e 显示以太网统计信息 -s 显示每个协议的使用状态 -r 显示路由信息 (Linux- netstat:功能略强) arp:查看本地计算机ARP高速缓存中的当前内容 。(ARP是一个重要的TCP/IP协议,用于确定IP地址的网卡地址查看高速缓存中的所有工一个静态项目工删除一个静态项目ipconfig命令查找出本机NIC的MAC地址. Physical Address. . . . . . . . . : 6C-F0-49-7C-38-E4 Dhcp Enabled. . . . . . . . . . . : No IP Address. . . . . . . . . . . . : 93 Subnet Mask . . . . . . . . . . . : Default Gateway . . . . . . . . . : 54 DNS Servers . . . . . . . . . . . : 33 32 2.1)比较命令 ping IPofPCB (IPofPCB表示本组另一台计算机的IP地址)和ping 54返回信息的区别(其中time表示数据包一个来回所用时间,TTL表示生存期限)。 ping 92 TTL=64;ping 54 TTL=62 2) ping同组的一台计算机,要求指定数据包个数为15个,大小为200B,写出命令,并保存运行结果。 C:\Documents and Settings\Administratorping -n 15 -l 200B 92 Pinging 92 with 200 bytes of data: Reply from 92: bytes=200 time=1ms TTL=64 Reply from 92: bytes=200 time1ms TTL=64 Reply from 92: bytes=200 time1ms TTL=64 Reply from 92: bytes=200 time1ms TTL=64 Reply from 92: bytes=200 time1ms TTL=64 Reply from 92: bytes=200 time1ms TTL=64 Reply from 92: bytes=200 time1ms TTL=64 Reply from 92: bytes=200 time=1ms TTL=64 Reply from 92: bytes=200 time1ms TTL=64 Reply from 92: bytes=200 time1ms TTL=64 Reply from 92: bytes=200 time1ms TTL=64 Reply from 92: bytes=200 time1ms TTL=64 Reply from 92: bytes=200 time1ms TTL=64 Reply from 92: bytes=200 time1ms TTL=64 Reply from 92: bytes=200 time1ms TTL=64 Ping statistics for 92: Packets: Sent = 15, Received = 15, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 1ms, Average = 0ms 运行命令tracert 54,保存运行结果,并对结果作简单说明。 C:\Documents and Settings\Administratortracert 54 Tracing route to 54 over a maximum o

文档评论(0)

1亿VIP精品文档

相关文档