Page MenuHomeVyOS Platform

Deleting VRRP-VIP and adding the same address to physical interface in one commit fails
Open, Requires assessmentPublicBUG


If I want to move away from vrrp to just regular physical addresses in one commit, the commit succeeds, but the physical address not configured on physical int.

to reproduce:
have configured on eth1.72.
then apply these commands:

delete interface ethernet eth1 vif 72 address
set high-availability vrrp group INFRA10 interface 'eth1.72'
set high-availability vrrp group INFRA10 virtual-address ''
set high-availability vrrp group INFRA10 vrid '12'

All good, is deleted from physical, and added to vrrp vip.

However, going back to physical interfaces fails if I do this in one commit.

delete high-availability vrrp group INFRA10
set interface ethernet eth1 vif 72 address

The address appears in vyos configuration file, but it is not configured on physical interface.
Workaround is to delete interface address - commit - and readd address.

But I also noticed, if I add RFC3768 compability, it does work to go back to a address on physical int.
set high-availability vrrp group INFRA10 rfc3768-compatibility

I tested this behaviour in 1.2.3 and 1.2.7, they appear the same.


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

Event Timeline

I tested in 1.2.7 ver and the issue did not reproduce:

[email protected]# del high-availability vrrp group 20
[email protected]# set int eth eth0 vif 72 add
[email protected]# compare
[edit high-availability vrrp]
-group 20 {
-    advertise-interval 1
-    authentication {
-        password vyos
-        type plaintext-password
-    }
-    interface eth0
-    priority 200
-    virtual-address
-    vrid 10
[edit interfaces ethernet eth0]
+vif 72 {
+    address
[email protected]# commit
[ high-availability vrrp ]
Stopping the VRRP process

[email protected]# run sh ver
Version:          VyOS 1.2.7

[email protected]# run sh int
Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down
Interface        IP Address                        S/L  Description
---------        ----------                        ---  -----------
eth0                        u/u  vrrp1
eth0.72                    u/u