



全文预览已结束
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
LAB.10动态路由协议-单域OSPF配置实验目的:1. 理解动态路由协议OSPF的内容; 2. 理解OSPF等链路状态协议的算法处理过程; 3. 掌握OSPF的基本配置,并与距离失量协议的配置过程相比较; 4. 掌握DR和BDR,手动配置DR、BDR。 实验拓扑如下实验过程:R1配置如下:R1(config)#interface Loopback0R1(config-if)#ip address 1.1.1.1 255.255.255.255R1(config-if)#interface FastEthernet0/0R1(config-if)#ip address 172.16.13.1 255.255.255.0R1(config-if)#interface Serial1/0R1(config-if)#ip address 172.16.12.1 255.255.255.0R1(config-if)#clock rate 64000R1(config)#router ospf 110OSPF路由配置模式,进程号为110R1(config-router)#router-id 1.1.1.1定义路由器IDR1(config-router)#network 1.1.1.1 0.0.0.0 area 0向全网通告1.1.1.1,并定义这个地址在区域0内R1(config-router)#network 172.16.12.0 0.0.0.255 area 0向全网通告172.16.12.0这个网段,并定义这个网段在区域0内R1(config-router)#network 172.16.13.0 0.0.0.255 area 0R2配置如下:R2(config)#interface Loopback0R2(config-if)#ip address 2.2.2.2 255.255.255.255R2(config-if)#interface Serial1/0R2(config-if)#ip address 172.16.12.2 255.255.255.0R2(config-if)#clock rate 64000R2(config-if)#interface Serial1/1R2(config-if)#ip address 172.16.23.2 255.255.255.0R2(config-if)#clock rate 64000R2(config)router ospf 110R2(config-router)#router-id 2.2.2.2R2(config-router)#network 2.2.2.2 0.0.0.0 area 0R2(config-router)#network 172.16.12.0 0.0.0.255 area 0R2(config-router)#network 172.16.23.0 0.0.0.255 area 0R3配置如下:R3(config)#interface Loopback0进入接口配置模式,配置一个环回口R3(config-if)#ip address 3.3.3.3 255.255.255.255R3(config-if)#interface FastEthernet0/0R3(config-if)#ip address 172.16.13.2 255.255.255.0R3(config-if)#interface Serial1/1R3(config-if)#ip address 172.16.23.1 255.255.255.0R3(config-if)#clock rate 64000R3(config)#router ospf 110R3(config-router)#router-id 3.3.3.3R3(config-router)#network 3.3.3.3 0.0.0.0 area 0R3(config-router)#network 172.16.13.0 0.0.0.255 area 0R3(config-router)#network 172.16.23.0 0.0.0.255 area 0查看R1、R2、R3路由表R1#show ip route Codes: 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/32 is subnetted, 1 subnetsC 1.1.1.1 is directly connected, Loopback0 2.0.0.0/32 is subnetted, 1 subnetsO 2.2.2.2 110/65 via 172.16.12.2, 00:05:53, Serial1/0 3.0.0.0/32 is subnetted, 1 subnetsO代表OSPF的路由表项,从本地端口Serial1/0学到的目标网络为2.2.2.2的路由,建立邻居时间为05:53O 3.3.3.3 110/2 via 172.16.13.2, 00:05:53, FastEthernet0/0 172.16.0.0/24 is subnetted, 3 subnetsO 172.16.23.0 110/65 via 172.16.13.2, 00:05:53, FastEthernet0/0C 172.16.12.0 is directly connected, Serial1/0C 172.16.13.0 is directly connected, FastEthernet0/0R2#show ip route Codes: 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/32 is subnetted, 1 subnetsO 1.1.1.1 110/65 via 172.16.12.1, 00:06:12, Serial1/0 2.0.0.0/32 is subnetted, 1 subnetsC 2.2.2.2 is directly connected, Loopback0 3.0.0.0/32 is subnetted, 1 subnetsO 3.3.3.3 110/65 via 172.16.23.1, 00:06:12, Serial1/1 172.16.0.0/24 is subnetted, 3 subnetsC 172.16.23.0 is directly connected, Serial1/1C 172.16.12.0 is directly connected, Serial1/0O 172.16.13.0 110/65 via 172.16.12.1, 00:06:12, Serial1/0 110/65 via 172.16.23.1, 00:06:12, Serial1/1R3#show ip route Codes: 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/32 is subnetted, 1 subnetsO 1.1.1.1 110/2 via 172.16.13.1, 00:06:33, FastEthernet0/0 2.0.0.0/32 is subnetted, 1 subnetsO 2.2.2.2 110/65 via 172.16.23.2, 00:06:33, Serial1/1 3.0.0.0/32 is subnetted, 1 subnetsC 3.3.3.3 is directly connected, Loopback0 172.16.0.0/24 is subnetted, 3 subnetsC 172.16.23.0 is directly connected, Serial1/1O 172.16.12.0 110/65 via 172.16.13.1, 00:06:33, FastEthernet0/0C 172.16.13.0 is directly connected, FastEthernet0/0在R1、R2查看DR、BDRR1#show ip ospf neighbor查看OSPF的邻居 Neighbor ID Pri State Dead Time Address Interface2.2.2.2 0 FULL/ - 00:00:3
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 智能电池管理系统设计与应用研究-洞察阐释
- 网络平台数据安全服务合同协议
- 旅游景区特色摊位长期租赁转让合同
- 小学五年级红领巾广播稿
- 茶叶品牌加盟店管理合作协议
- 高新技术产品采购合同中知识产权专属条款
- 2025船舶买卖合同协议书范本
- 2025餐饮设备采购与安装合同书
- 2025新软件定制开发合同范本
- 对口第七类面试题目及答案
- 血液透析患者饮食指导
- 脱硫塔玻璃鳞片胶泥衬里施工组织设计
- XB/T 505-2011汽油车排气净化催化剂载体
- GB/T 3672.2-2002橡胶制品的公差第2部分:几何公差
- GB/T 27744-2021异步起动永磁同步电动机技术条件及能效分级(机座号80~355)
- GB 8076-2008混凝土外加剂
- 宝盾转门故障代码
- 【课件】草原上的小木屋
- DB63-T 241-2021草地毒害草综合治理技术规范
- 高层建筑施工基坑工程勘察及支护结构选型培训
- 四年级上册音乐课件-活动 欢腾的那达慕 人教版(简谱) (共17张PPT)
评论
0/150
提交评论