32 lines
497 B
Plaintext
32 lines
497 B
Plaintext
global_defs {
|
|
default_interface {{ KEEPALIVED_INTERFACE }}
|
|
}
|
|
|
|
vrrp_instance VI_1 {
|
|
interface {{ KEEPALIVED_INTERFACE }}
|
|
|
|
track_interface {
|
|
{{ KEEPALIVED_INTERFACE }}
|
|
}
|
|
|
|
state BACKUP
|
|
virtual_router_id 51
|
|
priority {{ KEEPALIVED_PRIORITY }}
|
|
nopreempt
|
|
|
|
unicast_peer {
|
|
{{ KEEPALIVED_UNICAST_PEERS }}
|
|
}
|
|
|
|
virtual_ipaddress {
|
|
{{ KEEPALIVED_VIRTUAL_IPS }}
|
|
}
|
|
|
|
authentication {
|
|
auth_type PASS
|
|
auth_pass {{ KEEPALIVED_PASSWORD }}
|
|
}
|
|
|
|
{{ KEEPALIVED_NOTIFY }}
|
|
}
|