Vyatta Network OS Documentation

Learn how to install, configure and operate the Vyatta NOS, which helps drive our virtual networking & physical platforms portfolio.

Configure the backup system for VRRP with a sync group

An example of how to configure the backup system for VRRP with a synchronization group.

  1. Add the synchronization group configuration to the existing configuration for the 99 VRRP group on dp0p1p1.
    user@system# set interfaces dataplane dp0p1p1 vrrp vrrp-group 101 sync-group ALPHA
    user@system# set interfaces dataplane dp0p1p1 vrrp vrrp-group 101 sync-group ALPHA version 3
  2. Display the VRRP configuration on dp0p1p1.
    user@system# show interfaces dataplane dp0p1p1 vrrp
    vrrp {
         vrrp-group 101 {
             interface {
             }
             priority 20
             sync-group ALPHA
             version 3
             virtual-address 172.16.0.24
         }
     }
  3. Create the VRRP configuration node for dp0p1p2 on R2. This configuration enables VRRP on that interface. Assign the VRRP group.
    user@system# set interfaces dataplane dp0p1p2 vrrp vrrp-group 101
    user@system# set interfaces dataplane dp0p1p2 vrrp vrrp-group 101 version 3
  4. Specify the virtual address of the VRRP group.
    user@system# set interfaces dataplane dp0p1p2 vrrp vrrp-group 101 virtual-address 172.16.30.24
  5. Enable RFC 3768-compliant MAC address handling and create the VRRP interface.
    user@system# set interfaces dataplane dp0p1p2 vrrp vrrp-group 101 rfc-compatibility
  6. Set the priority of this system to 20.
    user@system# set interfaces dataplane dp0p1p2 vrrp vrrp-group 101 priority 20
  7. Add the VRRP group on dp0p1p2 to the synchronization group.
    user@system# set interfaces dataplane dp0p1p2 vrrp vrrp-group 101 sync-group ALPHA
  8. Commit the configuration.
    user@system# commit
  9. Optional: Display the configuration.
    user@system# show interfaces dataplane dp0p1p2 vrrp
    vrrp {
         vrrp-group 101 {
             priority 20
             rfc-compatibility
             sync-group ALPHA
             version 3
             virtual-address 172.16.30.24
         }
     }