浙江理工大学计算机网络课程设计.doc

上传人:风**** 文档编号:988121 上传时间:2024-03-20 格式:DOC 页数:34 大小:3.14MB
下载 相关 举报
浙江理工大学计算机网络课程设计.doc_第1页
第1页 / 共34页
浙江理工大学计算机网络课程设计.doc_第2页
第2页 / 共34页
浙江理工大学计算机网络课程设计.doc_第3页
第3页 / 共34页
浙江理工大学计算机网络课程设计.doc_第4页
第4页 / 共34页
浙江理工大学计算机网络课程设计.doc_第5页
第5页 / 共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)#

23、no shut/启用该接口,全名是no shutdown %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0, changed state to up/Ethernet 0上的线路协议已启动%LINK-3-UPDOWN: Interface Ethernet0, changed state to up/接口本身也已启动routerC(config-if)#exitrouterC(config)#ip route 172.16.10.0 255.255.255.0 172.16.40.6routerC(config)#ip rout

24、e 172.16.11.0 255.255.255.0 172.16.40.6routerC(config)#ip route 172.16.20.0 255.255.255.0 172.16.40.6routerC(config)#end%SYS-5-CONFIG_I: Configured from console by consolerouterC#show running-config/显示运行配置文件内容Building configuration.Current configuration:!version 12.0service timestamps debug uptimese

25、rvice timestamps log uptimeno service password-encryption!hostname routerC!interface Ethernet0ip address 172.16.50.6 255.255.255.0!interface Serial0ip address 172.16.40.5 255.255.255.0 encapsulation PPP!interface Serial1no ip address!shutdown!interface TokenRing0no ip address!-More实验2 静态路由设置router26

26、21router2621(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)#endrouter2621#show ip routeCodes: C - connected, S - static, I - IGRP, R - RIP, M -

27、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 default U - per-user static rou

28、te, o - ODRGateway of last resort is not set 172.16.0.0/24 is subnetted, 2 subnetsC 172.16.10.0 is directly connected, FastEthernet0/1C 172.16.11.0 is directly connected, FastEthernet0/0routerArouteA(config)#ip route 172.16.10.0 255.255.255.0 172.16.11.6routeA(config)#ip route 172.16.40.0 255.255.25

29、5.0 172.16.20.5routeA(config)#ip 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 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

30、 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 not set 172.16.0.0/24 is subnetted, 3 sub

31、netsS 172.16.10.0 1/0 via 172.16.11.6C 172.16.20.0 is directly connected, Serial0C 172.16.11.0 is directly connected, Ethernet0routerBrouterB(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.2

32、55.255.0 172.16.40.5routerB(config)#end%SYS-5-CONFIG_I: Configured from console by consolerouterB#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 extern

33、al 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 - ODRay of last resort is not set 172.16.0.0/24 is subnetted, 3 subnetsS 172.16.11.0 1/0 via 172.16.20.5C 172.16.40.0 is direc

34、tly connected, Serial1C 172.16.20.0 is directly connected, Serial0routerCrouterC(config)#ip route 172.16.10.0 255.255.255.0 172.16.40.6routerC(config)#ip route 172.16.11.0 255.255.255.0 172.16.40.6routerC(config)#ip route 172.16.20.0 255.255.255.0 172.16.40.6routerC(config)#end%SYS-5-CONFIG_I: Confi

35、gured from console by consolerouterC#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 type 2 E1 - OSPF external type 1, E2 - OSPF external type

36、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.5S 172.16.11.0 1/0 via 172.16.40.5C 172.16.40.0 is directly connected, Serial0C

37、 172.16.50.0 is directly connected, Ethernet0实验3 动态路由协议RIP设置Router2621Press Enter to StartRouterenRouter#config tEnter configuration commands, one per line. End with CNTL/Z.Router(config)#hostname router2621router2621(config)#interface f0/1/设置网络接口,进入接口配置模式router2621(config-if)#ip address 192.168.1.3

38、7 255.255.255.224router2621(config-if)#no shut%LINK-3-UPDOWN: Interface FastEthernet0/1, changed state to uprouter2621(config-if)#exitrouter2621(config)#interface f0/0/设置网络接口,进入接口配置模式router2621(config-if)#ip address 192.168.1.70 255.255.255.224router2621(config-if)#no shut%LINK-3-UPDOWN: Interface F

39、astEthernet0/0, changed state to uprouter2621(config-if)#exitrouter2621(config)#endrouter2621#show running-configBuilding configuration.!Version 12.1service timestamps debug uptimeservice timestamps log uptimeno service password-encryption!hostname router2621!ip subnet-zero!interface Serial0 no ip a

40、ddress no ip directed-broadcast shutdown!interface Serial1router2621#show interface f0/1FastEthernet0/1 is up, line protocol is up Hardware is Lance, address is 000C.8229.4925 (bia 000C.8229.4925) Internet address is 192.168.1.37/27 MTU 1500 bytes, BW 100000 Kbit, DLY 1000 usec, rely 255/255, load 1

41、/255 Encapsulation ARPA, loopback not set, keepalive set (10 sec) Auto-duplex, Auto Speed, 100BaseTX/FX ARP type: ARPA, ARP Timeout 04:00:00 Last input 00:00:00, output 00:00:00, output hang never Last clearing of show interface counters never Queueing strategy: fifo Output queue 0/40, 0 drops; inpu

42、t queue 0/75, 0 drops 5 minute input rate 1000 bits/sec, 2 packets/sec 5 minute output rate 1000 bits/sec, 2 packets/sec 0 packets input, 0 bytes, 0 no buffer Received 0 broadcasts, 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort 0 input packets with drib

43、ble condition detected 0 packets output, 0 bytes, 0 underruns 0 output errors, 0 collisions, 0 interface resets 0 babbles, 0 late collision, 0 deferred 0 lost carrier, 0 no carrier 0 output buffer failures, 0 output buffers swapped outrouter2621#show interface f0/0FastEthernet0/0 is up, line protoco

44、l is up Hardware is Lance, address is 000C.5285.1811 (bia 000C.5285.1811) Internet address is 192.168.1.70/27 MTU 1500 bytes, BW 100000 Kbit, DLY 1000 usec, rely 255/255, load 1/255 Encapsulation ARPA, loopback not set, keepalive set (10 sec) Auto-duplex, Auto Speed, 100BaseTX/FX ARP type: ARPA, ARP Timeout 04:00:00 Last input 00:00:00, output 00:00:00, output hang never Last clearing of show interface counters never Queueing strategy: fifo Output queue 0/40, 0 drops; input queue 0/75, 0 drops 5 minute input rate 1000 bits/sec, 2 packets/sec 5 minute output rate 1000 bits/sec, 2

展开阅读全文
相关资源
相关搜索
资源标签

当前位置:首页 > 建筑施工 > 建筑节能

版权声明:以上文章中所选用的图片及文字来源于网络以及用户投稿,由于未联系到知识产权人或未发现有关知识产权的登记,如有知识产权人并不愿意我们使用,如有侵权请立即联系:2622162128@qq.com ,我们立即下架或删除。

Copyright© 2022-2024 www.wodocx.com ,All Rights Reserved |陕ICP备19002583号-1 

陕公网安备 61072602000132号     违法和不良信息举报:0916-4228922