The virtualization platform implements VRRP experiments and the platform implements vrrp experiments.
1. VRRP Introduction
Virtual Router Redundancy Protocol (VRRP) combines several routing devices to form a Virtual routing device, A certain mechanism is used to ensure that when the next hop routing device of the host fails, the service is switched to the backup routing device in time to maintain the continuity and reliability of communication.
2. Master-slave vrrp applications
Active/standby backup is the basic method that VRRP provides the backup function, as shown in figure 1. In this mode, you need to create a virtual router, which includes a Master device and several Backup devices.
Under normal circumstances, RouterB is a Master device and undertakes service forwarding tasks. RouterB and RouterC are Backup devices and do not undertake service forwarding. RouterB regularly sends VRRP notification messages to notify RouterB and RouterC that they are working properly. If a RouterB fault occurs, RouterB and RouterC will elect a new Master device based on the priority and continue to forward data to the host to implement gateway backup.
After a routerworker fault is restored, it will be re-elected as a Master in the preemption mode; otherwise, it will remain in the Backup state.
(Figure: normal)
(Figure: master-slave switchover)
3. Tutorial Purpose
In this experiment, the simulator is used to verify whether two vswitches can use vrrp protocol to achieve Hot Standby through active/standby backup.
4. Experiment Topology
(For details, refer to the next page)
5. experiment conclusion
Vrrp is a way to improve network reliability, but it is not suitable for this project. The experiment conclusion shows that VRRP is not feasible in this project, for the following reasons:
1. vrrp is configured with a vro. To meet the networking requirements of vrrp, the downlink must have access switches, and the uplink must have routes for dual-homing of links. In this project, there are only two switches;
2. vrrp is implemented on the condition that the router provides a gateway, and the gateway provided in this project is actually a firewall;
3. vrrp implements dual-link redundancy. Therefore, at least two static routes must be configured to provide dual-link routing options. In this project, there is no need to configure routes on the vswitch.
4. vrrp networking configuration is complex. This project only uses two vswitches for redundant backup, without the need for such complicated implementation methods.