# sample config.rc file service network eth0 # pppoe # an ip address is needed to attach to multicast ip address 192.168.200.1/24 vrrp id 50 vrrp garp 10 service network eth1 ip address 192.168.254.1/24 vrrp id 51 vrrp address 192.168.254.2 service network eth2 ip address 192.168.253.1/24 ip address 192.168.252.1/24 ip route 192.0.0.0/24 192.168.253.10 vrrp id 52 vrrp prio 250 vrrp address 192.168.254.254 vrrp address 192.168.252.254 service vrrp router #### Warning! VRRP must be started AFTER syslogd ! # group ... : enable VRRP on these interfaces # only_vrrp : only enable VRRP, not LVS # only_check : only enable checks, not VRRP, nor LVS # notify : call this program on every state change # track_svc : track this service process's presence # track_mgt : track this management process's presence # track_inter_svc : check service processes this every seconds # track_inter_mgt : check management processes this every seconds # track_weight_if : apply this weight to interfaces (default -6) # track_weight_svc : apply this weight to services (default 8) # track_weight_mgt : apply this weight to management (default 2) # Service disabled by defaults using the "no autostart" statement only_vrrp group eth1 eth2 track_svc haproxy track_mgt sshd wui notify "/sbin/vrrp_notify"