Not for all config-sections it makes sense, to sync it 1:1 to the peer. Example:
vyos@vyos-a# show service config-sync
mode load
secondary {
address 192.168.13.3
key xxxxxxxxx
}
section {
service {
dhcp-server
}
}
[edit]
vyos@vyos-a# show service dhcp-server high-availability
name sync1
remote 192.168.13.3
source-address 192.168.13.2
status primary
[edit]vyos@vyos-b# show service dhcp-server high-availability name sync1 remote 192.168.13.3 source-address 192.168.13.2 status primary [edit]
Of course, the dhcp-server high-availability will not work, until we swap remote, and source-address manually on vyos-b. Maybe this could be done automatically during the config-sync?