Introduction to First Hop Redundancy Protocol (FHRP)

  • Imagine that you are a device in a local network (LAN), let's call it PC1 with an IP address of 192.168.10.101.

    To communicate with devices outside your network, such as accessing websites, sending emails, or using online services, you need a default gateway.

    This default gateway is typically a router that connects your network to the outside world.

    Network diagram illustrating the need for a default gateway, introducing the concept of First Hop Redundancy Protocol (FHRP) to ensure gateway availability.

    Figure 1 – Default Gateway in a Local Network

    In this example, R1 is the router acting as your default gateway.

    You can verify this configuration using the ipconfig command on your PC:

    C:\> ipconfig
    
    Ethernet adapter Ethernet:
    
       IPv4 Address. . . . . . . . . . . : 192.168.10.101
       Subnet Mask . . . . . . . . . . . : 255.255.255.0
       Default Gateway . . . . . . . . . : 192.168.10.1

    The default gateway (192.168.10.1) allows your PC to communicate beyond your local network.

    Your device relies entirely on this default gateway to access external networks.

    Diagram showing the role of a default gateway in network communication, highlighting the importance of First Hop Redundancy Protocol (FHRP) for availability.

    Figure 2 – Internet Access Through the Default Gateway

    You successfully access the internet via the default gateway (192.168.10.1). Life is good—you can browse the web, send emails, and access external networks seamlessly.

    What Happens If the Default Gateway Fails?

    Now, imagine that R1 fails due to a hardware issue or power outage. Without a backup mechanism, your PC immediately loses connectivity to the internet and other external networks.

    Diagram showing default gateway failure without First Hop Redundancy Protocol (FHRP), resulting in network connectivity loss.

    Figure 3 – Default Gateway Fails

    At this point, you would need to manually configure your PC to use another router (if available) as the default gateway. This process is not only inconvenient but also impractical for large networks with many devices.

    This is where First Hop Redundancy Protocols (FHRP) come into play. They ensure that even if one router fails, your network remains operational without requiring any manual intervention.

    Answer the question below