# # Simple script for primary-backup setups # vrrp_sync_group G1 { # must be before vrrp_instance declaration group { VI_1 VI_2 } notify_master "/etc/conntrackd/primary-backup.sh primary" notify_backup "/etc/conntrackd/primary-backup.sh backup" notify_fault "/etc/conntrackd/primary-backup.sh fault" } vrrp_instance VI_1 { interface eth1 state SLAVE virtual_router_id 61 priority 80 advert_int 3 authentication { auth_type PASS auth_pass papas_con_tomate } virtual_ipaddress { 192.168.0.100 # default CIDR mask is /32 } } vrrp_instance VI_2 { interface eth0 state SLAVE virtual_router_id 62 priority 80 advert_int 3 authentication { auth_type PASS auth_pass papas_con_tomate } virtual_ipaddress { 192.168.1.100 } }