1、计算机网络课程设计计算机网络 课程设计报告题目: 动态路由的实现与应用 学院: 数学与信息工程学院 专业:信息管理与信息系统 班级:信息071 学号: 200753275110 姓名: 周春璐 指导教师: 杜选 完成日期: 2010年3月1日 同组成员: 王倩倩 毛余英 阮超超 目录一、概述 1二、实验内容 1三、实验过程 2 3.1实验环境构建 2 3.2:路由器配置 3 3.3:使用计算机不同网段互ping检查网络连通 8四、使用计算机不同网段互ping检查网络连通 6五、总结体会 10六、参考资料 10一:概述 动态路由器上的路由表项是通过相互连接的路由器之间交换彼此信息,然后按照一定的
2、算法优化出来的,而这些路由信息是在一定时间间隙里不断更新,以适应不断变化的网络,以随时获得最优的寻路效果。常见的动态路由协议有:rip(路由信息协议)、ospf(开放最短路径优先)还有 cisco专有的 igrp、eigrp (增强型内部网关路由协议) 这些都是 内部网关路由协议;另外还有 BGP 这个是外部网关路由协议。RIP(Routing information Protocol)协议是应用较早、使用较普遍的内部网关协议 (Interior Gateway Protocol,简称IGP),适用于小型同类网络,是典型的距离向量(distance-vector)协议。文档见RFC1058、R
3、FC1723。二:实验内容 路由(静态、RIP)的实现与应用 目的:理解路由(RIP)的主要应用形式,会配置动态路由 内容:准备3台iSpirit3524F(A、B、C) iSpirit3524F A上配置三个子网: Subnet 1:1.1.1.2 Subnet 2:1.1.2.1 Subnet 3:1.1.6.1 iSpirit3524F B上配置三个子网: Subnet 1:1.1.4.1 Subnet 2:1.1.3.2 Subnet 3:1.1.6.2 iSpirit3524F C上配置三个子网: Subnet 1:1.1.2.2 Subnet 2:1.1.3.1 Subnet 3:
4、1.1.5.2 (1)分别在三台iSpirit3524F上设置指向相邻交换机的静态路由。 (2)取消静态路由,在三个交换机上启用RIP。 要求:三台交换机之间能相互通讯 环境:3台3524G/F交换机,3台PC机,6根网线 组网图:三:实验过程3.1实验环境构建3.2:路由器配置Router0:RouterenableRouter#configure terminalEnter configuration commands, one per line. End with CNTL/Z.Router(config)#interface FastEthernet0/0Router(config-i
5、f)#ip address 192.168.5.3 255.255.255.0Router(config-if)#Router(config-if)#exitRouter(config)#interface FastEthernet0/1Router(config-if)#ip address 192.168.1.1 255.255.255.0Router(config-if)#Router(config-if)#exitRouter(config)#interface FastEthernet0/0Router(config-if)#Router(config-if)#exitRouter(
6、config)#interface FastEthernet0/1Router(config-if)#ip address 192.168.2.1 255.255.255.0Router(config-if)#Router(config-if)#exitRouter(config)#interface FastEthernet0/0Router(config-if)#Router(config-if)#exitRouter(config)#interface FastEthernet0/1Router(config-if)#Router(config-if)#exitRouter(config
7、)#interface FastEthernet1/0Router(config-if)#Router(config-if)#exitRouter(config)#interface FastEthernet1/0Router(config-if)#ip address 192.168.3.1 255.255.255.0Router(config-if)#Router(config-if)#exitRouter(config)#interface FastEthernet0/0Router(config-if)#Router(config-if)#exitRouter(config)#inte
8、rface FastEthernet0/1Router(config-if)#Router(config-if)#exitRouter(config)#interface FastEthernet1/0Router(config-if)#Router(config-if)#exitRouter(config)#router ripRouter(config-router)#network 192.168.5.0Router(config-router)#network 192.168.3.0Router(config-router)#network 192.168.2.0Router(conf
9、ig-router)#Router(config-router)#exitRouter(config)#interface FastEthernet0/0Router(config-if)#no shutdown%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to upRouter(config-if)#Router(config-if)#exitRouter(
10、config)#interface FastEthernet0/1Router(config-if)#no shutdown%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to upRouter(config-if)#Router(config-if)#exitRouter(config)#interface FastEthernet1/0Router(conf
11、ig-if)#no shutdown%LINK-5-CHANGED: Interface FastEthernet1/0, changed state to upRouter(config-if)#%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0, changed state to upRouter1:RouterenableRouter#configure terminalEnter configuration commands, one per line. End with CNTL/Z.Router(confi
12、g)#interface FastEthernet0/0Router(config-if)#Router(config-if)#exitRouter(config)#interface FastEthernet0/1Router(config-if)#Router(config-if)#exitRouter(config)#interface FastEthernet0/1Router(config-if)#ip address 192.168.1.2 255.255.255.0Router(config-if)#Router(config-if)#exitRouter(config)#int
13、erface FastEthernet0/0Router(config-if)#Router(config-if)#exitRouter(config)#interface FastEthernet0/1Router(config-if)#Router(config-if)#exitRouter(config)#interface FastEthernet0/0Router(config-if)#ip address 192.168.2.2 255.255.255.0Router(config-if)#Router(config-if)#exitRouter(config)#interface
14、 FastEthernet1/0Router(config-if)#ip address 192.168.6.2 255.255.255.0Router(config-if)#Router(config-if)#exitRouter(config)#interface FastEthernet0/1Router(config-if)#Router(config-if)#exitRouter(config)#interface FastEthernet0/0Router(config-if)#Router(config-if)#exitRouter(config)#interface FastE
15、thernet1/0Router(config-if)#no shutdownRouter(config-if)#%LINK-5-CHANGED: Interface FastEthernet1/0, changed state to upRouter(config-if)#exitRouter(config)#interface FastEthernet0/0Router(config-if)#no shutdown%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to upRouter(config-if)#Router(c
16、onfig-if)#exitRouter(config)#interface FastEthernet1/0Router(config-if)#Router(config-if)#exitRouter(config)#interface FastEthernet0/1Router(config-if)#no shutdown%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed s
17、tate to upRouter(config-if)#Router(config-if)#exitRouter(config)#router ripRouter(config-router)#network 192.168.1.0Router(config-router)#network 192.168.2.0Router(config-router)#network 192.168.6.0Router(config-router)#%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state t
18、o up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0, changed state to upRouter2:RouterenableRouter#configure terminalEnter configuration commands, one per line. End with CNTL/Z.Router(config)#interface FastEthernet0/0Router(config-if)#no ip addressRouter(config-if)#Router(config-if)#
19、exitRouter(config)#interface FastEthernet0/0Router(config-if)#ip address 192.168.4.2 255.255.255.0Router(config-if)#Router(config-if)#exitRouter(config)#interface FastEthernet0/0Router(config-if)#Router(config-if)#exitRouter(config)#interface FastEthernet0/0Router(config-if)#Router(config-if)#exitRo
20、uter(config)#interface FastEthernet0/1Router(config-if)#Router(config-if)#exitRouter(config)#interface FastEthernet1/0Router(config-if)#ip address 192.168.3.2 255.255.255.0Router(config-if)#Router(config-if)#exitRouter(config)#interface FastEthernet1/0Router(config-if)#Router(config-if)#exitRouter(c
21、onfig)#interface FastEthernet1/0Router(config-if)#Router(config-if)#exitRouter(config)#interface FastEthernet0/1Router(config-if)#ip address 192.168.6.1 255.255.255.0Router(config-if)#Router(config-if)#exitRouter(config)#interface FastEthernet0/0Router(config-if)#Router(config-if)#exitRouter(config)
22、#interface FastEthernet0/0Router(config-if)#Router(config-if)#exitRouter(config)#interface FastEthernet0/1Router(config-if)#Router(config-if)#exitRouter(config)#interface FastEthernet1/0Router(config-if)#Router(config-if)#exitRouter(config)#interface FastEthernet0/0Router(config-if)#Router(config-if
23、)#exitRouter(config)#interface FastEthernet0/0Router(config-if)#no shutdown%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to upRouter(config-if)#Router(config-if)#exitRouter(config)#interface FastEthernet0
24、/1Router(config-if)#no shutdown%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to upRouter(config-if)#Router(config-if)#exitRouter(config)#interface FastEthernet1/0Router(config-if)#no shutdown%LINK-5-CHANG
25、ED: Interface FastEthernet1/0, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0, changed state to upRouter(config-if)#Router(config-if)#exitRouter(config)#router ripRouter(config-router)#network 192.168.4.0Router(config-router)#network 192.168.6.0Router(config-route
26、r)#network 192.168.3.0Router(config-router)#3.3:使用计算机不同网段互ping检查网络连通PC0:PC0:PC2:PC3:五:心得体会对于本次课程设计,首先是对“动态路由的实现与应用”这一课题的分析,讨论及最后的实现,使我们更好的了解了动态路由的配置方式。在实现的过程中,也碰到了许多问题及难关。在导师的指导和小组成员的讨论下,问题一一解决。通过这次实验,我们发现了一些问题,如因为没有正确选择network是哪个网络,导致无法正确配置,也因为没有明白主机的网关就是路由器的IP地址这个道理,而在配置初出现了些问题。总之,本次实验提高了我们的实践水平,使理论和实践很好的结合起来。让我学会了如何运用所学的知识来划分子网,如何配置动态路由。六:参考资料1 计算机网络实验教程 谢 谦等 电子工业出版社2 潘爱民译,计算机网络第4版,清华大学出版社,2003年4月3 现代网络技术教程,张公忠主编,电子工业出版社
copyright@ 2008-2022 冰豆网网站版权所有
经营许可证编号:鄂ICP备2022015515号-1