Introduction to vro redundancy protocol in Linux-Linux Enterprise Application-Linux server application information. The following is a detailed description. This article describes how to implement VRRP (Virtual Router Redundancy Protocol) in Linux ). I personally summarized the VRRP process and introduced some basic concepts and principles of VRRP and how to implement VRRP in Linux.
1. VRRP Introduction
When we create a network, dynamic routing protocols such as OSPF and RIP are often used to ensure stable and uninterrupted operation of the network, these routing protocols can automatically bypass many network faults, such as the router DOWN. However, in many cases, we may not be able to use these high-end routing protocols:
(1) because sometimes it is a client, the configuration of OSPF, RIP, and other protocols must be supported by upstream ISP vendors, but many ISP vendors do not provide such services, they only provide static routes. (Sometimes the objective of using OSPF, RIP, and other protocols is to back up links and routes. VRRP can completely replace them)
(2) We have more than two Internet lines, and we need to back up load balancing, routing lines, and routers for them (VRRP is also designed mainly for this requirement)
To ensure uninterrupted and stable network operation, VRRP is the best choice. VRRP is short for the Virtual Router Redundancy Protocol, which is described in more detail in RFC2338.
2. VRRP Concept
VRRP has many concepts. We will introduce them one by one:
(400) {this. resized = true; this. width = 400; this. alt = 'click here to open new window';} "onmouseover =" if (this. resized) this. style. cursor = 'hand'; "onclick =" window. open ('HTTP: // linux.ccidnet.com/col/attachment/2006/10/863385.gif'); ">
(1) In the figure, the router RA is the master router of vrovrvrid 1, which is in charge of the gateway of "intranet 1" and the backup router of vrovrvrid 2, when VRID 2's primary router RB is unavailable, it takes over the work of RB.
(2) The router RB is the master router of vrovrvrid 2, which is in charge of the gateway of "intranet 2" and a backup router of vrovrvrid 1, when VRID 1's primary router RA is unavailable, it takes over RA's work.