Page MenuHomeVyOS Platform

VRRP rfc3768-compatibility doesn't work with unicast peers
Closed, ResolvedPublicBUG

Description

Expected rfc3768 address which works with a unicast peer.

VyOS configuration:

set interfaces ethernet eth0 vif 50 address '203.0.113.2/24'
set high-availability vrrp group GRP02 hello-source-address '203.0.113.2'
set high-availability vrrp group GRP02 interface 'eth0.50'
set high-availability vrrp group GRP02 no-preempt
set high-availability vrrp group GRP02 peer-address '203.0.113.1'
set high-availability vrrp group GRP02 rfc3768-compatibility
set high-availability vrrp group GRP02 virtual-address '203.0.113.254/24'
set high-availability vrrp group GRP02 vrid '10'
set high-availability vrrp group GRP02 address 203.0.113.254/32

Show interfaces:

vyos@r4-epa1:~$ show int
Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down
Interface        IP Address                        S/L  Description
---------        ----------                        ---  -----------
eth0             192.168.122.14/24                 u/u  Wan
eth0.50          203.0.113.2/24                    u/u  
                 203.0.113.254/24

Expected interface eth0.50v10

In logs:

Oct 19 15:11:37 r1-roll Keepalived_vrrp[11520]: (/run/keepalived/keepalived.conf: Line 29) (GRP02): Cannot use VMAC/ipvlan with unicast peers - clearing use_vmac

It seems some upstream “keepalived” issue
It doesn’t work even in 1.3.0-rc6
Also affected 1.3.0-epa2

Possible it was fixed here https://github.com/acassen/keepalived/commit/97429b3b7e6ec2f5b9c93a5d507b152bab30f919
in keepalived 2.2.x

Details

Difficulty level
Unknown (require assessment)
Version
VyOS 1.4-rolling-202110180513, VyOS 1.3.0-epa2
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Event Timeline

Viacheslav moved this task from Need Triage to Finished on the VyOS 1.4 Sagitta board.

Fixed for 1.4 in T4128 with update "keepalived".
In 1.3 we don't update this pkg and it still has this bug.

c-po moved this task from Need Triage to Finished on the VyOS 1.3 Equuleus ( 1.3.1) board.

Package upgraded

dmbaturin renamed this task from vrrp rfc3768-compatibility doesn't work with unicast peers to VRRP rfc3768-compatibility doesn't work with unicast peers.Mar 21 2022, 8:08 AM
dmbaturin changed Issue type from Unspecified (please specify) to Bug (incorrect behavior).