Page MenuHomeVyOS Platform

Keepalived cannot use same VRID for VRRPv2 and VRRPv3
Closed, ResolvedPublicBUG

Description

While trying to configure VRRP (vyos rolling 202208291850) I get the error VRID "10" can only be used once on interface "bond0.10"! which is not completely true. Since I create 2 different groups and one has an IPv4 (VRRPv2) address while the other has an IPv6 address (VRRPv3). They can both use the same VRID because they are different protocols.

Looking at the keepalived docs this config is valid and I even see this setup being used in the field.

Details

Difficulty level
Easy (less than an hour)
Version
1.4-202208291850
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

https://github.com/vyos/vyos-1x/pull/1513

I do see I need to update the docs. Will do if this change is going to be merged.

Viacheslav changed the task status from Open to In progress.Sep 1 2022, 12:59 PM
Viacheslav assigned this task to roedie.
Viacheslav changed the task status from In progress to Needs testing.Sep 2 2022, 9:52 PM

The interface naming is incorrect after this change for the second interface with the same VRID. It breaks show int.

Please see https://github.com/vyos/vyos-1x/pull/1526

It works for me (tm)