VRRP application

Master/backup

In master/backup mode, only the master forwards packets, as shown in Figure 31. When the master fails, a new master is elected from among the backups. This mode requires only one VRRP group, and each router in the group has a different priority. The one with the highest priority becomes the master.

Figure 31: VRRP in master/backup mode

Assume that Router A is acting as the master to forward packets to external networks, and Router B and Router C are backups in listening state. When Router A fails, Router B and Router C elect a new master to forward packets for hosts on the subnet.

Load sharing

A router can join multiple VRRP groups and has different priorities in different VRRP groups, and it can act as the master in one VRRP group and a backup in another.

In load sharing mode, multiple VRRP groups provide gateway services. This mode requires at least two VRRP groups, and each group has one master and multiple backups. The master roles in the VRRP groups are assumed by different routers, as shown in Figure 32.

Figure 32: Load sharing of VRRP

A router can be in multiple VRRP groups and have a different priority in each group.

As shown in Figure 32, the following VRRP groups are present:

To implement load sharing among Router A, Router B, and Router C, perform the following tasks: