vrrp_instance VI_1 {
interface eth1
dont_track_primary
state BACKUP
virtual_router_id 61
priority 150
advert_int 1
preempt_delay 600
garp_master_delay 1
mcast_src_ip 192.168.210.2
lvs_sync_daemon_interface eth1
track_interface {
eth0
}
authentication {
auth_type PASS
auth_pass ieMu2jea
}
virtual_ipaddress {
17.4.244.166/29 dev eth0
17.4.244.161/32 dev eth0
17.4.255.156/32 dev eth2
}
}
virtual_server 17.4.244.166 25 {
delay_loop 3
lb_algo rr
lb_kind DR
persistence_timeout 0
protocol TCP
real_server 17.4.244.162 25 {
weight 1
inhibit_on_failure
SMTP_CHECK {
host {
connect_ip 17.4.244.162
bindto 17.4.244.165
}
connect_timeout 1
retry 2
delay_before_retry 1
helo_name ha-fw2.company.net
}
}
real_server 17.4.244.163 25 {
weight 1
inhibit_on_failure
SMTP_CHECK {
host {
connect_ip 17.4.244.163
bindto 17.4.244.165
}
connect_timeout 1
retry 2
delay_before_retry 1
helo_name ha-fw2.company.net
}
}
}