The Wayback Machine - https://web.archive.org/web/20241009165841/https://www.geeksforgeeks.org/hot-standby-router-protocol-hsrp-virtual-router-redundancy-protocol-vrrp/
Open In App

Hot Standby Router Protocol (HSRP) and Virtual Router Redundancy Protocol (VRRP)

Last Updated : 10 Nov, 2022
Summarize
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

Hot Standby Router Protocol (HSRP) is a CISCO proprietary protocol used to provide redundancy in a network. Only one router is the active router while others will be in standby state i.e the standby router will be responsible for forwarding the traffic when the active router fails. Virtual Router Redundancy Protocol (VRRP) is an open standard protocol used to provide redundancy in a network. VRRP is a network layer protocol. It uses the concept of Master and back up router i.e when the master router goes down, one of the backup routers will take up the responsibilities of the master router, that is the backup router will be responsible for forwarding the traffic until the master router comes again. Similarities –

  • Virtual IP address: Both protocol uses the concept of virtual IP address i.e one of the IP address from the subnet or the network is assigned as default gateway to the hosts of that network.
  • preempt: Preempt is a state in which the selected (active in case of HSRP and master in case of VRRP) router takes back the responsibility of forwarding the traffic from the other (standby in case of HSRP and backup in case of VRRP) routers, when it comes up again. Both the protocols have the concept of preempt.
  • object tracking: object tracking is a process that monitors the tracked objects such as the state of line protocol. The process periodically polls the tracked object and if any change is seen then the priority of backup or standby routers are increased therefore now one of these routers become active or master router.
  • priority: The router with the highest priority will become active (in HSRP) or master (in VRRP) router. Only one of the routers will be head (active router in HSRP, Master router in VRRP) while others will work as backup (standby router in HSRP, backup router in VRRP). Now, take a look at some differences of HSRP and VRRP.
HSRP VRRP
HSRP is a Cisco proprietary protocol. VRRP is an open standard protocol.
HSRP is an application layer protocol. VRRP is a network layer protocol
HSRP version 1 uses UDP port number 1985 and multicast address 224.0.0.2 and version 2 uses UDP port 1985 and 224.0.0.102 as multicast address. VRRP uses multicast address 224.0.0.18 and protocol number 112
preempt has to be enabled manually. Preempt is by default enabled in VRRP.
The hello message time and the dead time in HSRP is 3 seconds and 10 seconds respectively. In VRRP, instead of hello timer and dead timer, there is a concept of Master advertisement interval (1 second by default) and master down interval (3.069 by default).
The MAC address used in HSRP is 0000.00 07.ac0a Where 0a(here group number assumed 10)represents the HSRP group number in hexadecimal. The MAC address used in VRRP is 0000.5e00.01xx. Here, xx represents the VRRP group number.
group number range allowed on version 1 is 0-255 and version 2 is 0-4095 range allowed is from 0-255


Similar Reads

Hot Standby Router Protocol (HSRP)
Hot Standby Router Protocol (HSRP) is a CISCO proprietary protocol, which provides redundancy for a local subnet. In HSRP, two or more routers gives an illusion of a virtual router. HSRP allows you to configure two or more routers as standby routers and only a single router as an active router at a time. All the routers in a single HSRP group share
4 min read
Introduction of Virtual Router Redundancy Protocol (VRRP) and its configuration
VRRP is an open standard protocol, which is used to provide redundancy in a network. It is a network layer protocol (protocol number-112). The number of routers (group members) in a group acts as a virtual logical router which will be the default gateway of all the local hosts. If one router goes down, one of the other group members can take place
4 min read
HSRP vs VRRP vs GLBP Protocols
HSRP, VRRP, and GLBP all are First Hop Redundancy Protocols and network-layer protocols which are used to provide redundancy in the network. The main purpose of them is to provide redundancy to the default gateway in a LAN environment. Hot Standby Router Protocol (HSRP) is a CISCO proprietary protocol, that provides a mechanism that is designed to
4 min read
Difference Between Hot Reload and Hot Restart in Flutter
When we build any dart application it takes time to execute for the first time. So to resolve this problem we have two features in a flutter, namely Hot Reload and Hot restart which help to decrease the execution time of our app once we execute it. These two features help to decrease the execution time. They are far better and faster than the defau
3 min read
Network Design Principles for High Availability and Redundancy
In today's interconnected world, most businesses rely on their networks for data access, services, and uninterrupted communication. Network failures can occur due to various reasons such as hardware failure, disrupted operations, unexpected events, or software glitches. Such failures can result in downtime and financial loss. Therefore, high availa
7 min read
Difference between Data Redundancy and Data Inconsistency
Introduction In database management, two common issues often encountered are Data Redundancy and Data Inconsistency. These terms refer to different challenges that arise when handling large datasets. A well-structured database design aims to minimize both of these issues to ensure data integrity, accuracy, and efficient storage. This article will e
3 min read
Cyclic Redundancy Check in Python
Prerequisites: Know about Cyclic redundancy, Socket Programming What is CRC? CRC or Cyclic Redundancy Check is a method of detecting accidental changes/errors in the communication channel. CRC uses Generator Polynomial which is available on both sender and receiver sides. An example generator polynomial is of the form of x^3 + 1. This generator pol
6 min read
Vertical Redundancy Check (VRC) or Parity Check
Vertical Redundancy Check is also known as Parity Check. In this method, a redundant bit also called parity bit is added to each data unit. This method includes even parity and odd parity. Even parity means the total number of 1s in data is to be even and odd parity means the total number of 1s in data is to be odd. Example - If the source wants to
3 min read
Longitudinal Redundancy Check (LRC)/2-D Parity Check
Longitudinal Redundancy Check (LRC) is also known as 2-D parity check. In this method, data which the user want to send is organised into tables of rows and columns. A block of bit is divided into table or matrix of rows and columns. In order to detect an error, a redundant bit is added to the whole block and this block is transmitted to receiver.
2 min read
Hot and Cold Migrations
1. Cold Migration : A powered down Virtual Machine is carried to separate host or data store. Virtual Machine's power state is OFF and there is no need of common shared storage. There is a lack of CPU check and there is long shortage time. Log files and configuration files are migrated from the source host to the destination host. The first host’s
2 min read
Difference between Virtual function and Pure virtual function in C++
Virtual Function in C++ A virtual function is a member function which is declared within a base class and is re-defined(Overridden) by a derived class. When you refer to a derived class object using a pointer or a reference to the base class, you can call a virtual function for that object and execute the derived class’s version of the function. Pu
2 min read
Hot Spot 2.0
A wireless local area network (LAN) node that provides internet connection and virtual private network (VPN) access from a given location for users of devices with wireless connectivity is a Hot Spot. Nowadays hot spots are common in airports, libraries, hotels, coffee shops, etc. A user can connect to a hot spot manually by checking the wireless c
5 min read
Hot Wallets vs Cold Wallets in Blockchain
Cold Wallets are like a normal Wallet or purse in which one stores currency. Similarly, in cryptocurrencies wallet, cryptocurrencies like Bitcoin and Ethereum are stored. Crypto wallets interact with blockchain by interacting with a special algorithm, this algorithm generates keys for the wallets. Every cryptocurrency wallet has a public address(ke
6 min read
Difference Between Virtual Private Network (VPN) and Multi-Protocol Label Switching (MPLS)
Virtual Private Network (VPN) and Multi-Protocol Label Switching (MPLS) are two networking technologies that allow for secure and efficient data transmissions. VPN is a secure connection which is established over a public network connection enabling users to remotely access private networks with encrypted information being sent through it. On the o
6 min read
Difference between Stop and Wait protocol and Sliding Window protocol
Both the Stop and Wait protocol and the Sliding Window protocol are the techniques to the solution of flow control handling. The main difference between the Stop-and-wait protocol and the Sliding window protocol is that in the Stop-and-Wait Protocol, the sender sends one frame and waits for acknowledgment from the receiver whereas in the sliding wi
5 min read
Cisco Discovery Protocol (CDP) and Link Layer Discovery Protocol (LLDP) in Data Link Layer
Layer 2 or the Datalink layer provides physical addressing and access to media. It defines how data is to be formatted for transmission and how access to the network is to be controlled. It also provides error detection, ensuring data on higher layers is formatted correctly for transmission. Cisco Discovery Protocol (CDP) and Link Layer Discovery P
2 min read
Difference between Border Gateway Protocol (BGP) and Routing Information Protocol (RIP)
When dealing with network routing, it's crucial to understand the various protocols that help direct traffic across complex networks. Two significant protocols in this space are the Border Gateway Protocol (BGP) and the Routing Information Protocol (RIP). Each serves different purposes and operates under different principles. This article explores
5 min read
Difference between File Transfer Protocol (FTP) and Secure File Transfer Protocol (SFTP)
Data transfer is the most common task in network and system communications, and they involve transfer of files using two means i.e the File Transfer Protocol (FTP) and the Secure File Transfer Protocol (SFTP). FTP is a commonly applied protocol that enables files to be transferred through a network from one computer to another, but FTP is unsecure
5 min read
Difference between Spanning Tree Protocol (STP) and Rapid Spanning Tree Protocol (RSTP)
Spanning Tree Protocol (STP) and Rapid Spanning Tree Protocol (RSTP), are designed to avoid network loops in Ethernet. It provide loop-free logical topology. They were both designed to provide network reliability and particularly avoid broadcast radiation, but the major differences are on the rate, functionality and versatility. In this article we
5 min read
Difference between Serial Line Internet Protocol (SLIP) and Point-to-Point Protocol (PPP)
SLIP and PPP, which are the widely used serial connection techniques, help to connect the distant devices of the network. The fullform of SLIP is Session Layer Internetworking Protocol. SLIP being a primitive protocol put into use during the early connections to the Internet, when there was not much overhead. PPP is slightly more complex as the pro
6 min read
Difference between Write invalidate protocol & Write Update Protocol (Bus-Snooping )
Cache coherence becomes an issue in today’s multi processor system where all the processors are using a common memory. Two key maintained protocols to achieve this coherency through bus-snooping are the write invalidate protocol and the write update protocol. To efficiently manage memory and achieve better performance while using the operating syst
7 min read
Open shortest path first (OSPF) router roles and configuration
Prerequisite - Open shortest path first (OSPF) Open shortest path first (OSPF) is a link-state routing protocol which is used to find the best path between the source and the destination router using its own SPF algorithm. Open shortest path first (OSPF) router roles - An area is a group of contiguous networks and routers. Routers belonging to same
3 min read
Difference between Bridge and Router
Prerequisite - Network Devices Bridge is a network device, which works in data link layer. Through bridge, data or information is not stored and sent in the form of packets. Whereas Router is also a network device which works in network layer. Through router, data or information is stored and sent in the form of packets. The main difference between
2 min read
Port Forwarding on Router and Why do we need It
Router port forwarding is used to allow the remote computers to connect to a specific service or computer on a Local Area Network. Now the question is why do we need it. And we will discuss all of these things one by one. Use Cases : Suppose you are at the office and want to connect to your computer which is present in your house, the computer pres
4 min read
Difference between User Mode and Privileged Mode in Cisco Router
A router is a layer 3 device used to forward packets from one network to another. It forwards the packet through one of its ports on the basis of destination IP address and the entry in the routing table. By using a routing table, it finds an optimized path between the source and destination network. In this article we will see difference between U
3 min read
Difference Between Modem and Router
The basic difference between a Modem and a Router is that a Modem takes Internet Signals from the provider and connects it with your device and a Router takes the Internet from the modem and transfers it to your wireless devices. Both Modem and Router measure the networking devices, wherever a piece of electronic equipment connects your laptop or y
9 min read
Difference Between Router and Switch
In the sector of networking, routers, and switches are essential devices that play an important role in facilitating conversation inside and between networks. Both devices are crucial for the green and steady transfer of data, but they serve exceptional functions and operate at unique layers of the network structure. Both routers and Switch are the
6 min read
How to Access and Change Your Wi-Fi Router's Settings?
Answer: A Wi-Fi router is a device that enables wireless communication between devices like computers, mobiles, etc with a local area network or the internet. The Wi-Fi Router Settings can be changed by Accessing the Configuration of Wi-Fi Router. Steps to Access and Change Wi-Fi Router SettingsAccess the Router Settings: Firstly, we have to connec
2 min read
Difference between Router and Brouter
The networking devices facilitate communication and data transfer. Routers and brouters are two such devices, each with unique functions and capabilities. Both routers and brouters are connecting devices in networking. While both are used to connect different networks, they differ in their approach and the specific tasks they perform. This article
4 min read
Difference between Hub, Switch and Router
In computer network it is very important to understand the difference between devices like hubs, switches, and routers. These devices play an important role in how data is transferred across networks, affecting everything from speed and efficiency to security. In this article we will see basic differences between these devices, how they work within
5 min read