strange vrrp behavior


#1

I have 2 Vyos routers and running vrrp. I have several VIFs and they work fine. However, I just created a new VIF with VRRP and it is visible on router 2 but not on router 1. By this, I mean show vrrp does not list the vrrp on router 1 as shown in the run show vrrp pasted below.

router 1 config:

vif 60
address 100.64.60.254/24
description test
vrrp {
vrrp-group 1 {
advertise-interval 1
preempt true
preempt-delay 20
priority 120
virtual-address 100.64.60.1
}
}

router 2 config:

vif 60
address 100.64.60.253/24
description test
vrrp {
vrrp-group 1 {
advertise-interval 1
preempt true
preempt-delay 20
priority 120
virtual-address 100.64.60.1
}
}

router 1 - show vrrp:

run show vrrp
RFC Addr Last Sync
Interface Group State Compliant Owner Transition Group


bond0.10 1 MASTER no no 21w5d11h24m3s
bond0.20 1 MASTER no no 21w5d11h24m3s
bond0.21 1 MASTER no no 21w5d11h24m3s
bond0.40 1 MASTER no no 7w4d22h25m59s
bond0.80 1 MASTER no no 21w5d11h24m3s
bond0.90 1 MASTER no no 21w5d11h24m3s
bond0.110 1 MASTER no no 10w1d4h35m17s
bond0.200 1 MASTER no no 21w5d11h24m3s
bond0.210 1 MASTER no no 21w5d11h24m3s

router 2 - show vrrp

run show vrrp
RFC Addr Last Sync
Interface Group State Compliant Owner Transition Group


bond0.10 1 BACKUP no no 7m51s
bond0.20 1 BACKUP no no 7m51s
bond0.21 1 BACKUP no no 7m51s
bond0.40 1 BACKUP no no 7m51s
bond0.60 1 MASTER no no 7m51s
bond0.80 1 BACKUP no no 7m51s
bond0.90 1 BACKUP no no 7m51s
bond0.110 1 BACKUP no no 7m51s
bond0.200 1 BACKUP no no 7m51s
bond0.210 1 BACKUP no no 7m51s

I have a server on the network and can ping both 100.64.60.254 and 100.64.60.253. I can also ping on out to the internet and the traffic flows through router 2.
If I disable the vif on router 2, then from the server, I can ping the interface address on router 1 (100.64.60.254) but nothing else.

I have restarted VRRP but that didn’t do anything. My next step is to probably reboot router 1 and if that doesn’t help, remove and reconfigure the interfaces.

Anybody have any insight or suggestions?


#2

You should not use same priority on both routers. If you want all interfases to be master on one of the routers - use sync group.

Have you checked the log on router 1 for some error messages?


#3

That was a copy/paste error in the forum message, not in the actual config. I upgraded to 1.1.8 (from 1.1.7) and rebooted and the problem is fixed. I’m pretty sure a reboot alone would have fixed it though.

Thanks for the reply.