请输入您要查询的百科知识:

 

词条 Hot Standby Router Protocol
释义

  1. Operation

  2. Version 2

  3. See also

  4. References

  5. Further reading

  6. External links

{{short description|Network system for establishing a fault-tolerant default gateway}}

In computer networking, the Hot Standby Router Protocol (HSRP) is a Cisco proprietary redundancy protocol for establishing a fault-tolerant default gateway. Version 1 of the protocol was described in {{IETF RFC|2281}} in 1998. There is no RFC for version 2 of the protocol.

The protocol establishes an association between gateways in order to achieve default gateway failover if the primary gateway becomes inaccessible. HSRP gateways send multicast hello messages to other gateways to notify them of their priorities (which gateway is preferred) and current status (active or standby).

Operation

The primary router with the highest configured priority will act as a virtual router with a pre-defined gateway IP address and will respond to the ARP or ND request from machines connected to the LAN with a virtual MAC address. If the primary router should fail, the router with the next-highest priority would take over the gateway IP address and answer ARP requests with the same MAC address, thus achieving transparent default gateway failover.

HSRP version IP Protocol Group address UDP Port Virtual MAC address range
1 IPv4 224.0.0.2 (all routers)[1] 1985 00:00:0c:07:ac:XX
2 IPv4 224.0.0.102 (HSRP)[1] 1985 00:00:0c:9f:fX:XX
IPv6 ff02::66 2029 00:05:73:a0:0X:XX

In the virtual MAC address, Xs represent the group ID in hex.

HSRP is not a routing protocol as it does not advertise IP routes or affect the routing table in any way.

HSRP has the ability to trigger a failover if one or more interfaces on the router go down. This can be useful for dual branch routers each with a single link back to the gateway. If the link of the primary router goes down, the backup router will take over the primary functionality and thus retain connectivity to the gateway.

Version 2

Version 2 of the protocol introduces stability, scalability and diagnostic improvements. It is not compatible with version 1 HSRP.[1] There is no RFC for version 2 of the protocol.

  • Provides IPv6 support
  • Authentication removed (proven to be problematic, and inefficient security).
  • Increases the number of HSRP groups from 256 to 4096

See also

  • Virtual Router Redundancy Protocol - standards-based alternative to HSRP
  • Gateway Load Balancing Protocol - Cisco proprietary router redundancy solution providing load balancing
  • Common Address Redundancy Protocol - open source, patent-free and unrestricted alternative to HSRP and VRRP
  • First-hop redundancy protocols - List of default gateway redundancy protocols

References

1. ^{{citation |url=http://www.cisco.com/c/en/us/td/docs/ios-xml/ios/ipapp_fhrp/configuration/15-mt/fhp-15-mt-book/fhp-hsrp-v2.html |title=First Hop Redundancy Protocols Configuration Guide, Cisco IOS Release 15M&T |publisher=Cisco Systems |accessdate=2016-05-28}}

Further reading

  • {{Cite web |url=http://www.szukalak.ovh.org/ |title=Configuration of HSRP® Protocol on the sample network topology |last1=Gruszczyk |first1=Katarzyna |last2=Szukała |others=Supervised and led by Dawid Mentel. |first2=Krzysztof |archive-url=https://web.archive.org/web/20090606064844/http://www.szukalak.ovh.org/ |dead-url=yes |archive-date=2009-06-06}}

External links

  • Cisco: HSRP Features

2 : Cisco protocols|First-hop redundancy protocols

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/11/17 7:16:06