《计算机网络实用教程》实验指导手册.doc
《《计算机网络实用教程》实验指导手册.doc》由会员分享,可在线阅读,更多相关《《计算机网络实用教程》实验指导手册.doc(18页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、计算机网络实用教程实验指导手册1.1 实验一:网线制作(必做实验)1.1.1 实验简介了解双绞线的结构,动手做线。1.1.2 实验目的每位同学动手做网线,用测线器检查应通过。1.1.3 实验注意事项l 注意做线时线的顺序。双绞线的两种线序(T568A,T568B)l T568A的线序是:白绿、绿、白橙、蓝、白蓝、橙、白棕、棕。l T568B的线序是:白橙、橙、白绿、蓝、白蓝、绿、白棕、棕。l 直通线:T568B-T568Bl 交叉线:T568A-T568B1.2 实验二:常用网络基本命令(必做实验)1.2.1 实验目的l 掌握如何为PC配置IP地址l 掌握如何使用IPCONFIG命令验证PC的
2、网络配置l 掌握如何使用PING命令验证目标主机的连通性l 掌握如何使用TRACERT命令跟踪目标主机路由l 掌握如何使用NETSTAT命令查询主机当前网络连接l 掌握如何使用TELNET命令验证目标主机端口开放情况l 掌握如何使用NSLOOKUP命令进行域名查询l 掌握如何使用路由器上的Ping命令1.2.2 实验命令l IPCONFIG-IP地址相关配置查询命令l PING-网络连通性测试命令l TRACERT-路由跟踪命令l NETSTAT-网络连接查询命令l TELNET-远程登录命令l NSLOOKUP-域名查询命令1.2.3 实验环境图11 Tracert命令实验网络结构图1.2.
3、4 实验步骤1) 为PC配置IP地址、子网掩码、网关和DNS为PC配置正确的IP地址及相关参数。第一,点击开始-控制面板-网络连接-网卡。图12 第二,点击属性按钮。图13第三,选择TCP/IP协议,选择属性。图14第四,配置IP地址、子网掩码、网关、DNS。图15第五,验证PC的IP地址及相关参数配置2) 使用IPCONFIG命令查询主机的网络配置图163) 使用PING命令验证目标主机的连通性使用PING命令测试连通性C:Documents and SettingsAdministratorping Pinging 202.108.9.38 with 32 bytes of data:Re
4、ply from 202.108.9.38: bytes=32 time=3ms TTL=56Reply from 202.108.9.38: bytes=32 time=1ms TTL=56Reply from 202.108.9.38: bytes=32 time=1ms TTL=56Reply from 202.108.9.38: bytes=32 time=2ms TTL=56Ping statistics for 202.108.9.38: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),Approximate round tr
5、ip times in milli-seconds:Minimum = 1ms, Maximum = 3ms, Average = 1ms使用PING命令对目标主机PING 1000字节数据包C:Documents and SettingsAdministratorping -l 1000 Pinging 202.108.9.33 with 1000 bytes of data:Reply from 202.108.9.33: bytes=1000 time=3ms TTL=56Reply from 202.108.9.33: bytes=1000 time=7ms TTL=56Reply f
6、rom 202.108.9.33: bytes=1000 time=3ms TTL=56Reply from 202.108.9.33: bytes=1000 time=6ms TTL=56Ping statistics for 202.108.9.33: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),Approximate round trip times in milli-seconds: Minimum = 3ms, Maximum = 7ms, Average = 4ms使用PING命令对目标主机连续PING 10次C:Docu
7、ments and SettingsAdministratorping -n 10 Pinging 202.108.9.33 with 32 bytes of data:Reply from 202.108.9.33: bytes=32 time=1ms TTL=56Reply from 202.108.9.33: bytes=32 time=1ms TTL=56Reply from 202.108.9.33: bytes=32 time=1ms TTL=56Reply from 202.108.9.33: bytes=32 time=6ms TTL=56Reply from 202.108.
8、9.33: bytes=32 time=3ms TTL=56Reply from 202.108.9.33: bytes=32 time=3ms TTL=56Reply from 202.108.9.33: bytes=32 time=2ms TTL=56Reply from 202.108.9.33: bytes=32 time=5ms TTL=56Reply from 202.108.9.33: bytes=32 time=4ms TTL=56Reply from 202.108.9.33: bytes=32 time=2ms TTL=56Ping statistics for 202.1
9、08.9.33: Packets: Sent = 10, Received = 10, Lost = 0 (0% loss),Approximate round trip times in milli-seconds: Minimum = 1ms, Maximum = 6ms, Average = 2ms使用PING命令持续PING目标主机,使用Ctrl-C结束C:Documents and SettingsAdministratorping -t Pinging 202.108.9.33 with 32 bytes of data:Reply from 202.108.9.33: bytes
10、=32 time=5ms TTL=56Reply from 202.108.9.33: bytes=32 time=5ms TTL=56Reply from 202.108.9.33: bytes=32 time=2ms TTL=56Reply from 202.108.9.33: bytes=32 time=3ms TTL=56Reply from 202.108.9.33: bytes=32 time=2ms TTL=56Reply from 202.108.9.33: bytes=32 time=2ms TTL=56Reply from 202.108.9.33: bytes=32 ti
11、me=7ms TTL=56Reply from 202.108.9.33: bytes=32 time=7ms TTL=56Reply from 202.108.9.33: bytes=32 time=5ms TTL=56Reply from 202.108.9.33: bytes=32 time=7ms TTL=56Reply from 202.108.9.33: bytes=32 time=8ms TTL=56Reply from 202.108.9.33: bytes=32 time=7ms TTL=56Reply from 202.108.9.33: bytes=32 time=7ms
12、 TTL=56Ping statistics for 202.108.9.33: Packets: Sent = 13, Received = 13, Lost = 0 (0% loss),Approximate round trip times in milli-seconds: Minimum = 2ms, Maximum = 8ms, Average = 5msControl-CC4) 使用TRACERT命令跟踪目标主机路由C:Documents and SettingsAdministratortracert -d Tracing route to 202.108.9.33over a
13、 maximum of 30 hops: 1 1 ms 1 ms 1 ms 58.135.192.62 2 1 ms 1 ms netstat -anActive Connections Proto Local Address Foreign Address State TCP 0.0.0.0:25 0.0.0.0:0 LISTENING TCP 0.0.0.0:80 0.0.0.0:0 LISTENING TCP 0.0.0.0:135 0.0.0.0:0 LISTENING TCP 0.0.0.0:445 0.0.0.0:0 LISTENING TCP 0.0.0.0:1025 0.0.0
14、.0:0 LISTENING TCP 0.0.0.0:1027 0.0.0.0:0 LISTENING TCP 0.0.0.0:1028 0.0.0.0:0 LISTENING TCP 0.0.0.0:1029 0.0.0.0:0 LISTENING TCP 0.0.0.0:1433 0.0.0.0:0 LISTENING TCP 0.0.0.0:3389 0.0.0.0:0 LISTENING TCP 0.0.0.0:8080 0.0.0.0:0 LISTENING TCP 0.0.0.0:8888 0.0.0.0:0 LISTENING TCP 0.0.0.0:56737 0.0.0.0:
15、0 LISTENING TCP 0.0.0.0:56738 0.0.0.0:0 LISTENING TCP 58.135.192.57:139 0.0.0.0:0 LISTENING TCP 58.135.192.57:1433 58.135.192.57:2125 ESTABLISHED TCP 58.135.192.57:1433 58.135.192.57:2134 ESTABLISHED6) 使用NSLOOKUP命令查询域名C:Documents and SettingsAdministratornslookupDefault Server: Address: 202.106.116.
16、1 Server: Address: 202.106.116.1Name: Addresses: 211.153.19.129, 211.153.32.1 server 202.106.116.1Default Server: Address: 202.106.116.1 set querytype=mx Server: Address: 202.106.116.1 canonical name = server- primary name server = responsible mail addr = serial = 7 refresh = 3600 (1 hour) retry = 6
17、00 (10 mins) expire = (7 days) default TTL = 3600 (1 hour) set querytype=ptr 202.106.116.1Server: Address: 202.106.116.11.116.106.202.in-addr.arpa name = 116.106.202.in-addr.arpa nameserver = internet address = 202.106.116.11.3 实验三:路由器的相关实验-静态路由典型配置举例(必做实验)1.3.1 实验目的路由器各接口及主机的IP地址和掩码如下图所示。要求采用静态路由,使
18、图中任意两台主机之间都能互通。1.3.2 实验要求及组网图静态路由配置组1.3.3 配置步骤配置静态路由# 进入系统视图。 system-view# 在RouterA上配置缺省路由。RouterA ip route-static 0.0.0.0 0.0.0.0 1.1.4.2# 在RouterB上配置两条静态路由。RouterB ip route-static 1.1.1.0 255.255.255.0 1.1.4.1RouterB ip route-static 1.1.3.0 255.255.255.0 1.1.4.6# 在RouterC上配置缺省路由。RouterB ip route-s
19、tatic 0.0.0.0 0.0.0.0 1.1.4.5配置主机配置主机PC1的缺省网关为1.1.1.1,主机PC2的缺省网关为1.1.2.1,主机PC3的缺省网关为1.1.3.1。1.3.4 实验注意事项,查看配置结果# 显示RouterA的IP路由表。RouterA display ip routing-tableRouting Tables: Public Destinations : 8 Routes : 8Destination/Mask Proto Pre Cost NextHop Interface0.0.0.0/0 Static 60 0 1.1.4.2 Serial2/01
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 计算机网络实用教程 计算机网络 实用教程 实验 指导 手册
限制150内