From b99432ee2dc84a1d8cef59ef534392867d10de1e Mon Sep 17 00:00:00 2001 From: Viacheslav Hletenko Date: Wed, 16 Feb 2022 15:00:34 +0000 Subject: vrrp: T1972: Ability to set IP address on not vrrp interface Ability to set virtual_address on not vrrp-listen interface Add ability don't track primary vrrp interface "exclude-vrrp-interface" Add ability to set tracking (state UP/Down) on desired interfaces For example eth0 is used for vrrp and we want to track another eth1 interface that not belong to any vrrp-group set high-avail vrrp group WAN interface 'eth0' set high-avail vrrp group WAN virtual-address 192.0.2.222/24 interface 'eth2' set high-avail vrrp group WAN track exclude-vrrp-interface set high-avail vrrp group WAN track interface 'eth1' --- interface-definitions/vrrp.xml.in | 37 ++++++++++++++++++++++++++++++++++--- 1 file changed, 34 insertions(+), 3 deletions(-) (limited to 'interface-definitions/vrrp.xml.in') diff --git a/interface-definitions/vrrp.xml.in b/interface-definitions/vrrp.xml.in index b58cf735c..337a0bbc9 100644 --- a/interface-definitions/vrrp.xml.in +++ b/interface-definitions/vrrp.xml.in @@ -188,6 +188,35 @@ Use VRRP virtual MAC address as per RFC3768 + + + Track settings + + + + + + Disable track state of main interface + + + + + Interface name state check + + + + + txt + Interface name + + + + + + + + + VRRP transition scripts @@ -233,7 +262,7 @@ - + Virtual address (IPv4 or IPv6, but they must not be mixed in one group) @@ -249,9 +278,11 @@ Virtual address must be a valid IPv4 or IPv6 address with prefix length (e.g. 192.0.2.3/24 or 2001:db8:ff::10/64) - - + + #include + + Virtual address (If you need additional IPv4 and IPv6 in same group) -- cgit v1.2.3