CCNA : HSRP

CCNA : HSRP

HSRP (Hot Standby Router Protocol), is a networking protocol used to provide high availability and redundancy for routers in a network.

HSRP is a Cisco proprietary protocol which has similar features to non proprietary protocol #VRRP.

Imagine you have a network with multiple routers that are connected to the internet. These routers are responsible for directing traffic between different devices in the network and the internet. Now, if one of these routers fails or experiences a problem, it can cause disruption in the network, leading to downtime and loss of connectivity.

To prevent such disruptions, HSRP comes into play. #HSRP allows you to set up a group of routers, where one router is designated as the primary router, and the others are standby routers. The primary router handles all the network traffic as long as it's functioning properly. However, if the primary router fails or experiences an issue, one of the standby routers will automatically take over its responsibilities and start forwarding traffic.

The standby routers continuously monitor the primary router's status using a heartbeat mechanism. If they detect that the primary router is no longer active, one of them will be elected as the new primary router, ensuring that the network remains up and running. This failover process happens seamlessly and transparently to the devices connected to the network, so they don't experience any interruption in their connectivity.

HSRP also provides a virtual IP address, which is shared among the routers in the group. This virtual IP address acts as the default gateway for devices in the network, allowing them to send and receive data. So, even if the active router changes due to a failure or other issues, the virtual IP address remains constant, and devices can continue communicating without needing to update their settings.


HSRP = Hot Standby Router Protocol = redundancy protocol for establishing a fault-tolerant default gateway. Cisco proprietary. Deployed in active/standby pair. (most common)

VRRP = Virtual Router Redundancy Protocol : Open standard. Deployed in active/standby pair. Very similar to HSRP.

GLBP = Gateway Load Balancing Protocol : Cisco propriety. Supports active/active load balancing across multiple routers.


HSRP Operations

  • HSRP = Use virtual IP (VIP) and MAC address to allow for automated gateway failover.
  • Both routers have a normal physical IP address and MAC address on their HSRP interface. Unique addresses are used on both routers.
  • ?They both also have the HSRP virtual IP and MAC address configured on the interface. The same addresses are used on both routers.
  • When they come online, one is elected the HSRP active router, the other is the standby.
  • The active router owns the virtual IP and MAC address and responds to ARP requests.
  • All traffic for the VIP goes through the active router.


R1(config)#int g0/0/0

R1(config-if)# ip address 192.168.100 255.255.255.0

R1(config-if)# no shutdown

R1(config-if)#standby 1 ip 192.168.1.1

R1(config-if)#standby 1 name HSRP_Test

R1(config-if)#standby 1 priority 110

R1(config-if)#standby 1 preempt

No alt text provided for this image


R2(config)#int g0/0/0

R2(config-if)# ip address 192.168.1.50 255.255.255.0

R2(config-if)# no shutdown

R2(config-if)#standby 1 ip 192.168.1.1

R2(config-if)#standby 1 name HSRP_Test


!!No priority setting as default is 100 – this makes R1 the priority, but if R1 goes down it R2 will take over despite having a lower priority.?


Shutting down G0/0/0/0 (Below) interface brings R2 up as redundant router.

-?????????Each router send each other hello/keep alive messages to check if the other is still up, if not then the alive router will take ownership of 192.168.1.1

No alt text provided for this image
No alt text provided for this image

Summary

HSRP helps ensure that your network remains operational even if one of the routers fails. It provides redundancy and high availability by automatically switching over to standby routers when needed, keeping the network running smoothly.

要查看或添加评论,请登录

Mark P.的更多文章

  • Layer 2 Security : 802.1x Explained Briefly

    Layer 2 Security : 802.1x Explained Briefly

    Imagine an exclusive club with a bouncer. 802.

  • Scan To Folder : Is it safe?

    Scan To Folder : Is it safe?

    Scan to folder is a feature commonly found on multifunction devices (MFDs) and printers that allows you to directly…

  • Cyber Essentials A Brief Explanation

    Cyber Essentials A Brief Explanation

    Cyber Essentials is a government-backed cybersecurity framework developed in the UK by the National Cyber Security…

  • Cyber Attack History : Marriott International

    Cyber Attack History : Marriott International

    The cyber attack on Marriott International in November 2018 was a major data breach that exposed the personal…

  • Types Of Wireless Antenna's

    Types Of Wireless Antenna's

    Wi-Fi antennas play a crucial role in wireless communication by transmitting and receiving radio frequency signals…

  • CAPWAP Explained (Briefly)

    CAPWAP Explained (Briefly)

    If you are studying for a wireless certification such as CCNP ENWLSD 300-425 you may find the below useful. Control and…

  • Microsoft Windows Registry Hives.

    Microsoft Windows Registry Hives.

    The Windows Registry is a hierarchical database used by the Microsoft Windows operating system to store configuration…

  • A Brief RAID Explanation

    A Brief RAID Explanation

    RAID (Redundant Array of Independent Disks) is a technology that combines multiple physical hard drives into a single…

    1 条评论
  • CCNA : ACL ( Video )

    CCNA : ACL ( Video )

    This brief tutorial/explanation of how ACL (Access Control Lists) work on a router or switch. Below in an analogy to…

    1 条评论
  • CCNA : Dynamic ARP Inspection

    CCNA : Dynamic ARP Inspection

    Dynamic ARP Inspection (DAI) is a security feature used in computer networks to prevent a type of cyber attack called…

社区洞察

其他会员也浏览了