Create keepalived_backup_standby_config

This commit is contained in:
kodlz 2022-10-14 23:07:03 +02:00 committed by GitHub
parent eb644b7fe9
commit b866962609
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,37 @@
global_defs {
router_id pihole-dns-02
script_user root
enable_script_security
}
vrrp_script chk_ftl {
script "/etc/scripts/chk_ftl"
interval 1
weight -10
}
vrrp_instance PIHOLE {
state BACKUP
interface eth0
virtual_router_id 55
priority 145
advert_int 1
unicast_src_ip 192.168.1.12
unicast_peer {
192.168.1.11
}
authentication {
auth_type PASS
auth_pass xxXXxxXX
}
virtual_ipaddress {
192.168.1.20/24
}
track_script {
chk_ftl
}
}