



全文预览已结束
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
实验6 静态路由和默认路由 实验目的 通过本实验,需要掌握以下技能:1) 路由表的概念2) IP route 命令的使用3) 根据需求正确配置静态路由4) 根据需求使用默认路由 拓扑结构 实现1.1.1.0/24, 2.2.2.0/24, 3.3.3.0/24网络之间能互相通信 实验步骤n 步骤1:在各路由器上配置IP 地址、保证直连链路的连通性R2(config)#int loopback0 R2(config-if)#ip address 2.2.2.2 255.255.255.0 R2(config)#int s1/0 R2(config-if)#ip address 12.1.1.2 255.255.255.0 R2(config-if)#no shutdown R1(config)#int loopback0 R1(config-if)#ip address 1.1.1.1 255.255.255.0 R1(config)#int s1/0 R1(config-if)#clock rate 64000R1(config-if)#ip address 12.1.1.1 255.255.255.0 R1(config-if)#no shutdown R1(config)#int s1/1 R1(config-if)#clock rate 64000R1(config-if)#ip address 13.1.1.1 255.255.255.0 R1(config-if)#no shutdown R3(config)#int loopback0 R3(config-if)#ip address 3.3.3.3 255.255.255.0 R3(config)#int s1/1 R3(config-if)#ip address 13.1.1.3 255.255.255.0 R3(config-if)#no shutdown n 步骤2:R2 上配置静态路由R2(config)#ip route 1.1.1.0 255.255.255.0 s1/0/ 下一跳为接口形式,s1/0是点到点的链路,注意应该是R2上的s1/0R2(config)#ip route 3.3.3.0 255.255.255.0 12.1.1.1/ 下一跳为IP地址形式,12.1.1.1是R1上的IP地址n 步骤3:R1 上配置静态路由R1(config)#ip route 2.2.2.0 255.255.255.0 s1/0R1(config)#ip route 3.3.3.0 255.255.255.0 s1/1 n 步骤4:R3 上配置静态路由R3(config)#ip route 1.1.1.0 255.255.255.0 s1/1R3(config)#ip route 2.2.2.0 255.255.255.0 s1/1 实验调试n 在R2,R1,R3上查看路由表 R2#show ip routeCodes: C - connected, S - static, 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 2 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static routeGateway of last resort is not set 1.0.0.0/24 is subnetted, 1 subnetsS 1.1.1.0 is directly connected, Serial1/0 2.0.0.0/24 is subnetted, 1 subnetsC 2.2.2.0 is directly connected, Loopback0 3.0.0.0/24 is subnetted, 1 subnetsS 3.3.3.0 1/0 via 12.1.1.1 12.0.0.0/24 is subnetted, 1 subnetsC 12.1.1.0 is directly connected, Serial1/0R1#show ip routeCodes: C - connected, S - static, 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 2 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static routeGateway of last resort is not set 1.0.0.0/24 is subnetted, 1 subnetsC 1.1.1.0 is directly connected, Loopback0 2.0.0.0/24 is subnetted, 1 subnetsS 2.2.2.0 is directly connected, Serial1/0 3.0.0.0/24 is subnetted, 1 subnetsS 3.3.3.0 is directly connected, Serial1/1 12.0.0.0/24 is subnetted, 1 subnetsC 12.1.1.0 is directly connected, Serial1/0 13.0.0.0/24 is subnetted, 1 subnetsC 13.1.1.0 is directly connected, Serial1/1R3#show ip routeCodes: C - connected, S - static, 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 2 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static routeGateway of last resort is not set 1.0.0.0/24 is subnetted, 1 subnetsS 1.1.1.0 is directly connected, Serial1/1 2.0.0.0/24 is subnetted, 1 subnetsS 2.2.2.0 is directly connected, Serial1/1 3.0.0.0/24 is subnetted, 1 subnetsC 3.3.3.0 is directly connected, Loopback0 13.0.0.0/24 is subnetted, 1 subnetsC 13.1.1.0 is directly connected, Serial1/1n 在各路由器上ping其它路由器的环回口R2#ping 1.1.1.1Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:!Success rate is 100 percent (5/5), round-trip min/avg/max = 4/20/60 ms R2#ping 3.3.3.3Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 3.3.3.3, timeout is 2 seconds:.Success rate is 0 percent (0/5)R2#ping 3.3.3.3 source 2.2.2.2Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 3.3.3.3, timeout is 2 seconds:Packet sent with a source address of 2.2.2.2 !Success rate is 100 percent (5/5), round-trip min/avg/max = 12/44/92 ms【实验结论】1) 各路由器上ping loopback地址所在的直连网段都能通2) R1上ping 2.2.2.2和3.3.3.3都能通3) R2上ping 3.3.3.3和R3上ping 2.2.2.2是不通的,但R2
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 创新思维体系构建与实战应用
- 化疗药物恶心呕吐护理
- 消防资格证培训大纲
- 淘宝售后规则培训
- 2025年智能可穿戴设备柔性传感技术在养老护理中的创新解决方案
- 墙体检测培训课件
- 二级医院卒中中心建设汇报
- 文化中心装修设计与后期物业运营管理协议
- 离婚协议书贷款购房房产分割与共同购房合同示范文本
- 离婚诉讼子女抚养权及财产分割合同范本编写指南
- 《ch棘皮动物》课件
- 电气试验标准化作业指导书
- 养老机构行政值班查房记录表格
- 中国服用过兴奋剂运动员名单 兴奋剂真的是毒品吗
- 小学英语语法时态讲解与归纳
- 《生存与修炼》熊厚音讲《道德经》教学文案
- 产教融合校企合作[可修改版ppt]课件
- 练习太极拳的三个阶段
- 华为供应商质量管理体系考察报告(全)
- 冶金工业清洁生产的主要途径(共82页).ppt
- 清洁生产实施的主要方法和途径
评论
0/150
提交评论