keepalived: add config for section peer
authorRishabh <redacted>
Mon, 20 Apr 2026 17:27:50 +0000 (22:57 +0530)
committerFlorian Eckert <redacted>
Mon, 27 Apr 2026 12:28:04 +0000 (14:28 +0200)
Update keepalived.config to add config for section peer.
`peer` is a section that can be used via 'list unicast_peer'

Signed-off-by: Rishabh <redacted>
net/keepalived/files/keepalived.config

index 4c11e05ddbb6b6ec10070f45e009238b7ee45be0..6d122a8bdd0e2fe8ab7cdeac07b8836e15bda193 100644 (file)
@@ -115,6 +115,18 @@ config globals 'globals'
 #        option max_hops "30"
 #        option weight "50"
 
+#config peer
+#        option name "peer1"
+#        option address "192.168.0.1"
+#        option min_ttl "1"
+#        option max_ttl "255"
+
+#config peer
+#        option name "peer2"
+#        option address "192.168.1.1"
+#        option min_ttl "1"
+#        option max_ttl "255"
+
 #config vrrp_instance
 #      option name                     "VI_1"
 #      option use_vmac                 "eth0"
@@ -126,6 +138,8 @@ config globals 'globals'
 #      list track_script               "track_script1"
 #      list track_script               "track_script2"
 #      option dont_track_primary       "1"
+#      list unicast_peer               "peer1"
+#      list unicast_peer               "peer2"
 #      list unicast_peer               "192.168.0.1"
 #      list unicast_peer               "192.168.1.1"
 #      list virtual_ipaddress          "ipaddress2"
git clone https://git.99rst.org/PROJECT