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 master system for VRRP with a sync group

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

  1. Add the sync group configuration to the existing configuration for the 99 VRRP group on dp0p1p1.
    user@system# set interfaces dataplane dp0p1p1 vrrp vrrp-group 99 sync-group ALPHA
    user@system# set interfaces dataplane dp0p1p1 vrrp vrrp-group 99 sync-group ALPHA version 3
  2. Display the VRRP configuration on dp0p1p1.
    user@system# show interfaces dataplane dp0p1p1 vrrp
    vrrp {
         vrrp-group 99 {
             }
             priority 150
             sync-group ALPHA
             version 3
             virtual-address 172.16.0.24
         }
     }
  3. Create the VRRP configuration node for dp0p1p2 on R1. 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-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 150.
    user@system# set interfaces dataplane dp0p1p2 vrrp vrrp-group 101 priority 150
  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 150
             rfc-compatibility
             sync-group ALPHA
             version 3
             virtual-address 172.16.30.24
         }
     }