当前位置:网站首页>交换机和路由器技术-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
边栏推荐
- 1815. 得到新鲜甜甜圈的最多组数 状态压缩
- send_sig: kernel execution flow
- MySQL database storage engine and database creation, modification and deletion
- "125 Palindrome Verification" of the 10th day string series of LeetCode brushing questions
- 0 Basic software test for career change, self-study for 3 months, 12k*13 salary offer
- Get Qt installation information: including installation directory and various macro addresses
- 洛谷P4061 大吉大利,晚上吃鸡
- 《卫星界》刊评“星辰大海”计划:孙宇晨为太空旅游带来新的机遇
- 走出迷宫的最短路径
- 无线电射频能量的收集
猜你喜欢
LeetCode814 Math Question Day 15 Binary Tree Series Value "814 Binary Tree Pruning"
洛谷P2150 寿司晚宴
Jetson Orin平台4-16路 GMSL2/GSML1相机采集套件推荐
我的LaTeX入门
Overview of the JVM garbage collection and mechanism
网络安全培训机构哪家好?排名怎么选择?
Read the article, high-performance and predictable data center network
Harvesting of radio frequency energy
【组成原理 九 CPU】
es-head plugin insert query and conditional query (5)
随机推荐
使用百度EasyDL实现森林火灾预警识别
JwsManager service interface implementation class - the jni implementation
0 Basic software test for career change, self-study for 3 months, 12k*13 salary offer
校园兼职平台项目反思
澳大利亚网络空间安全体系建设论析
Jetson Orin平台4-16路 GMSL2/GSML1相机采集套件推荐
Events and scheduled tasks in Mysql
ALSA音频架构 -- snd_pcm_open函数分析
LeetCode814 Math Question Day 15 Binary Tree Series Value "814 Binary Tree Pruning"
洛谷P2580 于是他错误的点名开始了
《卫星界》刊评“星辰大海”计划:孙宇晨为太空旅游带来新的机遇
【人话版】WEB3将至之“权益的游戏”
What is machine learning?Explain machine learning concepts in detail
.NET service registration
Self-research capability was recognized again, and Tencent Cloud Database was included in the Forrester Translytical report
【ImageNet】数据集1000个类的名称
Mysql:设置主键自动增长起始值
ALSA音频架构
[Web3 series development tutorial - create your first NFT (9)] How to view your NFT in the mobile wallet
What is Machine Reinforcement Learning?What is the principle?