当前位置:网站首页>图解网络:什么是虚拟路由器冗余协议 VRRP?
图解网络:什么是虚拟路由器冗余协议 VRRP?
2022-07-02 23:39:00 【InfoQ】
什么是VRRP?
- 英文全称:Virtual Router Redundancy Protocol
- 中文名称:虚拟路由器冗余协议
- 协议:IETF – RFC 3768
- 组播地址:224.0.0.18
- 网络层协议
- 协议号:112
VRRP术语
- VRRP 路由器:运行 VRRP 的路由器,可能属于一个或多个虚拟路由器。
- 虚拟 IP 地址:IP 地址被分配为来自本地子网的虚拟 IP 地址。
- 虚拟MAC地址:以十六进制的最后8个字节作为VRRP组号,自动生成一个虚拟MAC地址。
- 主路由器:主路由器是根据优先级选出的,如果 VRRP 组的某个组成员的优先级高于其他组成员,则它将被选为主路由器。
- 备份路由器: VRRP 组成员中只有一个成为主路由器,其他成员将成为备份路由器,如果主路由器发生故障,则其中一个备用路由器将成为主路由器。
VRRP工作原理




VRRP三种状态

Initialize 初始状态
- Initialize状态代表VRRP 不可用,处于 Initialize 状态的设备无法处理 VRRP 通告报文。
- 当 VRRP 进程启动时或者设备处于主备状态并检测到故障时,进入初始化状态。
Master 活动状态
- 路由器获取到虚拟地址。
- 承担流量转发。
Backup 备份状态
- 路由器正在启动或准备好获取虚拟地址,以防主设备出现故障。
- 不会承担流量转发。
VRRP选举机制

案例



- 路由器和传入数据包的身份验证方案不同。
- 路由器和传入数据包的 MD5 摘要不同。
- 路由器和传入数据包上的验证字符不同。
VRRP其他小点
VRRP抢占
VRRP 版本
- VRRPv2:支持 IPv4
- VRRPv3:支持 IPv4 和 IPv6

VRRP认证


VRRP优点
- VRRP 在网络网关处提供故障转移/冗余。
- 没有单点故障,因为备用设备配置为在主设备发生故障时接管。
- 故障转移发生得很快(通常在几秒钟内)。
- VRRP 用于主动-被动(主-备份)配置,也可以配置为具有负载平衡的 Active-Active 配置。
- VRRP 是 IETF 开放标准协议,因此,多个供应商/多种类型的设备可以成为 VRRP 组的一部分。
- 主网关设备可以有多个备用设备。
总结
- 什么是VRRP?
- VRRP术语
- VRRP工作原理
- VRRP三种状态
- Initialize 初始状态
- Master 活动状态
- Backup 备份状态
- VRRP选举机制
- 案例
- VRRP其他小点
- VRRP抢占
- VRRP 版本
- VRRP认证
- VRRP优点
边栏推荐
- 程序分析与优化 - 9 附录 XLA的缓冲区指派
- NC50528 滑动窗口
- kubernetes编写yml简单入门
- 百数不断创新,打造自由的低代码办公工具
- [shutter] Introduction to the official example of shutter Gallery (project introduction | engineering construction)
- 详解用OpenCV的轮廓检测函数findContours()得到的轮廓拓扑结构(hiararchy)矩阵的意义、以及怎样用轮廓拓扑结构矩阵绘制轮廓拓扑结构图
- Overlay of shutter (Pop-Up)
- What is the standard format of a 2000-3000 word essay for college students' classroom homework?
- pod生命周期详解
- How SQLSEVER removes data with duplicate IDS
猜你喜欢
![[IELTS reading] Wang Xiwei reading P1 (reading judgment question)](/img/ee/540661fcb2cf1cf1eb15e2026c997a.png)
[IELTS reading] Wang Xiwei reading P1 (reading judgment question)

Confluence的PDF导出中文文档异常显示问题解决

University of Toronto: Anthony coach | the conditions of deep reinforcement learning can induce dynamic risk measurement
![[MCU project training] eight way answering machine](/img/a3/6a50619cd16269bf485a4a273677aa.jpg)
[MCU project training] eight way answering machine

Multiprocess programming (I): basic concepts

如何系统学习机器学习

mm中的GAN模型架构

Which websites can I search for references when writing a thesis?

布隆过滤器

Attributeerror: 'tuple' object has no attribute 'layer' problem solving
随机推荐
Extension of flutter
node_modules删不掉
Feature Engineering: summary of common feature transformation methods
如何系统学习机器学习
Form form instantiation
ftrace工具的介绍及使用
What is the standard format of a 2000-3000 word essay for college students' classroom homework?
Linux Software: how to install redis service
多进程编程(五):信号量
helm 基础学习
LeedCode1480.一维数组的动态和
About the practice topic of screen related to unity screen, unity moves around a certain point inside
Is there a specific format for English papers?
Nc17059 queue Q
Nc50528 sliding window
maya渔屋建模
Hundreds of continuous innovation to create free low code office tools
Wechat applet obtains the information of an element (height, width, etc.) and converts PX to rpx.
One of the reasons why setinterval timer does not take effect in ie: the callback is the arrow function
程序分析与优化 - 9 附录 XLA的缓冲区指派