From: Rishabh Date: Mon, 20 Apr 2026 17:27:50 +0000 (+0530) Subject: keepalived: add config for section peer X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=7673eab5651a6ab2e8a0132e0fe986d1097e8961;p=openwrt-packages.git keepalived: add config for section peer 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 --- diff --git a/net/keepalived/files/keepalived.config b/net/keepalived/files/keepalived.config index 4c11e05dd..6d122a8bd 100644 --- a/net/keepalived/files/keepalived.config +++ b/net/keepalived/files/keepalived.config @@ -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"