当前位置:网站首页>Illustrated network: what is virtual router redundancy protocol VRRP?
Illustrated network: what is virtual router redundancy protocol VRRP?
2022-07-03 00:43:00 【InfoQ】
What is? VRRP?
- English full name :Virtual Router Redundancy Protocol
- Chinese name : Virtual router redundancy protocol
- agreement :IETF – RFC 3768
- Multicast address :224.0.0.18
- Network layer protocol
- Agreement No :112
VRRP The term
- VRRP Router: function VRRP The router , May belong to one or more virtual routers .
- fictitious IP Address:IP The address is assigned as a virtual from the local subnet IP Address .
- fictitious MAC Address: At the end of hexadecimal 8 Bytes as VRRP Group number , Automatically generate a virtual MAC Address .
- Main router: The main router is selected according to priority , If VRRP One group member of the group has higher priority than other group members , Then it will be selected as the main router .
- Backup router: VRRP Only one member of the group becomes the master router , Other members will become backup routers , If the main router fails , Then one of the standby routers will become the main router .
VRRP working principle




VRRP Three states

Initialize The initial state
- Initialize Status representative VRRP Unavailable , be in Initialize The device in status cannot handle VRRP Notification message .
- When VRRP When the process is started or the device is in the active and standby state and a fault is detected , Enter the initialization state .
Master Activity status
- The router gets the virtual address .
- Undertake traffic forwarding .
Backup Backup status
- The router is starting up or ready to get the virtual address , In case of main equipment failure .
- Will not undertake traffic forwarding .
VRRP The election mechanism

Case study



- The authentication scheme of router and incoming packets is different .
- Routers and incoming packets MD5 The summary is different .
- The authentication characters on the router and the incoming packet are different .
VRRP Other little ones
VRRP preemption
VRRP edition
- VRRPv2: Support IPv4
- VRRPv3: Support IPv4 and IPv6

VRRP authentication


VRRP advantage
- VRRP Provide failover at the network gateway / redundancy .
- No single point of failure , Because the standby equipment is configured to take over when the main equipment fails .
- Failover happens quickly ( Usually in seconds ).
- VRRP For active - passive ( Lord - Backup ) To configure , It can also be configured with load balancing Active-Active To configure .
- VRRP yes IETF Open standards agreement , therefore , Multiple suppliers / Many types of devices can be VRRP Part of a group .
- The main gateway device can have multiple standby devices .
summary
- What is? VRRP?
- VRRP The term
- VRRP working principle
- VRRP Three states
- Initialize The initial state
- Master Activity status
- Backup Backup status
- VRRP The election mechanism
- Case study
- VRRP Other little ones
- VRRP preemption
- VRRP edition
- VRRP authentication
- VRRP advantage
边栏推荐
- Rust ownership (very important)
- Wechat applet obtains the information of an element (height, width, etc.) and converts PX to rpx.
- Confluence的PDF导出中文文档异常显示问题解决
- 为什么网站打开速度慢?
- NC24325 [USACO 2012 Mar S]Flowerpot
- kubernetes资源对象介绍及常用命令(五)-(NFS&PV&PVC)
- Web2.0的巨头纷纷布局VC,Tiger DAO VC或成抵达Web3捷径
- 关于Unity屏幕相关Screen的练习题目,Unity内部环绕某点做运动
- Shell implements basic file operations (cutting, sorting, and de duplication)
- 免费自媒体必备工具分享
猜你喜欢
[MCU project training] eight way answering machine
FAQ | FAQ for building applications for large screen devices
Basic use of shell script
Solution to the problem of abnormal display of PDF exported Chinese documents of confluence
MySQL 23道经典面试吊打面试官
Vulkan-性能及精细化
如何系统学习机器学习
University of Oslo: Li Meng | deep reinforcement learning based on swing transformer
图解网络:什么是虚拟路由器冗余协议 VRRP?
UART、RS232、RS485、I2C和SPI的介绍
随机推荐
百度智能云牵头打造智能云综合标准化平台
Leetcode 294. Flip game II (game theory)
Introduction and use of ftrace tool
UART、RS232、RS485、I2C和SPI的介绍
Rust所有权(非常重要)
Rust ownership (very important)
Sentry developer contribution Guide - configure pycharm
How SQLSEVER removes data with duplicate IDS
Markdown使用教程
University of Oslo: Li Meng | deep reinforcement learning based on swing transformer
Use Jenkins II job
Helm basic learning
NC50528 滑动窗口
How to find out the currently running version of Solr- How do I find out version of currently running Solr?
Array common operation methods sorting (including ES6) and detailed use
form表单实例化
ftrace工具的介绍及使用
LeedCode1480.一维数组的动态和
Automated defect analysis in electron microscopic images-论文阅读笔记
AEM: Nanlin fan Ben et al. - plant rhizosphere growth promoting bacteria control soybean blight