keepalived指定多个网卡设置vip
添加vip地址(eth0和eth1)
vrrp_instance VI_1 {
state MASTER
interface eth0
virtual_router_id 60
priority 100
advert_int 1
authentication {
auth_type PASS
auth_pass 1111
}
virtual_ipaddress {
10.89.235.41/22
10.13.16.170/25 dev eth1
}
}