VRRP with VLANS

Hi,

I have VyOS router connected to a trunk port which I’m currently using for routing between my VLANs. I would like to introduce a second router in the setup and configure to use VRRP on the VLAN interfaces. Is such thing possible? I did not manage to find any example of such configuration.

Currently, I’m able to use VRRP on the main interface (eth1), but not on the VIF (eth1.10).

I’m using VyOS version 1.1.7.

Here’s my config (router #1):

ethernet eth1 { address 10.16.1.1/24 description INSIDE duplex auto speed auto vif 10 { address 10.16.10.1/24 description "VLAN 10 office" } vrrp { vrrp-group 1 { advertise-interval 1 preempt true priority 150 virtual-address 10.16.1.10/24 } } }

Thank you

Router1 (Master)

    vif 10 {
        address 10.16.10.2/24
        description "VLAN 10 office"
        vrrp {
            vrrp-group 10 {
                advertise-interval 1
                preempt true
                priority 150
                sync-group SG1
                virtual-address 10.16.10.1/24
            }
        }
    }

Router2
vif 10 {
address 10.16.10.3/24
description “VLAN 10 office”
vrrp {
vrrp-group 10 {
advertise-interval 1
preempt true
priority 20
sync-group SG1
virtual-address 10.16.10.1/24
}
}
}