当前位置:网站首页>【HCIP】OSPF 外部路由引入
【HCIP】OSPF 外部路由引入
2022-07-26 21:51:00 【Domeecky】
目录
5 类 LSA
ASBR:引入外部路由的设备
当路由器成为 ASBR 后,将在产生的 1 类 LSA 中置位 ASBR 位,标识自己为 ASBR,并将外部引入的路由转换为 5 类 LSA「External LSA」
不同路由器去往外部路由
和 ASBR 在同区域的路由器:
Cost 计算:自身到 ASBR 的 Cost + ASBR 到外部路由的 Cost
下一跳:自身到 ASBR 最短路径的下一跳
和 ASBR 在不同同区域的路由器:
Cost 计算:自身到 ABR 的 Cost + ABR 到 ASBR 的 Cost + ASBR 到外部路由的 Cost
下一跳:自身到 ABR 最短路径的下一跳
4 类 LSA
Sum-Asbr
作用:用于标识 ASBR 的位置,通告 ABR 到达 ASBR 的 Cost
如何产生:由 ABR 产生,当 4 类LSA 传递到其他区域,Adv rtr 和 Cost 将会改变
外部路由选路原则
外部路由类型分为 Type 1 和 Type 2
Type 1:累加内部 Cost
Type 2:不累加内部 Cost
(1)Type 1 优于 Type 2
(2)同为 Type 1 时比较 Cost,Cost 相同则负载
(3)同为 Type 2 时比较引入时的 Cost,再比较到达 ASBR 的 Cost,Cost 相同则负载
当管理员想让路由器自己计算最佳路径时用 Type 1;当管理员想自己控制路径时用 Type 2
1 类 > 2 类 > 3 类 > Type 1 > Type 2
FA 地址
FA 地址「Forwarding Address」
用于外部路由的路径优化
产生条件:
(1)ASBR 去往外部路由的出接口加入到了 OSPF 进程
(2)ASBR 去往外部路由的出接口不是静默接口
(3)ASBR 去往外部路由的出接口不是 P2P 或 P2MP
FA 的取值:ASBR 去往外部路由的下一跳地址
如何实现路径优化:
OSPF 路由器将 FA 地址当做去往外部路由的出口;Cost = 自身去往 FA 的 Cost + 外部路由携带的 Cost;下一跳:路由器去往 FA 地址的下一跳
import-route static type「外部路由类型」:引入静态路由
silent-interface「接口」:设置该接口为静默接口边栏推荐
- Sort out each order when you are in love (it takes two months to sort out in detail)
- Relying on metauniverse and NFT, the world shows crazy "cutting leeks"?
- Summary of shell related commands
- 由若干QWidget实现日历文档
- y78.第四章 Prometheus大厂监控体系及实战 -- prometheus的服务发现机制(九)
- 【Io开发笔记】机智云智能浇花器实战(3)-自动生成代码移植
- LeetCode 122:买卖股票的最佳时机 II
- Systemctl command
- The trailer of Samsung Galaxy Z foldable product leaked: 'flexibility is better than plane'
- Xiaobai learns MySQL - derived table
猜你喜欢

Leetcode 121: the best time to buy and sell stocks

The potential of emerging markets is unlimited, and advance.ai risk control products help Chinese offshore enterprises build a solid foundation for safe development

Cached database for memcached

2018 arXiv preprint | MolGAN: An implicit generative model for small molecular graphs

09.01 深度优先搜索

Summary of debugging stc8a8k64d4 MCU 485 communication

v-model语法糖的实现

The PRI that Hillhouse joined, including Junlian, Huakong, Shengshi, Lvdong and other 100 institutions, was killed

A chip company fell in round B

LeetCode 122:买卖股票的最佳时机 II
随机推荐
Add resource files for the project and pictures for buttons in QT
LeetCode 122:买卖股票的最佳时机 II
Embedded sig | distributed soft bus
Financial institution map
JMeter -- response Chinese garbled code processing
Embedded SIG | 分布式软总线
A few pictures help you clarify "China's financial institution system"
Sequence table implementation
[tool] apifox
Do you know why to design test cases after learning so long about use case design
shell相关命令总结
DTS搭载全新自研内核,突破两地三中心架构的关键技术|腾讯云数据库
Cached database for memcached
【Qt多线程之线程的等待和唤醒】
Alibaba three sides: how to solve the problems of MQ message loss, duplication and backlog?
Promise me, don't write shit code after reading it..
Liepin questionnaire star has become a "parasite" on wechat
基于gRPC编写golang简单C2远控
2022 latest Tibet Construction Safety Officer simulation question bank and answers
Excel-vba quick start (XI. Common string operations)