当前位置:网站首页>11.5.OSPF
11.5.OSPF
2022-07-27 17:11:00 【拥抱mo mo】
动态路由协议
OSPF :开放式的最短路径优先协议。
版本:OSPFV2-IPV4 OSPFV3–IPv6
更新方式:触发更新,存在周期30min
OSPF网络需要结构化部署:
1.区域划分,2 IP地址规划。
链路状态协议的距离矢量特征:----
-区域之内传递拓扑。 区域之间传递拓扑。
cost值 =参考带宽/接口带宽。
2)ospf数据包
hello包, 用于发现建立并保活邻居关系,存在全网唯一的Router—ID用于路由器传递路由器身份标识。
DD包, Database Description数据库描述包。
LSR包,链路状态确认
LSU包 链路状态更新
LSACK 链路状态
3)OSPF状态机
down:未启动协议。启动之后发送hello包,立即进入下一状态。
init: 等待邻居回复的状态,若携带了收到的hello包,一起进入下一状态。
2-WAY表示邻居关系已建立,
条件匹配:若成功,进入下一状态,若失败,仅保活hello包。
Exstart:预启动,使用假的DD报文比较RID,大优进入下一状态。
looding 使用LAS /LSU/LSAK/获取未知的路径拓扑或路由。
Full 邻居关系建立,收敛完成。
4)ospf基本配置
ospf1 router-id 1.1.1.1//启动协议,并配置进程号,同时可以选择配置,若不配置自己选择。
宣告 1.激活接口,2发布拓扑或路由。
Network 宣告,172.16.1.0. 0.0.0.255/0.0.0.0.
反掩码
反掩码:32 位二进制,使用点分十进制的方式表示,由连续的0和连续的1构成, 若反掩码为0,表示IP对应位固定: 若为1,表示可变位。
Pre:优先级;范围0—255 静态默认60,数字越小,可信度越高,
OSPF的优先级是10,
OSPF选路规则:若去往某一个目标拥有多条路径,优先选择整条路接口COST值最小的。
6**)成为邻接关系的条件**;
点到点在网络内只能存在两个节点。-------串线
MAC (多路访问,)在一个网络范围内不设置节点。
若是点到点网络类型,则直接从邻居关系转为邻接关系。
MAC网络类型先选择DR/BDR角色,消除重复更新选择时间40 秒,其他未Orther
DR与drother 邻接关系
BDR与drother 邻接关系,
DR与DR未邻居关系
优先级选举规则,
1. 接口优先级,默认所以优先级为1
2. DR/BDR选举是非抢占的。
3. 可以通过修改设备参加选举的接口的优先级实现控制选举。
边栏推荐
- [basic knowledge of deep learning - 46] Bayesian theorem and conditional probability formula
- 【深度学习基础知识 - 37】解决正负样本不均衡 Focal Loss
- 三星将推多款RISC-V架构芯片,5G毫米波射频芯片会率先采用
- It is said that Apple plans to buy some JDI factories with us $200million
- BroadcastReceiver(广播)
- 二叉搜索树
- AutoCompleteTextView(输入框预匹配)
- MarqueeTextview(跑马灯)
- UnicodeDecodeError: ‘utf-8‘ codec can‘t decode byte 0xff in position 0: invalid start byte
- 英特尔未来10年工艺路线图曝光:2029年推出1.4nm工艺!如何实现?
猜你喜欢
随机推荐
[basic knowledge of deep learning - 42] detailed explanation of logistic regression
pytorch乘法以及广播机制
【深度学习基础知识 - 39】BN、LN、WN的比较
Uncover the mystery of Qualcomm ultrasonic fingerprint being "cracked by film"
【深度学习基础知识 - 48】贝叶斯网络的特点
Intel launched the world's smallest high-resolution lidar, priced at only $349
Intent(有无返回值得跳转)
Samsung will promote a number of risc-v architecture chips, and 5g millimeter wave RF chips will be the first to be adopted
5W bonus pool / for colleges and universities, 2022 legal science and technology innovation competition is in progress
容器总结
S32k series chips -- Introduction
Oracle 简单的高级查询
[basic knowledge of deep learning - 48] characteristics of Bayesian network
Remember an unprepared internship interview
TSMC 5nm is about to mass produce: Apple A14 monopolizes 70% of the production capacity, and Huawei Kirin 1020 takes 30%
Use of jvisualvm
A lock faster than read-write lock. Don't get to know it quickly
DNSSEC verification with dig [verify DNSSEC with dig]
Detailed explanation of the underlying data structure of redis
Oracle XE版安装与用户操作







