vrrp_instance VI_1 {
state MASTER
interface ens33
virtual_router_id 81
priority 100
advert_int 1
authentication {
auth_type PASS
auth_pass 123456
}
virtual_ipaddress {
192.168.211.151
}
}
virtual_server 192.168.211.151 6301 {
delay_loop 3
lb_algo rr
lb_kind NAT
persistence_timeout 50
protocol TCP
real_server 192.168.211.130 6101 {
weight 1
}
}
vrrp_instance VI_1 {
state BACKUP
interface ens33
virtual_router_id 81
priority 90
advert_int 1
authentication {
auth_type PASS
auth_pass 123456
}
virtual_ipaddress {
192.168.211.151
}
}
virtual_server 192.168.211.151 6301 {
delay_loop 3
lb_algo rr
lb_kind NAT
persistence_timeout 50
protocol TCP
real_server 192.168.211.130 6201 {
weight 1
}
}