Is one VRRP Group with several virtual ips on different interfaces possible?


#1

Hello!

I am running Vyos inside a vmware esxi vm. The vm has 10 ethernet interfaces (eth0…eth9) each representing a separate vlan on the attached physical switch (vmware VST mode).
On each ethernet interface is a different subnet configured. Vyos does the routing between the different subnets.

Now I would like to install a second Vyos instance on another esxi host for fail over with VRRP. Do i really have to configure one ip for each interface on each Vyos instance or is it possible to use one interface for the VRRP traffic and assign several virtual ips to different interfaces. Do i really need 10 VRRP groups, one for each interface?

Example

Vyos-1

eth0: (no ip configured)

eth9: (no ip configured)
eth10 (VRRP vlan): 192.168.10.2/24
virtual ips: 10.10.1.1/24 (eth0), 10.10.2.1/24 (eth1), …

Vyos-2

eth0: (no ip configured)

eth9: (no ip configured)
eth10 (VRRP vlan): 192.168.10.3/24
virtual ips: 10.10.1.1/24 (eth0), 10.10.2.1/24 (eth1), …

I hope someone can understand what i mean.

Regards sepo


#2

Each interface needs VRRP.
Look into sync groups, they will flip over all interfaces in the group with only single VRRP interface making the active/standby decision