File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -11,4 +11,7 @@ PRIORITY=100
1111ROUTER_ID = 52
1212VIRTUAL_IPS = 192.168.1.100/24
1313UNICAST_SRC_IP = 192.168.1.101
14- UNICAST_PEERS = 192.168.1.102
14+ UNICAST_PEERS = 192.168.1.102
15+ WEIGHT = 50
16+ FALL = 2
17+ RISE = 2
Original file line number Diff line number Diff line change @@ -8,9 +8,9 @@ global_defs {
88vrrp_script check_script {
99 script "/usr/local/bin/check_and_run.sh"
1010 interval 2
11- weight 50 # Large weight difference for clear state separation
12- fall 2 # Must fail twice to be considered down
13- rise 2 # Must succeed twice to be considered up
11+ weight ${WEIGHT} # Large weight difference for clear state separation
12+ fall ${FALL} # Must fail twice to be considered down
13+ rise ${RISE} # Must succeed twice to be considered up
1414}
1515
1616vrrp_instance ${VRRP_INSTANCE} {
You can’t perform that action at this time.
0 commit comments