当前位置:网站首页>交换机和路由器技术-27-OSPF路由重分发
交换机和路由器技术-27-OSPF路由重分发
2022-08-11 04:44:00 【w辣条小王子】
OSPF高级配置
- 路由重分发
- NSSA区域
- 虚链路
路由重分发目的
不同的自治系统的连接
1. BGP协议
2.路由重分发
需要重分发的路由
OSPF重分发到RIP、默认路由、静态路由、直连路由
基本概念
大型的企业中,可能在同一网内使用到多种路由协议,为了实现多种路由协议的协同工作,路由器可以使用路由重分发(router edistribution)将其学习到的一种路由协议的路由通过另一种路由协议广播出去,这样网络的所有部分都可以连通了。为了实现重分发,路由器必须同时运行多种路由协议,这样,每种路由协议才可以取路由表中的所有或部分其他协议的路由来进行广播
针对于重分发到OSPF自治系统内,路由的路径类型
类型1: E1
内部的代价加上外部的代价(cost值)
代价由链路的带宽来确定,带宽越高,代价越低
类型2:E2
只考虑外部的代价(cost值)
代价由链路的带宽来确定,带宽越高,代价越低

配置实例

完成本拓扑搭建,划分九个网段。为路由器接口和PC接口配上IP地址,等TCP/IP参数
第一步,划分如图的区域,按区域图先配置不同的协议
在R4 0/0上配置默认路由,并且设置ip地址作为PC0的默认网关
在R3上配置静态路由到达网段192.168.10.0 并且宣告OSPF 网段和区域
在R1上宣告网段和区域
在ISP上配置默认路由出去
在R2上配置RIP协议
在R3上完成OSPF静态路由重分发、在R1上完成OSPF默认路由重分发
在R2上完成OSP重分发rip和 rip重分发OSPF
OSPF静态路由重分发
R3(config)#router OSPF 1
R3(config-router)#redistribute static metric 100 subnets
OSPF重分发默认路由
R1(config)#router ospf 1
R1(config-router)#default-information originate
OSPF重分发RIP
R3(config)#router OSPF 1
R2(config-router)#redistribute rip metric 200 subnets
RIP重分发OSPF
R2(config)#router
R2(config)#router rip
R2(config-router)#redistribute ospf 1 metric 10

边栏推荐
- 无线电射频能量的收集
- Redis: Solve the problem of modifying the same key with distributed high concurrency
- WPF DataGrid 使用数据模板(2)
- 拼多多店铺营业执照相关问题
- 分层架构&SOA架构
- Get Qt installation information: including installation directory and various macro addresses
- 【FPGA教程案例50】控制案例2——基于FPGA的PD控制器verilog实现
- 1815. Get the maximum number of groups of fresh donuts state compression
- Licking - frog jumping steps
- Use Navicat Premium to export database table structure information to Excel
猜你喜欢

"104 Maximum Depth of Binary Trees" in LeetCode's Day 12 Binary Tree Series

LeetCode814 Math Question Day 15 Binary Tree Series Value "814 Binary Tree Pruning"

Word2021 中的图片保存后就变模糊了

findViewById返回null的问题

自研能力再获认可,腾讯云数据库入选 Forrester Translytical 报告

Harvesting of radio frequency energy

【yolov7系列三】实战从0构建训练自己的数据集
![[Likou] 22. Bracket generation](/img/f6/435fe9e0b4c1545514d1bf195ffd44.png)
[Likou] 22. Bracket generation

这些云自动化测试工具值得拥有

Embedded Sharing Collection 33
随机推荐
[Likou] 22. Bracket generation
Pinduoduo store business license related issues
Word2021 中的图片保存后就变模糊了
map和set--天然的搜索和查找语义
To break the bottleneck of transactional work, the gentleman signs the electronic contract to release the "source power" of HR!
直播软件搭建,流式布局,支持单选、多选等
Read the article, high-performance and predictable data center network
监听U盘插入 拔出 消息,获得U盘盘符
洛谷P5139 z小f的函数
Layered Architecture & SOA Architecture
Alibaba Cloud releases 3 high-performance computing solutions
.NET Custom Middleware
Map中的getOrDefualt方法
"110 Balanced Binary Tree Judgment" in leetCode's 14-day binary tree series
I wrote some code in my resume, but I still can't pass the interview
Licking - frog jumping steps
使用百度EasyDL实现森林火灾预警识别
Summary of c language fprintf, fscanf, sscanf and sprintf function knowledge points
Bubble sort and heap sort
Application of Identification Cryptography in IMS Network