浙江理工大学计算机网络课程设计.doc
《浙江理工大学计算机网络课程设计.doc》由会员分享,可在线阅读,更多相关《浙江理工大学计算机网络课程设计.doc(34页珍藏版)》请在沃文网上搜索。
1、计算机网络课程设计 (2012/2013第二学期-第18周)指导教师: 一、目的和要求本课程设计的主要目的是通过实际操作和实验以及编程等,加深对课堂所学知识的理解,提高对网络系统的感性认识,培养动手技能和自学能力。本课程设计通过完成彼此具有独立性又相互联系的几个小实验,能够对网络相关设备和服务器进行安装和配置,对网络设计的概念有个比较完整的认识。二、实验环境本实验主要应用软件来仿真实际的路由网络,选用的软件有选用的软件包括RouterSim CCNA 2、Boson Netsim和RouterSim。三、具体内容1.熟悉实验环境通过参考软件中自带的帮助、参考资料和教师的讲解等,熟悉模拟器操作的
2、常用命令。对配置模式、配置参数的查看、保存、清除等进行了解。2.网络拓扑图的设计熟悉不同网络设备以及相关的接口,如:路由器、交换机、主机,学习利用不同网络设备搭建网络系统。3.网络路由器不同端口的配置学习如何对网络路由器的以太网接口、快速以太网接口、串行接口以及相关参数的配置,以及环回接口、令牌环接口的配置。并且能够对配置结构进行验证。配置路由器的各种网络接口配置Ethernet接口配置路由器A与路由器2621的Ethernet接口,并通过ping来测试!4.静态路由的配置复习路由的概念,学习静态路由的设置,默认路由的设置,以及已有路由的删除。5动态路由的配置复习动态路由协议,深入掌握RIP协
3、议的原理,能够进行动态RIP路由设置,并对设置的结果进行验证,查看。实验1 配置路由器的各种网络接口router2621Router Con0 is now availablePress RETURN to get started./进入用户EXEC模式Routeren/进入特权EXEC模式Router#config t/进入全局配置模式Enter configuration commands, one per line. End with CNTL/Z.Router(config)#hostname router2621/设置路由器名字router2621(config)#interface
4、 f0/1/设置网络接口,进入接口配置模式router2621(config-if)#ip address 172.16.10.5 255.255.255.0/配置ip地址router2621(config-if)#no shut/启用该接口,全名是no shutdown%LINK-3-UPDOWN: Interface FastEthernet0/1, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to uprouter2621(config-
5、if)#exit/退出配置模式router2621(config)#interface f0/0/设置网络接口,进入接口配置模式router2621(config-if)#ip address 172.16.11.6 255.255.255.0/配置ip地址router2621(config-if)#no shut/启用该接口,全名是no shutdown%LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEtherne
6、t0/0, changed state to uprouter2621(config-if)#exitrouter2621(config)#ip route 172.16.50.0 255.255.255.0 172.16.11.5router2621(config)#ip route 172.16.40.0 255.255.255.0 172.16.11.5router2621(config)#ip route 172.16.20.0 255.255.255.0 172.16.11.5router2621(config)#end/退出配置模式router2621#show running-c
7、onfig/显示运行配置文件内容Building configuration.Current configuration:!version 12.0service timestamps debug uptimeservice timestamps log uptimeno service password-encryption!hostname router2621!interface FastEthernet0/0ip address 172.16.11.6 255.255.255.0!interface FastEthernet0/1ip address 172.16.10.5 255.2
8、55.255.0no ip classless ip route 172.16.20.0 255.255.255.0 172.16.11.5ip route 172.16.40.0 255.255.255.0 172.16.11.5ip route 172.16.50.0 255.255.255.0 172.16.11.5!line con 0line aux 0line vty 0 4endrouter2621#routerARouter Con0 is now availablePress RETURN to get started./进入用户EXEC模式Routeren/进入特权EXEC
9、模式Router#config t/进入全局配置模式Enter configuration commands, one per line. End with CNTL/Z.Router(config)#hostname routeA/设置路由器名字routeA(config)#interface e0/设置以太网接口,进入接口配置模式routeA(config-if)#ip address 172.16.11.5 255.255.255.0/配置ip地址routeA(config-if)#no shut/启用该接口%LINEPROTO-5-UPDOWN: Line protocol on In
10、terface Ethernet0, changed state to up/Ethernet 0上的线路协议已启动%LINK-3-UPDOWN: Interface Ethernet0, changed state to uprouteA(config-if)#exitrouteA(config)#interface s0/设置以太网接口,进入接口配置模式routeA(config-if)#ip address 172.16.20.6 255.255.255.0/配置ip地址routeA(config-if)#encap ppp/使用ppp协议封装routeA(config-if)#no s
11、hut/启用该接口%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to up%LINK-3-UPDOWN: Interface Serial0, changed state to uprouteA(config-if)#exitrouteA(config)#ip route 172.16.10.0 255.255.255.0 172.16.11.6routeA(config)#ip route 172.16.40.0 255.255.255.0 172.16.20.5routeA(config)#ip
12、 route 172.16.50.0 255.255.255.0 172.16.20.5routeA(config)#end/退出配置模式%SYS-5-CONFIG_I: Configured from console by consolerouteA#show running-config/显示运行配置文件内容Building configuration.Current configuration:!version 12.0service timestamps debug uptimeservice timestamps log uptimeno service password-encry
13、ption!hostname routeA!interface Ethernet0ip address 172.16.11.5 255.255.255.0!interface Serial0ip address 172.16.20.6 255.255.255.0 encapsulation PPP!interface Serial1no ip address!shutdown!interface TokenRing0no ip address!-MorerouterBRouter Con0 is now availablePress RETURN to get started./进入用户EXE
14、C模式Routeren/进入特权EXEC模式Router#config t/进入全局配置模式Enter configuration commands, one per line. End with CNTL/Z.Router(config)#hostname routerB/设置路由器名字routerB(config)#interface s0/设置以太网接口,进入接口配置模式routerB(config-if)#ip address 172.16.20.5 255.255.255.0/配置ip地址routerB(config-if)#encap ppp /使用ppp协议封装routerB(c
15、onfig-if)#no shut/启用该接口%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to up/Ethernet 0上的线路协议已启动%LINK-3-UPDOWN: Interface Serial0, changed state to up/接口本身也已启动routerB(config-if)#clock rate ? Speed (bits per second) 1200 2400 4800 9600 19200 38400 56000 64000 72000 125000 14800
16、0 250000 500000 800000 1000000 1300000 2000000 4000000 Choose clockrate from list aboverouterB(config-if)#clock rate 64000routerB(config-if)#exitrouterB(config)#interface s1/设置以太网接口,进入接口配置模式routerB(config-if)#ip address 172.16.40.6 255.255.255.0/配置ip地址routerB(config-if)#encap ppp /使用ppp协议封装routerB(c
17、onfig-if)#no shut/启用该接口%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1, changed state to up%LINK-3-UPDOWN: Interface Serial1, changed state to uprouterB(config-if)#clock rate ? Speed (bits per second) 1200 2400 4800 9600 19200 38400 56000 64000 72000 125000 148000 250000 500000 800000 100000
18、0 1300000 2000000 4000000 Choose clockrate from list aboverouterB(config-if)#clock rate 64000routerB(config-if)#exitrouterB(config)#ip route 172.16.10.0 255.255.255.0 172.16.20.6routerB(config)#ip route 172.16.11.0 255.255.255.0 172.16.20.6routerB(config)#ip route 172.16.50.0 255.255.255.0 172.16.40
19、.5routerB(config)#end/退出配置模式%SYS-5-CONFIG_I: Configured from console by consolerouterB#show running-config/显示运行配置文件内容Building configuration.Current configuration:!version 12.0service timestamps debug uptimeservice timestamps log uptimeno service password-encryption!hostname routerB!interface Etherne
20、t0no ip addressshutdown!interface Serial0ip address 172.16.20.5 255.255.255.0 encapsulation PPP!clockrate 64000!interface Serial1ip address 172.16.40.6 255.255.255.0clockrate 64000!-MorerouterCRouter Con0 is now availablePress RETURN to get started./进入用户EXEC模式Routeren/进入特权EXEC模式Router#config t/进入全局配
21、置模式Enter configuration commands, one per line. End with CNTL/Z.Router(config)#hostname routerC/设置路由器名字routerC(config)#interface s0/设置网络接口,进入接口配置模式routerC(config-if)#ip address 172.16.40.5 255.255.255.0/配置ip地址routerC(config-if)#encap ppp/使用ppp协议封装routerC(config-if)#no shut/启用该接口,全名是no shutdown%LINEPR
22、OTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to up/Ethernet 0上的线路协议已启动%LINK-3-UPDOWN: Interface Serial0, changed state to up/接口本身也已启动routerC(config-if)#exitrouterC(config)#interface e0/设置网络接口,进入接口配置模式routerC(config-if)#ip address 172.16.50.6 255.255.255.0/配置ip地址routerC(config-if)#
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
20 积分
下载 | 加入VIP,下载更划算! |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 浙江 理工大学 计算机网络 课程设计
