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