User`s guide

Configuring VRRP
9-6 Configuring VRRP
Figure 9-2 Symmetrical VRRP Configuration
Inthisconfiguration,halfthehostsuse10.0.0.1/16astheirdefaultroute,andhalfuse10.0.0.2/16.
IPaddress10.0.0.1/16isassociatedwithvirtualrouter
VRID1,andIPaddress10.0.0.2/16is
associatedwithvirtualrouter
VRID2.
IfRouterR1,themasterforvirtualrouter
VRID1,goesdown,RouterR2wouldtakeovertheIP
address10.0.0.1/16.Similarly,ifRouterR2,themasterforvirtualrouter
VRID2,goesdown,Router
R1wouldtakeovertheIPaddress10.0.0.2/16.
Router R1 Configuration
UsethefollowingproceduretoconfigureRouterR1asshownbackinFigure 92:
R1 R2
H1 H2 H3 H4
Default Route = 10.0.0.1/16
Master for VRID 1
Default Route = 10.0.0.2/16
Backup for VRID 2
Master for VRID 2
Backup for VRID 1
Interface Addr. = 10.0.0.1/16
VRID 1; Addr. = 10.0.0.1/16
VRID 2; Addr. = 10.0.0.2/16
VRID 1
10.0.0.1/16
Interface Addr. = 10.0.0.2/16
VRID 1; Addr. = 10.0.0.1/16
VRID 2; Addr. = 10.0.0.2/16
VRID 2
10.0.0.2/16
Procedure 9-3 Configuring Router 1 for Symmetrical VRRP
Step Task Command(s)
1. In Global Configuration mode:
Create a routing interface for Router 1 on VLAN
1.
interface vlan 1
2. In Interface Configuration mode:
Set and enable IP address 10.0.0.1
255.255.255.0 on this router and VLAN.
ip address 10.0.0.1 255.255.255.0
no shutdown
3. In Global Configuration mode:
Enable VRRP configuration mode on this router.
router vrrp
4. In VRRP Configuration mode:
Create a VRRP session for this router on VLAN
1 with a VRID of 1.
create vlan 1 1
5. Create a second VRRP session on VLAN 1 with
a VRID of 2.
create vlan 1 2