Professional Documents
Culture Documents
06 IP - SP2006 - E01 - 1-VRRP Principle-31p-1
06 IP - SP2006 - E01 - 1-VRRP Principle-31p-1
Objectives
2
Contents
3
The Problems
Internet
R1
10.0.0.1/16
Internet
R1 VIP: R2
10.0.0.1/16 10.0.0.3/16
10.0.0.2/16
7
VRRP Terminology
VRRP (multi-cast)
IP:10.1.1.1
VRID : 6
PRI :
I have not received
100 Source IP Target IP the master
VIP : master 10.1.1.2 packets for a long
10.1.1.254 224.0.0.18 10.1.1.2 period. Choose
me.
VRRP (multi-cast)
IP:10.1.1.1
VRID: 6
PRI: 100 We have the same
VIP:10.1.1.254 Source IP Target IP master priority. Let’s check the
10.1.1.2 224.0.0.18 IP address. My IP
10.1.1.2 address is greater than
his, so let’s choose
mine.
Master is
IP:10.1.1.2
10.1.1.2.
Source IP Target IP master VRID: 6
10.1.1.1 PRI: 100
224.0.0.18 10.1.1.2 VIP:
10.1.1.254
VMAC:00
VRRP (multi-cast) 005E000
106
VRRP (multi-cast)
IP:10.1.1.1
VRID: 6
PRI: 100 Hi, I am master.
VIP: Source IP Target IP master I have the
virtual MAC.
10.1.1.254 10.1.1.2 224.0.0.18 10.1.1.2
IP:10.1.1.2
VRID: 6
PRI: 100
VIP:
10.1.1.254
VMAC:00
005E000
106
ARP (broadcast)
I am master.
Source MAC Target MAC Please record
00005E000106 FFFFFFFFFFFF down my MAC.
I am the IP
owner, so I must
be master.
Source IP Target IP master
10.1.1.1 224.0.0.18 IP:10.1.1.2
10.1.1.1 VRID: 6
PRI: 100
VIP:
VRRP (multi-cast) 10.1.1.1
VRRP (multi-cast)
IP:10.1.1.1
VRID: 6
PRI: 255 It is the IP owner,
VIP: Source IP Target IP master and it has higher
10.1.1.1 10.1.1.2 224.0.0.18 interface priority,
10.1.1.1 so it is the master.
VRRP (multi-cast)
IP:10.1.1.1
VRID: 6
PRI: 100
VIP:
10.1.1.254
VMAC:
00005E0
00106
IP:10.1.1.1
VRID : 6
PRI : 100
VIP :
10.1.1.254
VMAC:00005E
000106
ARP (broadcast)
40.1.1.0/24
30.1.1.0/24 20.1.1.0/24
R1 R2
Target MAC
00005E000106
Target IP :
40.1.1.1
G:10.1.1.254
G:10.1.1.254
00005e0006
21
Actual Networking Application of VRRP
VRRP Load
VRRP Monitoring
Interface Balancing
Status
Actual Networking
Application of VRRP
VRRP Group1
Virtual IP :
Router A
10.0.0.1
Network
Switch Router C
Router B
Router B
The VRRP protocol packet can be forwarded by the heartbeat line, instead of the
interface that configures the VRRP group.
If the VRRP group has configured the heartbeat line, configure the outgoing
interface that sends the packet as the heartbeat line interface. If the heartbeat
line is not configured, configure the outgoing interface as the interface that
configures the VRRP group.
IP bearer
network
PEA PEB
Heartbeat line
Master Backup
link link
Switc Router C
h fei-0/1/0/1
10.0.0.2/24 Router B
Is the IP address of virtual router the same as one router in the VRRP
router group?
Is the IP address owner the same as the master router? When are they
the same router, and when are they different routers?
After the IP address owner is down, which backup router will take over
its job of master router? At this time, if the master router is down again,
who will take charge of the new master router? If the IP address owner is
up again, will it take back its identity of master router? If the router in
up status is not the IP address owner, will it take back its identity of
master router?