Vyatta NOS documentation

Learn how to install, configure, and operate Vyatta Network Operating System (Vyatta NOS), which helps to drive our virtual networking and physical platforms portfolio.

Enable VRRP for the master system (IPv4)

An example of how to enable VRRP version 3 on the master system for IPv4.

This task shows you how to enable VRRP version 3 on the dp0p1p1 interface of the master system (R1) and assign it to the 99 VRRP group.
  • The virtual address is 172.16.0.24/24
  • Preemption is enabled
  • R1 is assigned a priority of 150
  • The VRRP interface is defined to enable RFC-compliant MAC address handling
  1. Create the VRRP configuration node for dp0p1p1 on R1. This configuration enables VRRP on that interface. Assign the VRRP group and protocol version.
    user@system# set interfaces dataplane dp0p1p1 vrrp vrrp-group 99
    user@system# set interfaces dataplane dp0p1p1 vrrp vrrp-group 99 version 3
  2. Specify the virtual address of the VRRP group.
    user@system# set interfaces dataplane dp0p1p1 vrrp vrrp-group 99 virtual-address 172.16.0.24
  3. Enable RFC-compliant MAC address handling and create the VRRP interface.
    user@system# set interfaces dataplane dp0p1p1 vrrp vrrp-group 99 rfc-compatibility
  4. Enable preemption.
    user@system# set interfaces dataplane dp0p1p1 vrrp vrrp-group 99 preempt true
  5. Set the priority of this system to 150.
    user@system# set interfaces dataplane dp0p1p1 vrrp vrrp-group 99 priority 150
  6. Commit the configuration.
    user@system# commit
  7. Optional: Display the configuration.
    user@system# show interfaces dataplane dp0p1p1 vrrp
    vrrp {
         vrrp-group 99 {
             priority 150
             rfc-compatibility
             version 3
             virtual-address 172.16.0.24
         }
     }
VRRP version 3 is enabled on the master system for IPv4.