Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

VRRP with cRPD

Overview

The Virtual Router Redundancy Protocol (VRRP) in cRPD eliminates the single point of failure in the static default route environment. VRRP dynamically assigns responisbility for a virtual router to one of the VRRP routers. The VRRP router that controls the IP address associated with the virtual router is called Master. Master forwards the packets to these IP address.

When the master router is unavailable, any of the virtual routers IP address is used as the default first hop router by end hosts.

Benefit of VRRP

Supports high availability default path without configuring dynamic routing on every end host.

How VRRP Works with cRPD?

SUMMARY This example configuration provides steps on how to configure active/back up load balancing feature using VRRP in cRPD. To achieve this support, you must configure VRRP instance with a virtual address in two cRPD containers. One as a master and other as a backup. When the failover happens the virtual address is taken by the backup router from the master router.

  1. Configure VRRP on cRPD instance 1. The virtual address is used as a next-hop for the route.
  2. Configure VRRP with track and notify script. Notify script is to trigger script execution when the VRRP state changes to master/backup. Track script is used to monitor every state transition of instance.
  3. Configure VRRP on cRPD instance 2.
  4. Configure VRRP with track and notify script.

Use the following commands to verify that cRPD1 has transitioned to backup state and that the router is backup for group ens3f1_v4_111.

Use the following commands to verify that the instance has transitioned to master state and that the router is master for group ens3f1_v4_111.