Created
August 25, 2022 05:09
-
-
Save sdon2/636f62a20cff4560d0c9fb811701421e to your computer and use it in GitHub Desktop.
Default keepalived.conf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vrrp_instance VI_1 { | |
state MASTER | |
interface eth0 | |
virtual_router_id 51 | |
priority 255 | |
advert_int 1 | |
authentication { | |
auth_type PASS | |
auth_pass 12345 | |
} | |
virtual_ipaddress { | |
192.168.0.200/24 | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vrrp_instance VI_1 { | |
state BACKUP | |
interface eth0 | |
virtual_router_id 51 | |
priority 254 | |
advert_int 1 | |
authentication { | |
auth_type PASS | |
auth_pass 12345 | |
} | |
virtual_ipaddress { | |
192.168.0.200/24 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment