vrrp

NAME
SYNOPSIS
DESCRIPTION
SHARED VLAN-ID RULES
SEE ALSO
AUTHOR
COPYRIGHT

NAME

vrrp - Manage the VRRP configuration in HA mode

SYNOPSIS

[1] vrrp [(internal | external | auxiliary | web | rweb | antivirus) [add <vrrp-ip> (master backup) [<priority> [<vrrp-id>]]]]

[2] vrrp [(internal | external | auxiliary | web | rweb | antivirus) [del <vrrp-ip>]]

[3] vrrp [(internal | external | auxiliary | web | rweb | antivirus) [raz]]

DESCRIPTION

This command allows you to set the VRRP (Virtual Redundancy Router Protocol) IP configuration when using the HA (High Availability) mode (see the command mode to activate the HA mode). Several VRRP IP addresses can be associated to the external, the internal and the auxiliary network interfaces. When using 802.1q VLANs, VRRP IPs could be associated to the web, rweb and antivirus 802.1q pseudo network interfaces.

The appliance implements the VRRP v2 to assure a High level of Availability. When using VRRP, two (or more) appliance utilise the same virtual IP (VRRP IP) address while each appliance has its own real IP address. Virtual IP addresses are then used by clients accessing the virtual appliance (made by two or more real appliances). For each VRRP IP address, one appliance is configured as the master and other appliances act as backups. In case of the failure of the master appliance, a backup appliance is then elected as the new master.

A classical configuration uses two appliances with two VRRP IP address configured on both. The first VRRP IP address is configured as master on the first appliance while this VRRP IP address is configured as a backup VRRP IP address on the second appliance. The second VRRP IP address is then a backup address on the first appliance and master on the second appliance. In such a configuration, users, backend web servers and any other equipments connected to the appliance should use VRRP IP addresses configured on appliances.

To use both appliances equally, different methods are available. One method consists of using a round robin DNS (appliances are addressed by using a unique name configured on a local DNS and this name is associated to both VRRP IP addresses). Another method uses WPAD (Web Proxy Auto Discovery) script, which automatically configures settings for clients (this script should share the load between both appliances). Finally, a Switch L4 can be used to load balance the traffic on both appliances.

To define a VRRP IP address for a network interface, give the network interface name followed by the keyword add , the VRRP IP address and its initial state: master or backup. Note that the same VRRP IP address must be defined on all real appliances creating the virtual appliance but only one appliance must declare that VRRP IP address as master.

The optional <priority> argument is a numeric value between 0 and 255 specifying the priority during the master election phase. The appliance with the highest priority value is then elected as the Master. By default, the priority is set to 110 for a master VRRP IP and to 100 for a backup VRRP IP. Take care to define different priorities for the same VRRP IP on each appliance.

The priority value is also used to bind together all logical network interfaces (internal, external, auxiliary, web, rweb or antivirus) so in case of a failure on one of them all associated VRRPs having the same priority will move together. This avoid to have inconsistencies situations where an appliance is active for one configured VRRP IP and passive for others.

A VRRP identifier could be specified as the last argument. When more than one virtual network equipment share the same LAN, the <vrrp-id> allows you to specify to which virtual equipment belongs a real network equipment. The <vrrp-id> must be a numeric value between 0 and 255. If no <vrrp-id> is given, the <vrrp-id> will be the last byte of the VRRP IP address.

SHARED VLAN-ID RULES

In case where a pseudo network interface shares the same <vlan-id> of another pseudo network interface and no VRRP IP address is specified for it, the following rules are applied:

• The pseudo network interface takes the VRRP IP addresses specified for the other pseudo network interfaces having the same <vlan-id>.

• If more than one pseudo network interface share the same <vlan-id>, the pseudo network interface takes the VRRP IP addresses of the preferred pseudo network interface. Preferences are in the following order: web, rweb and antivirus.

SEE ALSO

apply (1) mode (1) vlan (1)

AUTHOR

CacheGuard Technologies Ltd <www.cacheguard.com>

Send bug reports or comments to the above author.

COPYRIGHT

Copyright (C) 2009-2024 CacheGuard - All rights reserved