Product guide

Virtual Router Redundancy Protocol (VRRP)
Configuring VRRP
Configuring a Virtual IP address in a VR. The virtual IP address must be
the same for the Owner and all Backups on the same network or subnet in a VR.
Syntax: virtual-ip-address < owner-ip-addr >/mask-length >
virtual-ip-address < owner-ip-addr > < mask >
Used in a VR context of a VLAN to assign an IP address/mask
combination to a VR instance.
For an Owner: The virtual IP address must be one of the IP
addresses configured on the VLAN interface for that VR.
For a Backup: The virtual IP address must match the virtual
IP address for the Owner.
The Owner and the Backup(s) using a given virtual IP address
must all belong to the same network or subnet. Also, the VR
instance must be disabled (the default VR state) when using
this command.
(Default: None)
Fox example, if VLAN 10 on router “A” is configured with an IP address of
10.10.10.1/24 and VR 1, and you want router “A” to operate as the Owner for
this VR, then the virtual IP address of the Owner in VR 1 on router “A” is also
10.10.10.1/24. On router “B”, which will operate as a Backup for VR 1, VLAN
10 is configured (in the same network) with an IP address of 10.10.10.15/24.
However, because the Backup must use the same virtual IP address as the
Owner, the virtual IP address for the Backup configured on router “B” for VR
1 is also 10.10.10.1/24.
Router 1 Configuration
VRID: 1
Status: Owner
Virtual IP Addr: 10.10.10.1
Router A
VLAN VID: 10
IP: 10.10.10.1/24
Router B
VLAN VID: 10
IP: 10.10.10.15/24
Switch
VLAN VID: 10
Intranet
Host
Router 2 Configuration
VRID: 1
Status: Backup
Virtual IP Addr: 10.10.10.1
Host “A” Gateway: 10.10.10.1
VR 1
10.10.10.1/24
(Virtual IP Address)
Figure 6-7. Example of Virtual IP Address Assignment for Owner and Backup
6-21