当前位置:网站首页>[OSPF] comparison between rip and OSPF
[OSPF] comparison between rip and OSPF
2022-06-30 05:52:00 【Pie Daxing's good friend Dingdang cat】
Catalog
RIP Basic introduction
RIP It is a routing protocol based on routing vector algorithm , In large networks, the convergence speed is slow ( In case of failure , It takes a long time to solve the fault )、 The measurement is unscientific 、 Poor scalability and so on .
RIP Update time 30s, Aging time 180s, If the route is in 180s No refresh within , The router will think that the route has failed . The route converges through the timer .
RIP There is no neighborhood maintenance mechanism , Judge whether the path is invalid by passively waiting for route aging .
example RIP The shortcomings of
- Slow convergence
The goal is C–>A
route 1:C – B – A, need 2 jump
route 2:C – D – E – F – A, need 4 jump
C Think of the path 1 Is the optimal route
hypothesis B–A The switch between has failed ,C Failure cannot be sensed in time ,C Sent to A Of packets will still follow the path 1 Send out . At this time, packet loss will occur , wait until C Path in router 1 Reached the aging time ,C Will choose the path 2. - The measurement is unscientific
RIP Take the number of hops as a measure
Suppose the path 1 Bandwidth of each link in 1M, route 2 Bandwidth of each link in 10M
C–A The packets of will go through the path 1 - The anti ring mechanism has poor scalability
The maximum number of hops is 16 jump (16 Jump to empirical value instead of calculated ),16 A hop route is an invalid route
When the number of hops is 16 Jumping time , The router will discard the packet , But doing so limits the size of the network ,RIP The protocol cannot support networks with too large diameter
RIP Features are some of the problems that come with them
RIP characteristic | The problems brought about by |
---|---|
Hop by hop convergence | Slow convergence , Long recovery time |
Hearsay route update mechanism | Lack of understanding of global network topology |
The maximum number of valid hops is 15 | In ring networking , Make remote routes unreachable |
With “ Hops ” For measurement | There is a risk of choosing a suboptimal path |
RIP Solutions to related problems
RIP problem | A method of optimization or solution |
---|---|
Slow convergence , Long recovery time | “ Receive updates -> Calculate route -> Send updates ” Change it to “ Receive updates -> Send updates -> Calculate route ” |
Lack of understanding of the global network | Routers are based on topology information , Independent computing routing |
The maximum number of valid hops is 15 | Unlimited hops |
There is a risk of choosing a suboptimal path | Take the link bandwidth as the reference value for routing |
OSPF
comparison RIP,OSPF Changes made
- RIP: Receive updates -> Calculate route -> Send updates
OSPF: Receive updates -> Send updates -> Calculate route
RIP The routing result is passed ;OSPF Link state information transmitted
OSPF The process of calculating routes has been postponed , The process of route delivery and route calculation are decoupled . Link state LS It is the material for calculating routing ,OSPF Notified LS Link state is the material for calculating routing , Not a routing result . - The topology computer system is different
- Unlimited hops , But I will choose other ways to prevent the ring
OSPF Working process of
- Build a neighborhood
- Synchronize link state database ( Exchange status information with each other , Maintain database consistency between the two devices )
- Calculate the optimal route ( Calculated independently by each equipment )
边栏推荐
- Xi'an Jiaotong automation control theory test simulation question [standard answer]
- 超简单 STM32 RTC闹钟 时钟配置
- 强烈推荐十几款IDEA开发必备的插件
- Xiaosha's lunch
- Xi'an Jiaotong 21st autumn online expansion resources of online trade and marketing (II)
- 86. separate linked list
- At the age of 32, I fell into a middle-aged crisis and finally quit naked...
- 动态规划--怪盗基德的滑翔翼
- 炒股用指南针开户交易安全吗?
- Cisco VXLAN配置
猜你喜欢
How to create a CSR (certificate signing request) file?
Learning about functions QAQ
Database SQL language 04 subquery and grouping function
Create priority queue
Dao -- a beautiful new world?
Idea of capturing mobile terminal variant combination
雲服務器部署 Web 項目
AI大模型落地大考,浪潮交出了怎样的答卷?
[Alibaba cloud] student growth plan answers
Sword finger offer 22 The penultimate node in the linked list
随机推荐
Use of OpenCL thread algebra library viennacl
[ansible series] fundamentals -01
声网,站在物联网的“土壤”里
雲服務器部署 Web 項目
二十四、输入输出设备模型(串口/键盘/磁盘/打印机/总线/中断控制器/DMA和GPU)
Vfpbs uploads excel and saves MSSQL to the database
What kind of answer has Inspur given in the big AI model landing test?
/Path/to/ idiom, not a command
旋转框目标检测mmrotate v0.3.1入门
MySQL事物
Who is promoting the new inflection point of audio and video industry in 2022?
What are membrane stress and membrane strain
Online assignment of C language program design in the 22nd spring of Western Polytechnic University
C. Divan and bitwise operations
We strongly recommend more than a dozen necessary plug-ins for idea development
领导:谁再用 Redis 过期监听实现关闭订单,立马滚蛋!
Summary of redis learning notes (I)
8 ways to earn passive income
Finally someone can make the server so straightforward
Sword finger offer 29 Print matrix clockwise