i will use vyos as ha router and dns setup for our internal projects.
At the moment I will build a PoC
Here in the documentation will be use virtual-address but in the latest vyos version will be used only address. Can be someone correct the documentation?
Be aware that you may also find some differences, since 1.4 cli and features is constantly evolving, and sometimes docs are not updated that fast.
But at least, now you should be reading instructions for proper version.
FYI, this is what I am using in a pretty recent 1.4 rolling (VyOS 1.4-rolling-202110020217) for having 2 Vyos instances that will automatically failover my “10.10.1.1” router address. In my case eth1 is my internal network interface.
The conntrack sync is a in different part of the documentation. Without it, I tested switching gateways during active Zoom calls and only experienced very brief momentary pauses. With conntrack sync, active Zoom calls did not even hiccup! Very cool!
Good luck!
set high-availability vrrp group Foo address '10.10.1.1/24'
set high-availability vrrp group Foo description 'Gateway sync'
set high-availability vrrp group Foo interface 'eth1'
set high-availability vrrp group Foo vrid '10'
set high-availability vrrp sync-group 'sync' member 'Foo'
set service conntrack-sync accept-protocol 'tcp'
set service conntrack-sync accept-protocol 'udp'
set service conntrack-sync accept-protocol 'icmp'
set service conntrack-sync event-listen-queue-size '8'
set service conntrack-sync failover-mechanism vrrp sync-group 'sync'
set service conntrack-sync interface eth1
set service conntrack-sync mcast-group '224.0.0.50'
set service conntrack-sync sync-queue-size '8'