FHRP
FHRP
- First Hop Redundancy Protocols use a Virtual IP (VIP) and MAC addresses to allow for automated failover
- The network clients use the VIP as their Default Gateway
- If a physical gateway fails, another gateway will take over
FHRP Virtual MAC Addresses
- Virtual MAC addresses
- HSRPv1: 0.c07.acXX or 00:00:0c:07:ac:XX
- 0C7AC
- HSRPv2: 0.c9f.fXXX or 00:00:0c:9f:fX:XX
- 0C9FF
- VRRP: 0.5e00.1XX or 00:00:5e:00:01:XX
- V = 5e00
- 05e001 (Oh 5-ee hundred and 1)
- GLBP: 7.b400.XXYY or 00:07:b4:00:XX:YY
- G =/= 5, so G = b400
- 7B400
- HSRPv1: 0.c07.acXX or 00:00:0c:07:ac:XX
FHRP Multicast Addresses
- 224.0.0.2
- HSRPv1
- 224.0.0.9
- RIP
- 224.0.0.18
- VRRP
- 224.0.0.102
- GLBP
- HSRPv2
FHRP Protocols
-
Hot Standby Router Protocol (HSRP)
- #Cisco-Proprietary ; deployed in active/standby pairs
- This is what's covered in the CCNA
-
Gateway Load Balancing Protocol (GLBP)
- #Cisco-Proprietary ; supports active/active load balancing across multiple routers on the same subnet
-
FHRP-activated routers communicate with each other by sending multicast Hello messages
-
When FHRP is configured, the Virtual IP address should be configured as the default gateway for hosts
-
The active FHRP router responds to ARP requests with a virtual MAC address
-
HSRP uses Active and Standby routers
- When HSRP Standby router switches to active, it will send Gratuitous ARP messages
- The HSRP active router is determined by Highest priority, then highest IP address
- The default priority is 100
- HSRPv1
- HSRPv1 Mutlicast address is 224.0.0.2
- Virtual MAC address format: 0000.0c07.acXX
- (XX is HSRP group number)
- This can be shortened to 0.c07.acXX
- HSRPv2
- HSRPv2 Multicast address is 224.0.0.102
- Virtual MAC address format: 0000.0c9f.fXXX
- (XXX is the HSRP group number)
- This can be shortened to 0.c9f.fXXX
- (XXX is the HSRP group number)
- HSRP Commands
- Assign virtual IP
Config-if# standby (group number) ip (IP address)
- Configure priority
Config-if# standby (group number) priority (Priority number)
- Configure Preemption
Config-if# standby (group number) preempt
- Configure Version 2
Config-if# standby version 2
- Assign virtual IP
-
VRRP uses Master and Backup routers
- VRRP Multicast address is 224.0.0.18
- VRRP Virtual MAC address format is 0000.5e00.01XX
- (XX = VRRP group number)
- This can be shortened to 0.5e00.1XX
-
Gateway Load Balancing Protocol
- Load balances among multiple routers on the same subnet
- A single Active Virtual Gateway (AVG) is elected
- The AVG assigns up to four Active Virtual Forwarders (AVFs)
- GLBP - Gateway Load Balancing Protocol - Cisco Systems
- GLBP Multicast address is the same as HSRPv2, 224.0.0.102
- GLBP virtual MAC address format is 0007.b400.XXYY
- This can be shorted to 7.b400.XXYY
- (XX = GLBP group number, YY = AVF number)
- AVF = Active Virtual Forwarders
- Load balances among multiple routers on the same subnet