电子文档交易市场
安卓APP | ios版本
电子文档交易市场
安卓APP | ios版本

实验四动态路由协议

14页
  • 卖家[上传人]:m****
  • 文档编号:472392214
  • 上传时间:2024-02-20
  • 文档格式:DOC
  • 文档大小:282.50KB
  • / 14 举报 版权申诉 马上下载
  • 文本预览
  • 下载提示
  • 常见问题
    • 1、实验四 动态路由协议实验4.1 RIP V1 基本配置【实验名称】RIP V1 基本配置【实验目的】掌握在路由器上配置RIP V1 。【背景描述】假设校园网通过一台路由器连接到校园外的另一台路由器上,现要在路由器上做适当配置,实现校园网内部主机与校园网外部主机的相互通信。本实验以2 台R2624 路由器为例,路由器分别命名为Router1 和Router2 ,路由器之间通过串口采用V35 DCE/DTE 电缆连接,DCE 端连接到Router1 (R2624 )上。PC1 的IP 地址和缺省网关分别为172.16.1.11 和172.16.1.1 ,PC2 的IP 地址和缺省网关分别为172.16.3.22 和172.16.3.2 ,网络掩码都是255.255.255.0 。【实现功能】实现网络的互连互通,从而实现信息的共享和传递。【实验拓扑】 172.16.1.0/24 172.16.2.0/24 172.16.3.0/24 outer1 Router2 PC1 11 1 1 2 2 22 PC2 【实验设备】R2624 路由器(2 台)、V35DCE (1 根)、V35DTE (1

      2、 根)【实验步骤】第一步:在路由器Router1 上配置接口的IP 地址和串口上的时钟频率Router1(config)# interface fastethernet 0 !进入接口F0 的配置模式Router1(config-if)# ip address 172.16.1.1 255.255.255.0 !配置路由器接口F0 的IP 地址Router1(config-if)# no shutdown !开启路由器fastethernet0 接口!Router1(config)# interface serial 0 !进入接口S0 配置模式Router1(config-if)# ip address 172.16.2.1 255.255.255.0 !配置路由器接口S0 的IP 地址Router1(config-if)#clock rate 64000 !配置Router1 的时钟频率(DCE )Router1(config-if)# no shutdown !开启路由器serial 0 接口验证测试:验证路由器接口的配置和状态Router1#show ip interface

      3、briefInterface IP-Address OK? Method Status ProtocolFastEthernet0 172.16.1.1 YES manual up upFastEthernet1 unassigned YES unset administratively down downFastEthernet2 unassigned YES unset administratively down downFastEthernet3 unassigned YES unset administratively down downSerial0 172.16.2.1 YES manual down downSerial1 unassigned YES unset administratively down down注:串口Serial0 的链路层状态是down ,这是因为对端接口还没有配置。第二步:在路由器Router1 上配置RIP V1 路由协议Router1(config)# router rip !创建RIP 路由进程Router1(config-router)

      4、#network 172.16.0.0 !定义关联网络(必须是直连的主类网络地址)验证测试:验证Router1 上的RIP V1 路由表Router1#show ip routeCodes: C - connected, S - static, R - RIPO - OSPF, IA - OSPF inter areaE1 - OSPF external type 1, E2 - OSPF external type 2Gateway of last resort is not set172.16.0.0/24 is subnetted, 2 subnetsC 172.16.1.0 is directly connected, FastEthernet0C 172.16.2.0 is directly connected, Serial0第三步:在路由器Router2 上配置接口的IP 地址Router2(config)# interface fastethernet 0 !进入接口F0 的配置模式Router2(config-if)# ip address 172.16.3.2 25

      5、5.255.255.0 !配置路由器接口F0 的IP 地址Router2(config-if)# no shutdown !开启路由器fastethernet0 接口!Router2(config)# interface serial 0 !进入接口S0 配置模式Router2(config-if)# ip address 172.16.2.2 255.255.255.0 !配置路由器接口S0 的IP 地址Router2(config-if)# no shutdown !开启路由器serial 0 接口验证测试:验证路由器接口的配置和状态Router2#show ip interface briefInterface IP-Address OK? Method Status ProtocolFastEthernet0 172.16.3.2 YES manual up upFastEthernet1 unassigned YES unset administratively down downFastEthernet2 unassigned YES unset administrativ

      6、ely down downFastEthernet3 unassigned YES unset administratively down downSerial0 172.16.2.2 YES manual up upSerial1 unassigned YES unset administratively down down第四步:在路由器Router2 上配置RIP V1 路由协议Router2(config)# router rip !创建RIP 路由进程Router2(config-router)#network 172.16.0.0 !定义关联网络(必须是直连的主类网络地址)验证测试:验证Router2 和Router1 上的RIP V1 路由表Router2#show ip routeCodes: C - connected, S - static, R - RIPD - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter areaE1 - OSPF external type 1, E2 - OSPF externa

      7、l type 2Gateway of last resort is not set172.16.0.0/24 is subnetted, 3 subnetsR 172.16.1.0 120/1 via 172.16.2.1, 00:00:16, Serial0 !Router2 通过RIP 协议获得的路由C 172.16.2.0 is directly connected, Serial0C 172.16.3.0 is directly connected, FastEthernet0Router1#sh ip routeCodes: C - connected, S - static, R - RIPO - OSPF, IA - OSPF inter areaE1 - OSPF external type 1, E2 - OSPF external type 2Gateway of last resort is not set172.16.0.0/24 is subnetted, 3 subnetsC 172.16.1.0 is directly connected, FastEth

      8、ernet0C 172.16.2.0 is directly connected, Serial0R 172.16.3.0 120/1 via 172.16.2.2, 00:00:08, Serial0 !Router1 通过RIP 协议获得的路由第五步:测试网络的连通性。C: ping 172.16.3.22 !从PC1 ping PC2C: ping 172.16.1.11 !从PC2 ping PC1【注意事项】1 在串口上配置时钟频率时,一定要在电缆DCE 端的路由器上配置,否则链路不通;2 定义关联网络时,命令network 后面必须是与该路由器直连的主类网络地址。【参考配置】Router1#show running-config ! 显示路由器Router1 的全部配置Building configuration.Current configuration:!version 6.14(2)!hostname Router1!enable secret 5 $1$CT43$gMntVy1ViUeKqRfmWanw/0!ip subnet-zero! endRouter2#show running-config ! 显示路由器Router2 的全部配置Building configuration.Current configuration:!hostname Red-Giant!enable secret 5 $1$TK6E$V8xIZJ40aN1LYoUd27U45/!ip subnet-zero!interface FastEthernet0ip address 172.16.3.2 255.255.255.0!interface FastEthernet1no ip addressshutdown!interface FastEthernet2no ip addressshutdown!interface FastEthernet3no ip addressshutdown!interface Serial0ip addr

      《实验四动态路由协议》由会员m****分享,可在线阅读,更多相关《实验四动态路由协议》请在金锄头文库上搜索。

      点击阅读更多内容
    最新标签
    监控施工 信息化课堂中的合作学习结业作业七年级语文 发车时刻表 长途客运 入党志愿书填写模板精品 庆祝建党101周年多体裁诗歌朗诵素材汇编10篇唯一微庆祝 智能家居系统本科论文 心得感悟 雁楠中学 20230513224122 2022 公安主题党日 部编版四年级第三单元综合性学习课件 机关事务中心2022年全面依法治区工作总结及来年工作安排 入党积极分子自我推荐 世界水日ppt 关于构建更高水平的全民健身公共服务体系的意见 空气单元分析 哈里德课件 2022年乡村振兴驻村工作计划 空气教材分析 五年级下册科学教材分析 退役军人事务局季度工作总结 集装箱房合同 2021年财务报表 2022年继续教育公需课 2022年公需课 2022年日历每月一张 名词性从句在写作中的应用 局域网技术与局域网组建 施工网格 薪资体系 运维实施方案 硫酸安全技术 柔韧训练 既有居住建筑节能改造技术规程 建筑工地疫情防控 大型工程技术风险 磷酸二氢钾 2022年小学三年级语文下册教学总结例文 少儿美术-小花 2022年环保倡议书模板六篇 2022年监理辞职报告精选 2022年畅想未来记叙文精品 企业信息化建设与管理课程实验指导书范本 草房子读后感-第1篇 小数乘整数教学PPT课件人教版五年级数学上册 2022年教师个人工作计划范本-工作计划 国学小名士经典诵读电视大赛观后感诵读经典传承美德 医疗质量管理制度 2
    关于金锄头网 - 版权申诉 - 免责声明 - 诚邀英才 - 联系我们
    手机版 | 川公网安备 51140202000112号 | 经营许可证(蜀ICP备13022795号)
    ©2008-2016 by Sichuan Goldhoe Inc. All Rights Reserved.