Escolar Documentos
Profissional Documentos
Cultura Documentos
1/14
Table of Contents
1 Overview......................................................................................................................................... 3 1.1 Background.......................................................................................................................... 3 1.2 Benefits ................................................................................................................................ 4 2 Introduction to VRRP...................................................................................................................... 4 2.1 Concepts.............................................................................................................................. 4 2.2 Introduction to Virtual Router ............................................................................................... 5 2.3 VRRP Working Process....................................................................................................... 6 2.3.1 Master Election.......................................................................................................... 7 2.3.2 Master State Advertisement...................................................................................... 7 2.3.3 Authentication Mode ................................................................................................. 8 3 VRRP in Comware ......................................................................................................................... 9 3.1 Monitoring the Uplinks ......................................................................................................... 9 3.2 Backups Monitoring of the Master State............................................................................. 9 4 Application Scenarios ................................................................................................................... 10 4.1 Master/Backup ................................................................................................................... 10 4.2 Load Balancing .................................................................................................................. 11 4.3 Masters Monitoring of Uplinks Through BFD/NQA ........................................................... 12 4.4 Backups Monitoring of Master State Using BFD .............................................................. 13 5 References ................................................................................................................................... 14
2/14
1 Overview
1.1 Background
With the development of the Internet, users have higher requirements on network reliability. It is very important to keep contact with other parts on a network especially for end users. Generally speaking, a host communicates with the external networks through the default gateway, as shown in Figure 1 .
Host A
Network
Host B Gateway
Host C
Normally, a host sends the packets to be sent to the external networks to the gateway, which then sends the packets to the external networks. This enables hosts on a network segment to communicate with the external networks. However, when the gateway fails, all the hosts using the gateway as the default next-hop router fail to communicate with the external networks. A common way to improve system reliability is to use more egress gateways. However, most hosts can only be configured with one default gateway. In case that a default gateway fails, you need to manually configure another default gateway for the hosts that originally use the failed gateway, so that the hosts can continue to communicate with the external networks. Some solutions require hosts to run a dynamic routing protocol such as Routing Information Protocol (RIP), or Open Shortest Path First routing protocol (OSPF) to solve the problem. However, these protocols cannot satisfy users needs due to their complicated configuration or low security guarantee.
Hangzhou H3C Technologies Co., Ltd. 3/14
VRRP is thus addressed to solve the above-mentioned problems. VRRP does not change the original networking, nor does it require any configuration on the hosts. You only need to configure several commands on the related routers to implement backup of the gateway, without bringing any working load for the hosts. Compared with other methods, VRRP can better satisfy the users needs.
1.2 Benefits
VRRP is an error-tolerant protocol. With VRRP deployed on a network, if the next-hop router of hosts fails, another router will take it over to ensure continuous and reliable network communication. VRRP has the following advantages: