Page MenuHomeVyOS Platform

cannot set vrrp virtual-address with /31 mask when router uses networkaddress.
Confirmed, Requires assessmentPublic

Description

cannot set vrrp virtual-address with /31 mask when router uses networkaddress.

[edit high-availability vrrp group v999-GROUP]
vyos@vyosrouter# set virtual-address 192.168.99.2/31

  Virtual address must be a valid IPv4 or IPv6 address with prefix length (e.g. 192.0.2.3/24 or 2001:db8:ff::10/64)
  Value validation failed
  Set failed

vyos@vyosrouter# set virtual-address 192.168.99.3/31
[edit high-availability vrrp group v999-GROUP]

vyos@vyosrouter# show
+interface eth2.999
+priority 116
+virtual-address 192.168.99.3/31
+vrid 12

[edit high-availability vrrp group v999-GROUP]
vyos@vyosrouter# commit
[ high-availability vrrp ]
Reloading the VRRP process

this seems to work in vyos 1.3 nightly, as it should

Details

Difficulty level
Unknown (require assessment)
Version
1.2.7
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)