版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、.计算机网络课程设计(2013/2014 第二学期 -第18周)指导教师:张芳舒挺班级:姓名:学号:;.一、目的和要求本课程设计的主要目的是通过实际操作和实验以及编程等,加深对课堂所学知识的理解,提高对网络系统的感性认识,培养动手技能和自学能力。本课程设计通过完成彼此具有独立性又相互联系的几个小实验,能够对网络相关设备和服务器进行安装和配置,对网络设计的概念有个比较完整的认识。二、实验环境本实验主要应用软件来仿真实际的路由网络,选用的软件有选用的软件包括RouterSimCCNA 2 、 Boson Netsim 和 RouterSim 。三、具体内容1.熟悉实验环境通过参考软件中自带的帮助、
2、参考资料和教师的讲解等,熟悉模拟器操作的常用命令。对配置模式、配置参数的查看、保存、清除等进行了解。2.网络拓扑图的设计熟悉不同网络设备以及相关的接口,如:路由器、交换机、主机,学习利用不同网络设备搭建网络系统。3.网络路由器不同端口的配置学习如何对网络路由器的以太网接口、 快速以太网接口、 串行接口以及相关参数的配置,以及环回接口、令牌环接口的配置。并且能够对配置结构进行验证。配置路由器的各种网络接口配置 Ethernet 接口配置路由器A 与路由器2621 的 Ethernet 接口,并通过ping 来测试!4.静态路由的配置复习路由的概念,学习静态路由的设置,默认路由的设置,以及已有路由
3、的删除。5 动态路由的配置复习动态路由协议,深入掌握RIP 协议的原理,能够进行动态RIP 路由设置,并对设置的结果进行验证,查看。实验 1 使用 RouterSim CCNA 配置路由器的各种网络接口(同时也使用了静态路由配置,使两端主机ping 通);.1.Switch1900Router Con0 is now availablePress RETURN to get started.PCA Number:73-3122-04PCA Serial Number:FAB0337240KModel Number:WS-C1912-ASystem Serial Number:FAB0339U0
4、1UPower Supply S/N:PHI031803JKPCB Serial Number:FAB0337240K,73-3122-04-1 user(s) now active on Management Console.User Interface MenuM MenusK Command LineI IP ConfigurationEnter Selection:PCA Number:73-3122-04PCA Serial Number:FAB0337240KModel Number:WS-C1912-ASystem Serial Number:FAB0339U01UPower S
5、upply S/N:PHI031803JKPCB Serial Number:FAB0337240K,73-3122-04-1 user(s) now active on Management Console.User Interface MenuM MenusK Command LineI IP ConfigurationEnter Selection:PCA Number:73-3122-04PCA Serial Number:FAB0337240KModel Number:WS-C1912-ASystem Serial Number:FAB0339U01U;.Power Supply S
6、/N:PHI031803JKPCB Serial Number:FAB0337240K,73-3122-04-1 user(s) now active on Management Console.User Interface MenuM MenusK Command LineI IP ConfigurationEnter Selection:CLI session with the switch is open.To end the CLI session, enter Exit.Router>enRouter#config tEnter configuration commands,
7、one per line. End with CNTL/Z. Router(config)#hostname switch 1900A 1900A(config)#hostname switch1900A switch1900A(config)#ip address 172.16.10.3 255.255.255.0 switch1900A(config)#ip defalut-gateway 172.16.10.1% Invalid input detected at '' marker.switch1900A(config)#ip default-gateway 172.1
8、6.10.1switch1900A(config)#endswitch1900A#1.Router2621(由于第一次做的时候前面命名忘记了,在后面补的命名)Router Con0 is now availablePress RETURN to get started.Router>en;.Router#config tEnter configuration commands, one per line.End with CNTL/Z.Router(config)#interface f0/1Router(config-if)#ip address 172.16.10.4 255.255
9、.255.0Router(config-if)#no shut%LINK-3-UPDOWN: Interface FastEthernet0/1, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up Router(config-if)#exitRouter(config)#interface f0/0Router(config-if)#ip address 172.16.11.4 255.255.255.0Router(config-if)
10、#no shut%LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to upRouter(config-if)#end%SYS-5-CONFIG_I: Configured from console by consoleRouter#config tEnter configuration commands, one per line. End with CNTL/Z
11、. Router(config)#ip route 172.16.50.0 255.255.255.0 172.16.11.5 (静态) Router(config)#ip route 172.16.40.0 255.255.255.0 172.16.11.5Router(config)#ip route 172.16.20.0 255.255.255.0 172.16.11.5Router(config)#endRouter#copy run startBuilding configuration.OKRouter#show ip routeCodes: C - connected, S -
12、 static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGPi - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate
13、default U - per-user static route, o - ODRGateway of last resort is not set172.16.0.0/24 is subnetted, 5 subnetsS172.16.50.0 1/0 via 172.16.11.5S172.16.40.0 1/0 via 172.16.11.5S172.16.20.0 1/0 via 172.16.11.5C172.16.10.0 is directly connected, FastEthernet0/1C172.16.11.0 is directly connected, FastE
14、thernet0/0Router#config tEnter configuration commands, one per line.End with CNTL/Z.;.Router(config)#hostname route2621route2621(config)#endroute2621#1.RouterA (同样补了命名)Router Con0 is now availablePress RETURN to get started.Router>enRouter#config tEnter configuration commands, one per line.End wi
15、th CNTL/Z.Router(config)#interface e0Router(config-if)#ip address 172.16.11.5 255.255.255.0Router(config-if)#no shut%LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0, changed state to up%LINK-3-UPDOWN: Interface Ethernet0, changed state to upRouter(config-if)#exitRouter(config)#interface s0R
16、outer(config-if)#ip address 172.16.20.5 255.255.255.0Router(config-if)#no shut%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to up%LINK-3-UPDOWN: Interface Serial0, changed state to upRouter(config-if)#end%SYS-5-CONFIG_I: Configured from console by consoleRouter#config tEnter
17、 configuration commands, one per line.End with CNTL/Z.Router(config)#interface s0Router(config-if)#encap pppRouter(config-if)#end%SYS-5-CONFIG_I: Configured from console by consoleRouter#show ip routeCodes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP exter
18、nal, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGPi - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default U - per-user static route, o - ODRGateway of last resort is not set
19、;.172.16.0.0/24 is subnetted, 2 subnetsC172.16.20.0 is directly connected, Serial0C172.16.11.0 is directly connected, Ethernet0Router#config tEnter configuration commands, one per line.End with CNTL/Z.Router(config)#ip route 172.16.10.0 255.255.255.0 172.16.11.4 (静态)Router(config)#ip route 172.16.50
20、.0 255.255.255.0 172.16.20.6Router(config)#ip route 172.16.40.0 255.255.255.0 172.16.20.6Router(config)#end%SYS-5-CONFIG_I: Configured from console by consoleRouter#copy run startBuilding configuration.OKRouter#show ip routeCodes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D -
21、 EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGPi - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default U - per-user static route, o - ODRGateway o
22、f last resort is not set172.16.0.0/24 is subnetted, 4 subnetsS172.16.50.0 1/0 via 172.16.20.6S172.16.10.0 1/0 via 172.16.11.4C172.16.20.0 is directly connected, Serial0C172.16.11.0 is directly connected, Ethernet0Router#config tEnter configuration commands, one per line.End with CNTL/Z.Router(config
23、)#hostname routeArouteA(config)#end%SYS-5-CONFIG_I: Configured from console by consolerouteA#1.RouterBRouter Con0 is now available;.Press RETURN to get started.Router>enRouter#config tEnter configuration commands, one per line.End with CNTL/Z.Router(config)#interface s0Router(config-if)#ip addres
24、s 172.16.20.6 255.255.255.0Router(config-if)#no shut%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to up%LINK-3-UPDOWN: Interface Serial0, changed state to upRouter(config-if)#encap pppRouter(config-if)#clock rate 64000Router(config-if)#end%SYS-5-CONFIG_I: Configured from con
25、sole by consoleRouter#config tEnter configuration commands, one per line.End with CNTL/Z.Router(config)#interface s1Router(config-if)#ip address 172.16.40.6 255.255.255.0Router(config-if)#no shut%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1, changed state to up%LINK-3-UPDOWN: Interface Ser
26、ial1, changed state to upRouter(config-if)#encap pppRouter(config-if)#clock rate 64000Router(config-if)#end%SYS-5-CONFIG_I: Configured from console by consoleRouter#config tEnter configuration commands, one per line. End with CNTL/Z. Router(config)#ip route 172.16.10.0 255.255.255.0 172.16.20.5 (静态)
27、 Router(config)#ip route 172.16.11.0 255.255.255.0 172.16.20.5Router(config)#ip route 172.16.50.0 255.255.255.0 172.16.40.7Router(config)#end%SYS-5-CONFIG_I: Configured from console by consoleRouter#copy running-config startup-configBuilding configuration.OKRouter#config tEnter configuration command
28、s, one per line.End with CNTL/Z.Router(config)#hostname routeBrouteB(config)#end%SYS-5-CONFIG_I: Configured from console by consolerouteB#;.1.RouterCRouter Con0 is now availablePress RETURN to get started.Router>enRouter#config tEnter configuration commands, one per line.End with CNTL/Z.Router(co
29、nfig)#interface s0Router(config-if)#ip address 172.16.40.7 255.255.255.0Router(config-if)#no shut%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to up%LINK-3-UPDOWN: Interface Serial0, changed state to upRouter(config-if)#encap pppRouter(config-if)#exitRouter(config)#interface
30、 e0Router(config-if)#ip address 172.16.50.7 255.255.255.0Router(config-if)#no shut%LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0, changed state to up%LINK-3-UPDOWN: Interface Ethernet0, changed state to upRouter(config-if)#end%SYS-5-CONFIG_I: Configured from console by consoleRouter#confi
31、g tEnter configuration commands, one per line. End with CNTL/Z. Router(config)#ip route 172.16.10.0 255.255.255.0 172.16.40.6 (静态) Router(config)#ip route 172.16.11.0 255.255.255.0 172.16.40.6Router(config)#ip route 172.16.20.0 255.255.255.0 172.16.40.6Router(config)#end%SYS-5-CONFIG_I: Configured f
32、rom console by consoleRouter#copy running-config startup-configBuilding configuration.OKRouter#show ip routeCodes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external
33、type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGPi - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default U - per-user static route, o - ODR;.Gateway of last resort is not set172.16.0.0/24 is subnetted, 4 subnetsS172.16.20.0 1/0 via 172.16.40.6S172.16.11.0 1/0 via
34、172.16.40.6C172.16.40.0 is directly connected, Serial0C172.16.50.0 is directly connected, Ethernet0Router#config tEnter configuration commands, one per line.End with CNTL/Z.Router(config)#hostname routeCrouteC(config)#end%SYS-5-CONFIG_I: Configured from console by consolerouteC#配置好的线路:结果:;.实验 2 使用 B
35、oson Netsim和 RouterSim 模拟了实验一, 同时使用动态配置完成, 由于基本和上一实验过程相同,所以只留下了动态的过程。;.2.Router2621router2621(config)#router riprouter2621(config-router)#network 172.16.10.0 (动态)router2621(config-router)#network 172.16.11.0router2621(config-router)#endrouter2621#copy run startDestination filename startup-config?Bui
36、lding configuration.OK2.RouterArouterA(config)#router riprouterA(config-router)#network 172.16.11.0 (动态)routerA(config-router)#network 172.16.20.0routerA(config-router)#endrouterA#copy run startDestination filename startup-config?Building configuration.OK;.2.RouterBrouterB(config)#router riprouterB(
37、config-router)#network 172.16.20.0 (动态)routerB(config-router)#network 172.16.40.0routerB(config-router)#endrouterB#copy run startDestination filename startup-config?Building configuration.OK2.RouterCrouterC(config)#router riprouterC(config-router)#network 172.16.40.0 (动态)routerC(config-router)#netwo
38、rk 172.16.50.0routerC(config-router)#endrouterC#copy run startDestination filename startup-config?Building configuration.OK2.Switch1900CLI session with the switch is open.To end the CLI session, enter Exit.>en#config tEnter configuration commands, one per line.End with CNTL/Z.(config)#hostname sw
39、itch1900switch1900(config)#ip address 172.16.10.3 255.255.255.0switch1900(config)#ip default-gateway 172.16.10.1switch1900(config)#end2.Host1:Boson BOSS 5.0Copyright 1998-2003 Boson Software, Inc.Use the command help to get started;.Press Enter to beginC:>winipcfgC:>ping 172.16.50.2Pinging 172
40、.16.50.2 with 32 bytes of data:Reply from 172.16.50.2: bytes=32 time=60ms TTL=241Reply from 172.16.50.2: bytes=32 time=60ms TTL=241Reply from 172.16.50.2: bytes=32 time=60ms TTL=241Reply from 172.16.50.2: bytes=32 time=60ms TTL=241Reply from 172.16.50.2: bytes=32 time=60ms TTL=241Ping statistics for
41、 172.16.50.2:Packets: Sent = 5, Received = 5, Lost = 0 (0% loss),Approximate round trip times in milli-seconds:Minimum = 50ms, Maximum =60ms, Average =55ms主机配置2.Host2Boson BOSS 5.0Copyright 1998-2003 Boson Software, Inc.Use the command help to get startedPress Enter to beginC:>winipcfgC:>ping
42、172.16.10.2Pinging 172.16.10.2 with 32 bytes of data:Reply from 172.16.10.2: bytes=32 time=60ms TTL=241;.Reply from 172.16.10.2: bytes=32 time=60ms TTL=241Reply from 172.16.10.2: bytes=32 time=60ms TTL=241Reply from 172.16.10.2: bytes=32 time=60ms TTL=241Reply from 172.16.10.2: bytes=32 time=60ms TT
43、L=241Ping statistics for 172.16.10.2:Packets: Sent = 5, Received = 5, Lost = 0 (0% loss),Approximate round trip times in milli-seconds:Minimum = 50ms, Maximum =60ms, Average =55ms主机配置:实验 3 模拟考试题,对给出的一个网络分子网.使用 172.16.10.0 的网络分成 6 个子网,我使用了 1111四位来分, 16, 32,48,64,80, 96Router2621Press Enter to StartRo
44、uter>Router>enRouter#config tEnter configuration commands, one per line. End with CNTL/Z. Router(config)#hostname router2621 router2621(config)#interface f0/1;.router2621(config-if)#ip address 172.16.10.20 255.255.255.240 router2621(config-if)#no shut%LINK-3-UPDOWN: Interface FastEthernet0/1,
45、changed state to uprouter2621(config-if)#exitrouter2621(config)#interface f0/0router2621(config-if)#ip address 172.16.10.36 255.255.255.240 router2621(config-if)#no shut%LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up router2621(config-if)#endrouter2621#config tEnter configuration comm
46、ands, one per line.End with CNTL/Z.router2621(config)#router riprouter2621(config-router)#network 172.16.10.16router2621(config-router)#network 172.16.10.32router2621(config-router)#endrouter2621#copy run startDestination filename startup-config?Building configuration.OKRouterAPress Enter to StartRo
47、uter>enRouter#config tEnter configuration commands, one per line. End with CNTL/Z. Router(config)#hostname routerA routerA(config)#interface e0routerA(config-if)#ip address 172.16.10.37 255.255.255.240routerA(config-if)#no shut%LINK-3-UPDOWN: Interface Ethernet0, changed state to uprouterA(config
48、-if)#exitrouterA(config)#interface s0routerA(config-if)#ip address 172.16.10.53 255.255.255.240routerA(config-if)#no shut%LINK-3-UPDOWN: Interface Serial0, changed state to up%LINK-3-UPDOWN: Interface Serial0, changed state to down%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed stat
49、e to downrouterA(config-if)#encap ppprouterA(config-if)#end%LINK-3-UPDOWN: Interface Serial0, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to up routerA#config t;.Enter configuration commands, one per line.End with CNTL/Z.routerA(config)#router riprouterA(config-router)#network 172.16.10.32routerA(config-rout
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2024版多功能采购协议格式汇编
- 2023-2024人教版数学四年级上册知识点归纳总结
- 《应收款项ZCX》课件
- 2022-2024年三年高考1年模拟英语试题分类:完形填空记叙文(20空)(解析版)
- 2024版智慧城市项目合作开发合同
- 《政治政府的责任》课件
- 2024正规汽车租赁服务合同范本15篇
- 2024年航空器材生产与供应合同条款与合同标的
- 2024版孕妇专属离婚合同书样本版B版
- 2024年煤炭销售公司原煤采购合同模板(含质量追溯)3篇
- 安全风险研判与承诺公告制度管理办法(最新)
- 体育与健康课一年级(水平一)课时教案全册
- SAP-ABAP-实用培训教程
- 配电房施工组织设计方案(土建部分)
- 国家开放大学电大专科《英语教学法》2023-2024期末试题及答案(试卷代号:2145)
- 年产30万吨合成氨脱碳工段工艺设计
- 管桩水平承载力计算
- 塑胶产品成型周期公式及计算
- 事业单位领导班子考核测评表
- LM-10Y液晶系列全自动振动时效使用说明书
- 中国药科大学有机化学期末试卷A
评论
0/150
提交评论