版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、计算机网络课程设计 (2013/2014第二学期-第18周)指导教师:张芳 舒挺班级:姓名:学号:一、目的和要求本课程设计的主要目的是通过实际操作和实验以及编程等,加深对课堂所学知识的理解,提高对网络系统的感性认识,培养动手技能和自学能力。本课程设计通过完成彼此具有独立性又相互联系的几个小实验,能够对网络相关设备和服务器进行安装和配置,对网络设计的概念有个比较完整的认识。二、实验环境本实验主要应用软件来仿真实际的路由网络,选用的软件有选用的软件包括RouterSim CCNA 2、Boson Netsim和RouterSim。三、具体内容1.熟悉实验环境通过参考软件中自带的帮助、参考资料和教师
2、的讲解等,熟悉模拟器操作的常用命令。对配置模式、配置参数的查看、保存、清除等进行了解。2.网络拓扑图的设计熟悉不同网络设备以及相关的接口,如:路由器、交换机、主机,学习利用不同网络设备搭建网络系统。3.网络路由器不同端口的配置学习如何对网络路由器的以太网接口、快速以太网接口、串行接口以及相关参数的配置,以及环回接口、令牌环接口的配置。并且能够对配置结构进行验证。配置路由器的各种网络接口配置Ethernet接口配置路由器A与路由器2621的Ethernet接口,并通过ping来测试!4.静态路由的配置复习路由的概念,学习静态路由的设置,默认路由的设置,以及已有路由的删除。5动态路由的配置复习动态
3、路由协议,深入掌握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: FAB0339U01UPower Supply S/N: P
4、HI031803JKPCB Serial Number: FAB0337240K,73-3122-04-1 user(s) now active on Management Console. User Interface Menu M Menus K Command Line I IP ConfigurationEnter Selection: PCA Number: 73-3122-04PCA Serial Number: FAB0337240KModel Number: WS-C1912-ASystem Serial Number: FAB0339U01UPower Supply S/N:
5、 PHI031803JKPCB Serial Number: FAB0337240K,73-3122-04-1 user(s) now active on Management Console. User Interface Menu M Menus K Command Line I IP ConfigurationEnter Selection: PCA Number: 73-3122-04PCA Serial Number: FAB0337240KModel Number: WS-C1912-ASystem Serial Number: FAB0339U01UPower Supply S/
6、N: PHI031803JKPCB Serial Number: FAB0337240K,73-3122-04-1 user(s) now active on Management Console. User Interface Menu M Menus K Command Line I IP ConfigurationEnter Selection: CLI session with the switch is open. To end the CLI session, enter Exit.Router>enRouter#config tEnter configuration com
7、mands, one per line. End with CNTL/Z.Router(config)#hostname switch 1900A1900A(config)#hostname switch1900Aswitch1900A(config)#ip address 172.16.10.3 255.255.255.0switch1900A(config)#ip defalut-gateway 172.16.10.1% Invalid input detected at '' marker.switch1900A(config)#ip default-gateway 17
8、2.16.10.1switch1900A(config)#endswitch1900A#1.Router2621(由于第一次做的时候前面命名忘记了,在后面补的命名)Router Con0 is now availablePress RETURN to get started.Router>enRouter#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.2
9、55.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 upRouter(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/
11、Z.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 - s
12、tatic, 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 - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate d
13、efault U - per-user static route, o - ODRGateway of last resort is not set 172.16.0.0/24 is subnetted, 5 subnetsS 172.16.50.0 1/0 via 172.16.11.5S 172.16.40.0 1/0 via 172.16.11.5S 172.16.20.0 1/0 via 172.16.11.5C 172.16.10.0 is directly connected, FastEthernet0/1C 172.16.11.0 is directly connected,
14、FastEthernet0/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. En
15、d with 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
16、 s0Router(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 tE
17、nter 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
18、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 - EGP i - 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 n
19、ot set 172.16.0.0/24 is subnetted, 2 subnetsC 172.16.20.0 is directly connected, Serial0C 172.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 17
20、2.16.50.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 -
21、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 - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default U - per-user static route, o - ODRG
22、ateway of last resort is not set 172.16.0.0/24 is subnetted, 4 subnetsS 172.16.50.0 1/0 via 172.16.20.6S 172.16.10.0 1/0 via 172.16.11.4C 172.16.20.0 is directly connected, Serial0C 172.16.11.0 is directly connected, Ethernet0Router#config tEnter configuration commands, one per line. End with CNTL/Z
23、.Router(config)#hostname routeArouteA(config)#end%SYS-5-CONFIG_I: Configured from console by consolerouteA#1.RouterBRouter Con0 is now availablePress RETURN to get started.Router>enRouter#config tEnter configuration commands, one per line. End with CNTL/Z.Router(config)#interface s0Router(config-
24、if)#ip address 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: Config
25、ured from console 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:
26、 Interface Serial1, 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
27、.16.20.5(静态)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 configurat
28、ion commands, 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/
29、Z.Router(config)#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
30、)#interface 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 consoleR
31、outer#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.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: Conf
32、igured from 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 e
33、xternal type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - 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 172.16.0.0/24 is subnetted, 4 subnetsS 172.16.20.0 1/0 via 172.16.40.6S 172.16.11.
34、0 1/0 via 172.16.40.6C 172.16.40.0 is directly connected, Serial0C 172.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#配置好的线路:结
35、果:实验2 使用Boson 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?B
36、uilding 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.OK2.RouterBrouterB(config)#router riprouterB(c
37、onfig-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)#network
38、172.16.50.0routerC(config-router)#endrouterC#copy run startDestination filename startup-config?Building configuration.OK2.Switch1900 CLI 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 startedPress Enter to beginC:>winipcfgC:>ping 172.16.50.2Pinging 172.1
40、6.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 1
41、72.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:>pin
42、g 172.16.10.2Pinging 172.16.10.2 with 32 bytes of data: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 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 StartRouter&
44、gt;Router>enRouter#config tEnter configuration commands, one per line. End with CNTL/Z.Router(config)#hostname router2621router2621(config)#interface f0/1router2621(config-if)#ip address 172.16.10.20 255.255.255.240router2621(config-if)#no shut%LINK-3-UPDOWN: Interface FastEthernet0/1, changed st
45、ate to uprouter2621(config-if)#exitrouter2621(config)#interface f0/0router2621(config-if)#ip address 172.16.10.36 255.255.255.240router2621(config-if)#no shut%LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to uprouter2621(config-if)#endrouter2621#config tEnter configuration commands, one pe
46、r 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 StartRouter>enR
47、outer#config tEnter configuration commands, one per line. End with CNTL/Z.Router(config)#hostname routerArouterA(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-if)#exitrout
48、erA(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 state to downrout
49、erA(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 uprouterA#config tEnter configuration commands, one per line. End with CNTL/Z.routerA(config)#router riprouterA(config-router)
50、#network 172.16.10.32routerA(config-router)#network 172.16.10.48routerA(config-router)#endrouterA#copy run startDestination filename startup-config?Building configuration.OKRouterBPress Enter to StartRouter>enRouter#config tEnter configuration commands, one per line. End with CNTL/Z.Router(config
51、)#hostname routerBrouterB(config)#interface s0routerB(config-if)#ip address 172.16.10.54 255.255.255.240routerB(config-if)#no shut%LINK-3-UPDOWN: Interface Serial0, changed state to uprouterB(config-if)#encap ppp%LINK-3-UPDOWN: Interface Serial0, changed state to down%LINEPROTO-5-UPDOWN: Line protoc
52、ol on Interface Serial0, changed state to downrouterB(config-if)#clock rate 64000routerB(config-if)#exit%LINK-3-UPDOWN: Interface Serial0, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to uprouterB(config)#interface s1routerB(config-if)#ip address 172.16.1
53、0.70 255.255.255.240routerB(config-if)#no shut%LINK-3-UPDOWN: Interface Serial1, changed state to uprouterB(config-if)#encap ppp%LINK-3-UPDOWN: Interface Serial1, changed state to down%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1, changed state to downrouterB(config-if)#clock rate 64000rou
54、terB(config-if)#end%LINK-3-UPDOWN: Interface Serial1, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1, changed state to uprouterB#config tEnter configuration commands, one per line. End with CNTL/Z.routerB(config)#router riprouterB(config-router)#network 172.16.10.48routerB(config-router)#network 172.16.10.64routerB(config-router)#endrouter
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- BIM工程师-全国《BIM应用技能资格》考前冲刺1
- 北师大版小学四年级上册数学教案(全册)
- 苏教版一年级数学下册教案
- 2024高中地理第1章地理环境与区域发展第1节地理环境对区域发展的影响精练含解析新人教版必修3
- 2024高中语文第5单元庄子蚜第1课无端崖之辞练习含解析新人教版选修先秦诸子蚜
- 2024高中语文第六单元文无定格贵在鲜活种树郭橐驼传训练含解析新人教版选修中国古代诗歌散文欣赏
- 2024高考化学一轮复习专练28热化学方程式的书写及正误判断含解析新人教版
- 2024高考化学一轮复习第一部分考点16元素周期表强化训练含解析
- 2024高考历史一轮复习方案专题四世界政治制度的演变与发展第11讲民主政治的扩展教学案+练习人民版
- 2024高考地理一轮复习第二章第1讲冷热不均引起大气运动教案含解析新人教版
- 细胞生物学练习题库与参考答案
- 退休延期留用岗位协议书
- 关于成立低空经济公司可行性分析报告
- GB/T 44545-2024制冷系统试验
- 2024新一代变电站集中监控系统系列规范第2部分:设计规范
- 2024年煤矿溺水事故心得体会(四篇)
- 快乐寒假安全先行寒假安全教育主题班会课件
- 北师大版四年级数学上册口算天天练题卡2
- 滑模施工计算书及相关图纸
- DB11T 2279-2024 社会单位消防安全评估规范
- 《电力电缆试验》课件
评论
0/150
提交评论