User Manual

483
Users Manual of XGS-6350-24X4C
49.3.4 VRRP Configuration Example
In the following network topology, two subnets in a same network use their own gateways (gateway A and
gateway B) respectively to access the Internet, but gateway A and gateway B are standby ones each other.
When one gateway (one router) breaks down, the other will work for the two subnets.
Group 3
vip: 100.1.1.30
vmac: 00:00:5e:00:01:03
e1/1.1
e1/1.1
e2/1
e2/1
A
B
Host Tom
Host John
e1/1.2
e1/1.2
Group 6
vip: 200.1.1.30
vmac: 00:00:5e:00:01:06
F0/23
F0/22
F0/20
F0/21
vrrp
Figure 3-2 Simple VRRP application topology
The configuration is shown as follows:
Router A:
-----------------------------------
interface Ethernet1/1.1
encapsulation dot1Q 2
ip address 100.1.1.5 255.255.255.0
vrrp 3 associate 100.1.1.30 255.255.255.0
vrrp 3 priority 120
vrrp 3 description line1-master
vrrp 3 authentication line1pwd
vrrp 3 preempt
vrrp 3 timers advertise dsec 15
-----------------------------------
interface Ethernet1/1.2
encapsulation dot1Q 3
ip address 200.1.1.5 255.255.255.0
vrrp 6 associate 200.1.1.30 255.255.255.0
vrrp 6 priority 110
vrrp 6 description line2-backup
vrrp 6 authentication line2pwd
vrrp 6 preempt
vrrp 6 timers advertise dsec 15
----------------------------------