HC120111006 OSPF外部路由.ppt_第1页
HC120111006 OSPF外部路由.ppt_第2页
HC120111006 OSPF外部路由.ppt_第3页
HC120111006 OSPF外部路由.ppt_第4页
HC120111006 OSPF外部路由.ppt_第5页
已阅读5页,还剩21页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、OSPF外部路由技术,Page1,前 言,本课程介绍OSPF外部路由技术。 课程内容包括AS-External-LSA和ASBR-Summary-LSA的解释,外部路由类型,外部路由的Forwarding Address属性,配置外部路由引入和汇聚,配置OSPF多进程等内容。,Page2,培训目标,学完本课程后,您应该能: 理解外部路由使用的LSA 理解外部路由类型 理解Forwarding Address属性 掌握外部路由引入的配置 掌握OSPF多进程的配置,Page3,引入外部路由,RTA,RTB,10.1.1.0/24,.1,.2,10.2.1.0/24,.1,.2,RTC,Area 0

2、,Area 1,RTD,10.3.1.0/24,.1,.2,Loopback0 10.4.1.1/24,在RTC上配置到10.4.1.0/24的静态路由,Page4,RTCdisplay ospf lsdb ase self-originate OSPF Process 1 with Router ID 3.3.3.3 Link State Database Type : External Ls id : 10.4.1.0 Adv rtr : 3.3.3.3 Ls age : 19 Len : 36 Options : E seq# : 80000001 chksum : 0 xe6ce Ne

3、t mask : 255.255.255.0 TOS 0 Metric: 1 E type : 2 Forwarding Address : 0.0.0.0 Tag : 1,生成AS-External-LSA,LSA头部,LS ID为目的网段地址,目的网段的网络掩码,Page5,RTBdisplay ospf lsdb asbr self-originate OSPF Process 1 with Router ID 2.2.2.2 Area: 0.0.0.1 Link State Database Type : Sum-Asbr Ls id : 3.3.3.3 Adv rtr : 2.2.2

4、.2 Ls age : 685 Len : 28 Options : E seq# : 80000003 chksum : 0 xcd58 Tos 0 metric: 1562,生成ASBR-Summary-LSA,LSA头部,LS ID为ASBR的Router ID,从RTB到达此ASBR的开销,Page6,RTAdisplay ospf lsdb OSPF Process 1 with Router ID 1.1.1.1 Link State Database Area: 0.0.0.1 Type LinkState ID AdvRouter Age Len Sequence Metric

5、 Router 2.2.2.2 2.2.2.2 1535 48 80000006 1562 Router 1.1.1.1 1.1.1.1 1539 48 80000005 1562 Sum-Net 10.2.1.0 2.2.2.2 1475 28 80000003 1562 Sum-Asbr 3.3.3.3 2.2.2.2 1428 28 80000003 1562 AS External Database Type LinkState ID AdvRouter Age Len Sequence Metric External 10.4.1.0 3.3.3.3 1426 36 80000003

6、 1,含有AS-External-LSA的LSDB,Page7,外部路由类型,RTA,RTB,去往N1, type=1, cost=100,去往N1, type=2, cost=20,Cost=1,Cost=1,RTC,Page8,产生次优外部路由的可能性,RTA,RTB,E0/0,10.1.1.1/24,E0/0,10.1.1.2/24,E0/0,10.1.1.3/24,Loopback0 20.1.1.1/24,Area 0,RTC,RTC不运行OSPF,配置到20.1.1.0/24的静态路由,Page9,设置Forwarding Address物理拓扑描述,RTA,RTB,E0/0,10

7、.1.1.1/24,E0/0,10.1.1.2/24,E0/0,10.1.1.3/24,Loopback0 20.1.1.1/24,Area 0,RTC,RTC不运行OSPF,配置到20.1.1.0/24的静态路由,10.1.1.0/24是一个运行OSPF的网段,Page10,RTBip route-static 20.1.1.0 24 10.1.1.3 RTB RTBdisplay ospf lsdb ase OSPF Process 1 with Router ID 2.2.2.2 Link State Database Type : External Ls id : 20.1.1.0 A

8、dv rtr : 2.2.2.2 Ls age : 67 Len : 36 Options : E seq# : 80000001 chksum : 0 x584b Net mask : 255.255.255.0 TOS 0 Metric: 1 E type : 2 Forwarding Address : 10.1.1.3 Tag : 1,设置Forwarding Address,外部路由下一跳在 OSPF路由域内,Forwarding Address 被设置成10.1.1.3,Page11,根据Forwarding Address选择最优路由,按照Forwarding Address计算

9、下一跳,RTAdisplay ip routing-table Destination/Mask Proto Pre Cost NextHop Interface 10.1.1.0/24 Direct 0 0 10.1.1.1 Ethernet0/0/0 10.1.1.1/32 Direct 0 0 127.0.0.1 InLoopBack0 20.1.1.0/24 O_ASE 150 1 10.1.1.3 Ethernet0/0/0 127.0.0.0/8 Direct 0 0 127.0.0.1 InLoopBack0 127.0.0.1/32 Direct 0 0 127.0.0.1 I

10、nLoopBack0,Page12,配置引入外部路由物理拓扑,RTA,RTB,RTC,E0/0,E0/0,E0/1,E0/0,10.1.1.1/30,.2,10.2.1.1/30,.2,Loopback0,2.2.2.2/32,Area 1,Loopback0,3.3.3.3/32,Area 0,ASBR,Page13,RTArouter id 1.1.1.1 RTAospf RTA-ospf-1area 1 RTA-ospf-1-area-0.0.0.1network 1.1.1.1 0.0.0.0 RTA-ospf-1-area-0.0.0.1network 10.1.1.0 0.0.0.

11、3 RTA-ospf-1-area-0.0.0.1return ,配置引入外部路由配置RTA和RTB,RTBrouter id 2.2.2.2 RTBospf RTB-ospf-1area 1 RTB-ospf-1-area-0.0.0.1network 2.2.2.2 0.0.0.0 RTB-ospf-1-area-0.0.0.1network 10.1.1.0 0.0.0.3 RTB-ospf-1-area-0.0.0.1quit RTB-ospf-1area 0 RTB-ospf-1-area-0.0.0.0network 10.2.1.0 0.0.0.3 RTB-ospf-1-area

12、-0.0.0.0return ,Page14,配置引入外部路由配置RTC,RTCrouter id 3.3.3.3 RTCospf RTC-ospf-1area 0 RTC-ospf-1-area-0.0.0.0network 3.3.3.3 0.0.0.0 RTC-ospf-1-area-0.0.0.0network 10.2.1.0 0.0.0.3 RTC-ospf-1-area-0.0.0.0quit RTC-ospf-1 RTC-ospf-1import-route direct RTC-ospf-1 RTC-ospf-1asbr-summary 30.1.1.0 255.255.25

13、5.0 RTC-ospf-1quit RTC,把直连路由引入OSPF,在ASBR上执行路由汇聚,Page15,RTCdisplay ospf lsdb ase self-originate OSPF Process 1 with Router ID 3.3.3.3 Link State Database Type : External Ls id : 30.1.1.0 Adv rtr : 3.3.3.3 Ls age : 64 Len : 36 Options : E seq# : 80000001 chksum : 0 x1093 Net mask : 255.255.255.0 TOS 0

14、 Metric: 2 E type : 2 Forwarding Address : 0.0.0.0 Tag : 1,配置引入外部路由验证AS-External-LSA,汇聚之后的网段,Page16,RTBdisplay ospf lsdb asbr self-originate OSPF Process 1 with Router ID 2.2.2.2 Area: 0.0.0.0 Link State Database Area: 0.0.0.1 Link State Database Type : Sum-Asbr Ls id : 3.3.3.3 Adv rtr : 2.2.2.2 Ls

15、age : 264 Len : 28 Options : E seq# : 80000001 chksum : 0 xa0a6 Tos 0 metric: 1,配置引入外部路由验证ASBR-Summary-LSA,由RTB产生,描述RTC,Page17,RTAdisplay ip routing-table Routing Tables: Public Destinations : 17 Routes : 17 Destination/Mask Proto Pre Cost NextHop Interface 1.1.1.1/32 Direct 0 0 127.0.0.1 InLoopBack

16、0 3.3.3.3/32 O_ASE 150 1 10.1.1.2 Ethernet0 10.1.1.0/24 O_ASE 150 1 10.1.1.2 Ethernet0 10.1.1.0/30 Direct 0 0 10.1.1.1 Ethernet0 10.1.1.1/32 Direct 0 0 127.0.0.1 InLoopBack0 10.2.1.0/30 OSPF 10 2 10.1.1.2 Ethernet0 10.2.1.1/32 O_ASE 150 1 10.1.1.2 Ethernet0 10.3.1.0/24 O_ASE 150 1 10.1.1.2 Ethernet0

17、 10.3.1.2/32 O_ASE 150 1 10.1.1.2 Ethernet0 10.5.1.0/30 Direct 0 0 10.5.1.1 Serial1 10.5.1.1/32 Direct 0 0 127.0.0.1 InLoopBack0 10.5.1.2/32 Direct 0 0 10.5.1.2 Serial1 20.1.1.1/32 Direct 0 0 127.0.0.1 InLoopBack0 20.1.1.2/32 Direct 0 0 127.0.0.1 InLoopBack0 30.1.1.0/24 O_ASE 150 2 10.1.1.2 Ethernet

18、0 127.0.0.0/8 Direct 0 0 127.0.0.1 InLoopBack0 127.0.0.1/32 Direct 0 0 127.0.0.1 InLoopBack0,配置引入外部路由验证RTA的路由表,Page18,配置OSPF多进程物理拓扑,Loopback0,1.1.1.1/32,RTA,RTB,RTC,Loopback0,3.3.3.3/32,E0/0,E0/0,S1,S1,Loopback0 2.2.2.2/32,10.1.1.1/30,.2,10.2.1.1/30,.2,OSPF路由域A,OSPF路由域B,Area 0,Area 0,Page19,配置OSPF多进

19、程配置RTA,RTArouter id 1.1.1.1 RTAospf RTA-ospf-1area 0 RTA-ospf-1-area-0.0.0.0network 1.1.1.1 0.0.0.0 RTA-ospf-1-area-0.0.0.0network 10.1.1.0 0.0.0.3 RTA-ospf-1-area-0.0.0.0quit RTA-ospf-1quit RTA,Page20,配置OSPF多进程配置RTB,RTBospf 1 router-id 2.2.2.2 RTB-ospf-1area 0 RTB-ospf-1-area-0.0.0.0network 10.1.1.

20、0 0.0.0.3 RTB-ospf-1-area-0.0.0.0quit RTB-ospf-1import-route direct RTB-ospf-1import-route ospf 2 RTB-ospf-1quit RTBospf 2 router-id 2.2.2.2 RTB-ospf-2area 0 RTB-ospf-2-area-0.0.0.0network 10.2.1.0 0.0.0.3 RTB-ospf-2-area-0.0.0.0quit RTB-ospf-2import-route direct RTB-ospf-2import-route ospf 1 RTB-os

21、pf-2quit RTB,把OSPF进程1的路由引入到OSPF进程2中,把OSPF进程2的路由引入到OSPF进程1中,可以为不同的进程指定不同的Router ID,Page21,配置OSPF多进程配置RTC,RTCrouter id 3.3.3.3 RTCospf 2 RTC-ospf-2area 0 RTC-ospf-2-area-0.0.0.0network 3.3.3.3 0.0.0.0 RTC-ospf-2-area-0.0.0.0network 10.2.1.0 0.0.0.3 RTC-ospf-2-area-0.0.0.0quit RTC-ospf-2quit RTC,Page22

22、,RTCdisplay ip routing-table Routing Tables: Public Destinations : 10 Routes : 10 Destination/Mask Proto Pre Cost NextHop Interface 1.1.1.1/32 O_ASE 150 1 10.2.1.1 Serial1 2.2.2.2/32 O_ASE 150 1 10.2.1.1 Serial1 3.3.3.3/32 Direct 0 0 127.0.0.1 InLoopBack0 10.1.1.0/30 O_ASE 150 1 10.2.1.1 Serial1 10.

23、1.1.1/30 O_ASE 150 1 10.2.1.1 Serial1 10.2.1.0/30 Direct 0 0 10.2.1.2 Serial1 10.2.1.1/32 Direct 0 0 10.2.1.1 Serial1 10.2.1.2/32 Direct 0 0 127.0.0.1 InLoopBack0 127.0.0.0/8 Direct 0 0 127.0.0.1 InLoopBack0 127.0.0.1/32 Direct 0 0 127.0.0.1 InLoopBack0,配置OSPF多进程验证路由表,通过其它进程学习到的路由被认为是AS外部路由,Page23,配置OSPF多进程验证LSDB,RTBdisplay ospf

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论