FHRP and HSRP: the virtual gateway and basic configuration
Sign in to read this lesson
A computer has only one default gateway configured; if that router crashes, the computer can't get out of its own subnet. FHRP (First Hop Redundancy Protocol) solves this with a virtual gateway. A virtual gateway with its own IP address is created between two routers, and the computer uses it as its default gateway. One router is active, and if it fails the other takes over. Three protocols can create a virtual gateway: HSRP, VRRP and GLBP. HSRP is Cisco proprietary and is configured on the interface with standby group ip. The MAC address is virtual too: 0000.0c07.acXX.
What you will learn
- A computer has only one default gateway. If that router crashes, the computer can't get out of its own subnet.
- The FHRP (First Hop Redundancy Protocol) solution: a virtual gateway with its own IP address between the routers. The computer uses it as its gateway; one router is active, and if it fails the other takes over.
- 3 protocols create a virtual gateway: HSRP (Hot Standby Router Protocol, Cisco proprietary), VRRP (Virtual Router Redundancy Protocol), GLBP (Gateway Load Balancing Protocol).
- HSRP configuration:
standby 1 ip 192.168.1.3on the interface. 1 = the group number (must be the same on both routers), 192.168.1.3 = the virtual IP. - The HSRPv1 virtual MAC address: 0000.0c07.acXX (XX = group number, hex). Verify with
show standby: virtual IP/MAC, active/standby router, hello 3 s, hold 10 s.
The lesson has 5 key points, an explanation and 5 questions. It opens with a package.