



免费预览已结束
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
实验七 路由器静态路由配置实验七 路由器静态路由配置 一 实验目的 1 理解路由表 2 掌握静态路由的配置 二 应用环境 1 在小规模环境里 静态路由是最佳的选择 2 静态路由开销小 但不灵活 适用于相对稳定的网络 三 实验设备 1 DCR 1751 三台 2 CR V35FC 一条 3 CR V35MT 一条 四 实验拓扑 五 实验要求 配置表 Router A Router B Router C S1 1 DCE 192 168 1 1 S 1 0 DTE 192 168 1 2 F0 0 192 168 2 2 F0 0 192 168 0 1 F0 0 192 168 2 1 E1 0 192 168 3 1 六 实验步骤 第一步 第一步 参照实验三 按照上表配置所有接口的 IP 地址 保证所有接口全部是 up 状态 测 试连通性 第二步 第二步 查看 ROUTER A 的路由表 Router A show ip route Codes C connected S static R RIP B BGP BC BGP connected D DEIGRP DEX external DEIGRP O OSPF OIA OSPF inter area ON1 OSPF NSSA external type 1 ON2 OSPF NSSA external type 2 OE1 OSPF external type 1 OE2 OSPF external type 2 DHCP DHCP type VRF ID 0 C 192 168 0 0 24 is directly connected FastEthernet0 0 直连的路由 直连的路由 C 192 168 1 0 24 is directly connected Serial1 1 直连的路由 直连的路由 第三步 第三步 查看 ROUTER B 的路由表 Router B show ip route Codes C connected S static R RIP B BGP BC BGP connected D DEIGRP DEX external DEIGRP O OSPF OIA OSPF inter area ON1 OSPF NSSA external type 1 ON2 OSPF NSSA external type 2 OE1 OSPF external type 1 OE2 OSPF external type 2 DHCP DHCP type VRF ID 0 C 192 168 1 0 24 is directly connected Serial1 0 C 192 168 2 0 24 is directly connected FastEthernet0 0 第四步 第四步 查看 ROUTER C 的路由表 Router B show ip route Codes C connected S static R RIP B BGP BC BGP connected D DEIGRP DEX external DEIGRP O OSPF OIA OSPF inter area ON1 OSPF NSSA external type 1 ON2 OSPF NSSA external type 2 OE1 OSPF external type 1 OE2 OSPF external type 2 DHCP DHCP type VRF ID 0 C 192 168 1 0 24 is directly connected Serial1 0 C 192 168 2 0 24 is directly connected FastEthernet0 0 第五步 第五步 在 ROUTER A 上 PING 路由器 C Router A ping 192 168 2 2 PING 192 168 2 2 192 168 2 2 56 data bytes 192 168 2 2 ping statistics 5 packets transmitted 0 packets received 100 packet loss 不通 不通 第六步 第六步 在路由器 A 上配置静态路由 Router A config Router A config ip route 192 168 2 0 255 255 255 0 192 168 1 2 配置目标网段和下一跳 配置目标网段和下一跳 Router A config ip route 192 168 3 0 255 255 255 0 192 168 1 2 第七步 第七步 查看路由表 Router A show ip route Codes C connected S static R RIP B BGP BC BGP connected D DEIGRP DEX external DEIGRP O OSPF OIA OSPF inter area ON1 OSPF NSSA external type 1 ON2 OSPF NSSA external type 2 OE1 OSPF external type 1 OE2 OSPF external type 2 DHCP DHCP type VRF ID 0 C 192 168 0 0 24 is directly connected FastEthernet0 0 C 192 168 1 0 24 is directly connected Serial1 1 S 192 168 2 0 24 1 0 via 192 168 1 2 注意静态路由的管理距离是 注意静态路由的管理距离是 1 S 192 168 3 0 24 1 0 via 192 168 1 2 第八步 第八步 配置路由器 B 的静态路由并查看路由表 Router B config Router B config ip route 192 168 0 0 255 255 255 0 192 168 1 1 Router B config ip route 192 168 3 0 255 255 255 0 192 168 2 2 Router B config Z Router B show ip route Codes C connected S static R RIP B BGP BC BGP connected D DEIGRP DEX external DEIGRP O OSPF OIA OSPF inter area ON1 OSPF NSSA external type 1 ON2 OSPF NSSA external type 2 OE1 OSPF external type 1 OE2 OSPF external type 2 DHCP DHCP type VRF ID 0 S 192 168 0 0 24 1 0 via 192 168 1 1 C 192 168 1 0 24 is directly connected Serial1 0 C 192 168 2 0 24 is directly connected FastEthernet0 0 S 192 168 3 0 24 1 0 via 192 168 2 2 第九步 第九步 配置路由器 C 的静态路由并查看路由表 Router C config Router C config ip route 192 168 0 0 255 255 0 0 192 168 2 1 采用超网的方法 采用超网的方法 Router C config Z Router C show ip route Codes C connected S static R RIP B BGP D DEIGRP DEX external DEIGRP O OSPF OIA OSPF inter area ON1 OSPF NSSA external type 1 ON2 OSPF NSSA external type 2 OE1 OSPF external type 1 OE2 OSPF external type 2 S 192 168 0 0 16 1 0 via 192 168 2 1 注意掩码是 注意掩码是 16 位位 C 192 168 2 0 24 is directly connected FastEthernet0 0 C 192 168 3 0 24 is directly connected Ethernet1 0 第十步 测试第十步 测试 Router C ping 192 168 0 1 PING 192 168 0 1 192 168 0 1 56 data bytes 成功 成功 192 168 0 1 ping statistics 5 packets transmitted 5 packets received 0 packet loss round trip min avg max 30 32 40 ms 七 注意事项和排错 1 非直连的网段都要配置路由 2 以太网接口要接主机或交换机才能 up 3 串口注意 DCE 和 DTE 的问题 八 配置序列 路由器 B 的序列 Router B show running config Building configuration Current configuration version 1 3 2E service timestamps log date service timestamps debug date no service password encryption hostname Router B interface FastEthernet0 0 ip address 192 168 2 1 255 255 255 0 no ip directed broadcast interface Serial1 0 ip address 192 168 1 2 255 255 255 0 no ip directed broadcast interface Async0 0 no ip address no ip directed broadcast ip
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 商业零售店租赁经营合同协议
- 酒店管理与服务合同协议书
- 广东自考考试试卷及答案
- 2025年新疆特色果树制种合同
- 2025年新材料研发行纪合同协议书
- 2025年轨道交通信号工(高级技师)资格考试题库(带答案)
- 2025年广西专业技术人员继续教育公需科目科目考试及答案
- 护理部礼仪考试题及答案
- 客户服务响应流程优化管理工具
- 入团笔试题型及答案大全
- 财务部安全生产培训报告课件
- 公司兼职人员劳务合同4篇
- 制造过程质量追溯系统设计
- 2025年能源行业新能源产业风险管理可行性研究报告
- 会计毕业论文烟草专业
- 数字文旅概论 课件全套 第1-9章 数字文旅内涵与发展背景 - 数字营销
- 井盖安全常识培训课件
- 年产5万吨电熔锆刚玉新材料扩建项目环境影响报告表
- 2025社会工作员考试(社会工作基础知识)综合能力测试题及答案
- 卫生院支委会补选书记会议记录范文
- 酸洗作业安全知识培训
评论
0/150
提交评论