2022年动态路由配置实验 .pdf

上传人:Che****ry 文档编号:35307095 上传时间:2022-08-21 格式:PDF 页数:5 大小:100.87KB
返回 下载 相关 举报
2022年动态路由配置实验 .pdf_第1页
第1页 / 共5页
2022年动态路由配置实验 .pdf_第2页
第2页 / 共5页
点击查看更多>>
资源描述

《2022年动态路由配置实验 .pdf》由会员分享,可在线阅读,更多相关《2022年动态路由配置实验 .pdf(5页珍藏版)》请在得力文库 - 分享文档赚钱的网站上搜索。

1、动态路由配置实验(学时数: 4,分两次完成)一、实验目的1、掌握在一个网络系统中配置动态路由RIP 二、实验设备及环境Star-R2620路由器四台,计算机四台,Star-1926F+交换机一台网络拓朴结构各主机和路由器接口的IP 地址各路由器的接口 IP 地址分配如下:RTA RTB RTC RTD S0 192.168.1.1/24 192.168.1.2/24 192.168.2.2/24 S1 192.168.3.2/24 192.168.2.1/24 192.168.3.1/24 F0 192.168.7.1/24 192.168.4.1/24 192.168.6.1/24 192.

2、168.4.2/24 S0 DTE S1 DCE RTB RTD RTC RTA S0 DCE S1 DCE S1 DTE S0 DTE F0 F0 F0 F0 F1 PC1 PC2 PC3 192.168.1.0 192.168.2.0 192.168.3.0 192.168.4.0 192.168.5.0 192.168.6.0 192.168.7.0 名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 1 页,共 5 页 - - - - - - - - - F1 192.168.5

3、.1/24 各主机的 IP 地址和缺省网关分配如下:PC1 PC2 PC3 IP 192.168.7.2/24 192.168.6.2/24 192.168.5.2/24 Gateway 192.168.7.1/24 192.168.6.1/24 192.168.5.1/24 三、知识点说明1、动态路由协议RIP RIP 的概念RIP(Routing Information Protocol,路由信息协议)是一种有类别的、距离向量路由协议。 RIP 使用非常简单的度量值一 跳数( HOPS ) ,仅考虑到达目的网络要经过的路由器个数,不考虑路径的带宽和其他因素。跳数的计算是将指定路由器到达远程

4、网络所有路由器的个数进行简单相加而完成的。每隔30 秒广播一次路由表,维护相邻路由器的关系,同时根据收到的路由表计算自己的路由表。RIP运行简单,适用于小型网络。RIP 的配置方法RIP 路由协议原理看起来很复杂, 然而配置 RIP是相当简单的, 主要有以下两个步骤: 启动 RIP 路由进程。在全局配置模式下,使用“router rip”命令。 在路由配置模式下配置路由器的那些接口参与RIP进程。使用“ network 主网络号”命令举例如下:RTA(config)#router rip RTA(config-router)#network 192.168.1.0 RTA(config-rou

5、ter)#network 192.168.3.0 RTA(config-router)#network 192.168.7.0 使用“ network ”命令时,网络号应是路由器的直连接口的主网络号。RTA直连接网络 192. 168.1.0/24的主网络号为 192.168.1.0 ,而另外两个直连网络的主网络号分别为 192.168.3.0 ,192.168.7.0 。四、实验内容1、配置动态路由协议RIP RTA 的配置Red-Gianten Red-Giant#config t Red-Giant (config)#hostname RTA RTA(config)#int f0 名师资

6、料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 2 页,共 5 页 - - - - - - - - - RTA(config-if)#ip address 192.168.7.1 255.255.255.0 RTA(config-if)#no shutdown RTA(config-if)#exit RTA(config)#int s0 RTA(config-if)#ip address 192.168.1.1 255.255.255.0 RTA(config-if)#encapsulat

7、ion ppp RTA(config-if)#clock rate 2000000 RTA(config-if)#no shutdown RTA(config-if)#exit RTA(config)#int s1 RTA(config-if)#ip address 192.168.3.2 255.255.255.0 RTA(config-if)#encapsulation ppp RTA(config-if)#no shutdown RTA(config-if)#exit RTA(config)#router rip RTA(config-router)#network 192.168.1.

8、0 RTA(config-router)#network 192.168.3.0 RTA(config-router)#network 192.168.7.0 RTD(config-router)#exit RTA(config)#exit RTA#write RTA#show run RTA# show ip route RTB 的配置Red-Gianten Red-Giant#config t Red-Giant (config)#hostname RTB RTB(config)#int f0 RTB(config-if)#ip address 192.168.4.1 255.255.25

9、5.0 RTB(config-if)#no shutdown RTB(config-if)#exit RTB(config)#int s0 RTB(config-if)#ip address 192.168.1.2 255.255.255.0 RTB(config-if)#encapsulation ppp RTB(config-if)#no shutdown RTB(config-if)#exit RTB(config)#int s1 RTB(config-if)#ip address 192.168.2.1 255.255.255.0 RTB(config-if)#clock rate 2

10、000000 RTB(config-if)#encapsulation ppp RTB(config-if)#no shutdown RTB(config-if)#exit RTB(config)#router rip 名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 3 页,共 5 页 - - - - - - - - - RTB(config-router)#network 192.168.1.0 RTB(config-router)#network 192.168.2.0 RTB(

11、config-router)#network 192.168.4.0 RTD(config-router)#exit RTB(config)#exit RTB#write RTB#show run RTB# show ip route RTC 的配置Red-Gianten Red-Giant#config t Red-Giant (config)#hostname RTC RTC(config)#int f0 RTC(config-if)#ip address 192.168.6.1 255.255.255.0 RTC(config-if)#no shutdown RTC(config-if)

12、#exit RTC(config)#int s0 RTC(config-if)#ip address 192.168.2.2 255.255.255.0 RTC(config-if)#encapsulation ppp RTC(config-if)#no shutdown RTC(config-if)#exit RTC(config)#int s1 RTC(config-if)#ip address 192.168.3.1 255.255.255.0 RTC(config-if)#clock rate 2000000 RTC(config-if)#encapsulation ppp RTC(c

13、onfig-if)#no shutdown RTC(config-if)#exit RTC(config)#router rip RTC(config-router)#network 192.168.2.0 RTC(config-router)#network 192.168.3.0 RTC(config-router)#network 192.168.6.0 RTD(config-router)#exit RTC(config)#exit RTC#write RTC#show run RTC# show ip route RTD 的配置Red-Gianten Red-Giant#config

14、 t Red-Giant (config)#hostname RTD RTD(config)#int f0 RTD(config-if)#ip address 192.168.4.2 255.255.255.0 名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 4 页,共 5 页 - - - - - - - - - RTD(config-if)#no shutdown RTD(config-if)#exit RTD(config)#int f1 RTD(config-if)#ip ad

15、dress 192.168.5.1 255.255.255.0 RTD(config-if)#no shutdown RTD(config-if)#exit RTD(config)#router rip RTD(config-router)#network 192.168.4.0 RTD(config-router)#network 192.168.5.0 RTD(config-router)#exit RTD(config)#exit RTD#write RTD#show run RTD# show ip route 五、思考题a)如果本实验网络系统只用静态路由来实现,RTA、RTB、RTC、RTD 应分别如何配置?b)配置 RIP 路由有哪些命令?分别在什么模式下输入这些命令?c)配置 OSPF 路由有哪些命令?分别在什么模式下输入这些命令?名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 5 页,共 5 页 - - - - - - - - -

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

当前位置:首页 > 教育专区 > 高考资料

本站为文档C TO C交易模式,本站只提供存储空间、用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。本站仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知得利文库网,我们立即给予删除!客服QQ:136780468 微信:18945177775 电话:18904686070

工信部备案号:黑ICP备15003705号-8 |  经营许可证:黑B2-20190332号 |   黑公网安备:91230400333293403D

© 2020-2023 www.deliwenku.com 得利文库. All Rights Reserved 黑龙江转换宝科技有限公司 

黑龙江省互联网违法和不良信息举报
举报电话:0468-3380021 邮箱:hgswwxb@163.com