Академический Документы
Профессиональный Документы
Культура Документы
This course introduces the Virtual Router Redundancy Protocol (VRRP). VRRP specifies an election protocol that dynamically assigns responsibility for a Virtual Router to one of the VRRP Routers on a LAN.
Page 2
References
RFC2338: Virtual Router Redundancy Protocol VRP Operation Manual
Page 3
Page 4
Page 5
10.1.1.254/24
10.1.1.2/24 10.1.1.254
10.1.1.3/24 10.1.1.254
Page 6
10.1.1.4/24 10.1.1.254
What is VRRP
Internet
10.1.1.2/24 10.1.1.254
10.1.1.3/24 10.1.1.254
Page 7
10.1.1.4/24 10.1.1.254
Virtual Router ID configured on RTB is also 1 IP Address of Virtual Router 1 should be the same as configured on RTA
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 8
The Master RTA 10.1.1.251/24 E0/0 Priority = 200 Virtual Router 10.1.1.254
10.1.1.2/24 10.1.1.254
10.1.1.3/24 10.1.1.254
Page 9
10.1.1.4/24 10.1.1.254
10.1.1.2/24 10.1.1.254
10.1.1.3/24 10.1.1.254
Page 11
10.1.1.4/24 10.1.1.254
The Running Priority is 255 since this router is the IP Address Owner
Page 12
The Priority value 0 indicates that the current Master has stopped participating in VRRP
Page 13
Time to delay when a higher priority Backup preempts a lower priority Master
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 14
Summary
What is VRRP? Virtual Router; Virtual Router ID, Virtual IP Address. Electing the Master. Special values of Priority. Preemption mode and Timers.
Page 15
Page 16
Only one packet type ---- ADVERTISEMENT Only the Master can send VRRP Advertisements
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 17
Destination Address IP multicast address 224.0.0.18 TTL Protocol Must be 255 The IP protocol number is 0x70
Page 18
00
00
5E
00
01
VRID
The last one byte of a Virtual Router MAC Address is the VRID of this Virtual Router
Page 19
Field
Value
Destination MAC Address Multicast MAC Address 01-00-5E-00-00-12 Source MAC Address Type The Virtual Router MAC Address 0x0800
Page 20
10
Authentication
Auth Type 0 1 2
Page 21
p s tu i ar ority t S ri P
5 25
t2 no 55
Master
Backup
Page 22
11
Sh d ut n ow
Master Master_Down_Timer
Backup
Page 23
Sh
do ut
Page 24
12
Summary
VRRP Packet format IP fields of VRRP Packets Virtual Router MAC Address Layer 2 fields of VRRP Packets Authentication methods Protocol State Machine
Page 25
Page 26
13
RTA
RTB
The Master
Unicast
ARP Response
Loopback0 1.1.1.1/32
E0/0 10.1.1.251/24 RTA 1 Send ICMP Echo Message Dst IP = 1.1.1.1 Dst MAC = 00-00-5E-00-01-01
10.1.1.254 00-00-5E-00-01-01 Loopback0 2.2.2.2/32 E0/0 10.1.1.252/24 RTB 2 Send ICMP Redirection Message PCA Src IP = 10.1.1.254 Src MAC = RTB's Interface MAC 10.1.1.1/24 10.1.1.254 Address
The Master
Page 28
14
Page 29
Page 30
15
PCA adds a new route to destination 1.1.1.1/32, using 10.1.1.251 as the next hop
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 31
Physical Interface MAC Physical Interface Address Address Do not change Physical Interface MAC Address Physical Interface MAC Address
Forwarding IP Packets
Page 32
16
Summary
Handling ARP Request Sending Redirect Messages Sending IP packets by the Master
Page 33
Thank You
www.huawei.com
17