_______________________________________________________________________________________________________
_______________________________________________________________________________________________________
© Virtual Access 2018
GW1000 Series User Manual
Issue: 2.3
Page 194 of 463
Web: Password
UCI: vrrp.@vrrp_group[X].password
Opt: password
Sets the password to use in the VRRP authentication (simple
password authentication method). This field may be left blank if
no authentication is required.
Web: Virtual IP
UCI: vrrp.@vrrp_group[X].virtual_ipaddr
Opt: virtual_ipaddr
Sets the virtual IP address and mask in prefix format. For
example, ’11.1.1.99/24’. All co-operating VRRP routers serving
the same LAN must be configured with the same virtual IP
address.
Web: GARP delay
UCI:
vrrp.@vrrp_group[X].garp_delay_sec
Opt: garp_delay_sec
Sets the Gratuitous ARP message sending delay in seconds.
5
5 seconds
Range
Web: n/a
UCI: vrrp.@vrrp_group[X].track_ipsec
Opt: list track_ipsec
Sets one or more IPSec connection that VRRP should monitor. If
a monitored IPSec connection goes down on the Master VRRP
router, it goes into ‘Fault’ state and the Backup VRRP router
becomes the Master.
Multiple IPsec connections are entered using
uci set
and
uci
add_list
commands. Example:
uci set vrrp.@vrrp_group[0].track_ipsec=Tunnel1
uci add_list vrrp.@vrrp_group[0].track_ipsec=Tunnel2
or using a list of options via package options
list track_ipsec ‘Tunnel1’
list track_ipsec ‘Tunnel2’
Blank
No IPSec connection to track.
Range
Table 62: Information table for VRRP group settings
21.4
Configuring VRRP using command line
The configuration file is stored on /etc/config/vrrp.
There are two config sections – main and vrrp_group.
Multiple VRRP groups can be configured. By default, all VRRP group instances are named
‘vrrp_group’. It is identified by
@vrrp_group
then the vrrp_group position in the package
as a number. For example, for the first vrrp_group in the package using UCI:
vrrp.@vrrp_group[0]=vrrp_group
vrrp.@vrrp_group[0].enabled=1
Or using package options:
config vrrp_group
option enabled ‘1’
However, to better identify, it is recommended to give the vrrp_group instance a name.
For example, to define a vrrp_group instance named ‘g1’ using UCI, enter:
vrrp.g1.vrrp_group
vrrp.g1.enabled=1