VRRP adresses

Hi,

In all VRRP examples you see the VRRP address in the same subnet as the routers individual IP address. But is that mandatory ?
For the connection to an external party, a /30 subnet is used, so i don’t have addresses to do so. Is the config below a valid solution to get around that ?

[Router 1]
/interface vrrp
add interface=ether1 name=vrrp1
/ip address
add address=192.168.178.11/24 interface=ether1 network=192.168.178.0
add address=10.10.10.1/30 interface=vrrp1 network=10.10.10.0

[Router 2]
/interface vrrp
add interface=ether1 name=vrrp1
/ip address
add address=192.168.178.10/24 interface=ether1 network=192.168.178.0
add address=10.10.10.1/30 interface=vrrp1 network=10.10.10.0

I don’t think there’s any such requirement. This config will work. I even skimmed through RFC and didn’t see anything against it.

@Sob, thanks, indeed it works.

Does anybody know by chance how to test the VRRP state in mikrotik script language ? I would like to doe something like :
if “vrrp_1_state = backup” then {
if “vrrp_2_state = master” then {
}
}

after some testing … the value running does not represent the fact the vrrp is enabled, but represents master (1) of backup (0)