For AI agents: this documentation is indexed for you in llms.txt, and all of it in /llms.txt. Every page is also available as markdown: append .md to its address.

You are reading Fast Path Provider 2.9, an older release. The newest release is 3.2. Go to 3.2

FPP VRRP enablement

FEATURE STATE: beta

VPP supports VRRP v3 RFC 5798. Using the afterCommand spec section of the VPPConfig object, it's possible to enable redundancy between VRRP peers.

To provide router redundancy, configure each VPP to be in the same virtual router (VR) group with the same ID. To avoid multicast flood within the network and the number of VRs is known, VRRP can be configured in the unicast mode. This documentation describes how to achieve this.

To allow the backup device to act as a full replicant for a master device, configure VRRP in the accept mode.

Caution

VRRP is a beta feature exposed as VPP CLI command configuration. In future FPP releases, it will be managed through a Custom Resource configuration.

Adjusting interface with virtual router address

Router redundancy expects the Virtual Router Address (Virtual IP) to be assigned to the interface that exposes it on the VRRP master node. The VRRP manages the IP address assignment in the VRRP group defined by a Virtual Router ID vr_id.

To exclude that Virtual IP from being managed by the FPP Operator, define the following configuration in VPPConfig on both master and backup nodes:

yaml

VRRP configuration on the interface

The VR configuration should include a dedicated interface in the particular VR group. Configure the group identifier (VR ID) on each VRRP peer. In the VPP configuration, VR ID is configured per interface:

bash

VRRP can use either a unicast or a multicast mode. By default, multicast VRRP advertising is used. This mode is recommended for generic deployments.

Example: VR ID 1 with priority 250 and VR Address 10.10.0.15 on the interface memif0/100:

bash

To enable VRRP in the unicast mode, an additional configuration parameter must be added:

bash

For unicast, VRRP IP address of peer is required:

bash

Example:

bash

To start the VRRP protocol with configured VR Group on the given interface, add the following CLI:

bash

Example:

bash

VPPConfig configuration

The following example provides an afterCommands list of CLI calls to perform setup on VRRP master and backup. The Virtual Router ID defines that VRRP Group should be the same for every VR.

VRRP Master

yaml

VRRP Backup

yaml