Professional Documents
Culture Documents
Campus Network Based On VRRP Redundancy and Reliability: Xiao-Qi Yin, Yi-Zhuo Guo
Campus Network Based On VRRP Redundancy and Reliability: Xiao-Qi Yin, Yi-Zhuo Guo
Abstract—With the dramatic increase in amount of basis of ensuring speed and function.
information in campus network, the security and high
reliability of access data have become urgent requirements on II. RELEVANT OPERATION
redundancy reliability design of campus network. This paper VRRP put several routers into one backup set so as to
adopts the technology of VRRP and takes advantages of form one virtual router. Among all the backup methods of
double backup sets and router to process the design and
Master and Backup in VRRP, the gateway function shall be
configuration. As is shown in the experiment, when one device
fails, the other ones can still complete relevant operations
born by the Master router alone. When failures occur to the
under the conditions of double backup sets. Therefore, the Master router, the other Backup routers will select one
redundancy reliability design of campus network can be router through VRRP to take the work of the Master over. If
realized through the technology of VRRP double backup sets. there is still one router works properly, the virtual router can
function normally. VRRP is one kind of fault-tolerant
Keywords- Campus network, VRRP, Reliability protocol, which can simplify the configuration of the host
machine while increasing reliability. The messages of
I. INTRODUCTION VRRP protocol are sent through the fixed multicast address
At present, the technologies adopted by each university 224.0.0.18. Among LANs with multicast or broadcast
in the redundancy reliability design are mainly HSRP and capacity, VRRP can still provide a reliable default link, thus
VRRP. Through a detailed analysis, great differences can be network interruption due to a single point of failure of the
found between them. VRRP and HSRP are quite familiar in gateway can be avoided. Moreover, there is no need to
function, but VRRP enjoys one principle advantage: it change the dynamic routing protocol, router discovery
allows devices in VRRP set to establish authentication protocol and other configuration information. If one wants
mechanism. In addition, HSRP requires that the virtual to gain a profound understanding about VRRP, he or she
router cannot be the IP address of the one of the routers, but must fully understand its functions and state machine of
VRRP allows such condition. Moreover, VRRP does not VRRP protocol.
adopt coup or equivalent message of HSRP. The state A. Functions of VRRP
machine of VRRP is simpler than the one of HSRP. HSRP
has 6 states of Initial, Learn, Listen, Speak, Standby, Active 1) Backup of Master and Backup: this is the basic
and eight events. VRRP has only 3 states of Initialize, method for VRRP to provide the function of IP address
Master, Backup and five events. HSRP loads messages on backup. It requires the establishment of a virtual router
UDP, while VRRP loads them on TCP(HSRP uses UDP which consists of one Master and several Backup devices.
1985 port, and sends hello to multicast address Normally, all the services shall be borne by the Master.
224.0.0.2).Therefore, the design adopts the technology of When the Master fails, the Backup devices will take it over.
VRRP double backup sets owing to the fact that it is 2) Load sharing: a router allows to backup for several
impossible for a campus network of common size to be sets. Virtual router enables several routers to share the
equipped with high-end devices. The reliability of a services at the same time.
network shall be ensured by the reliability of the device 3) Monitoring Port State: VRRP can monitor the state of
itself. In the process of campus network construction, most all ports. When the state of the port being monitored is
of the designers concentrate on the speed and performance Down or Up, the priority level of the router will decrease or
of the network, and neglect the issue of router’s single point increase to certain value automatically, thus the priority
failure. Once any failure occurs, the speed and function of level of each device within the backup set will be changed
network make no sense. Otherwise, the double backup sets and VRRP router can conduct elections for Master again.
of VRRP pose no requirements on any change of the 4) VRRP Quick Switch: BFD (Bidirectional Forwarding
network state or configuration of the host machine. The Detection) can quickly detect and monitor the connection
backup of next hop gateway can be realized simply by the state of links or IP router within the network. By monitoring
configuration of several orders on relevancy routers, which the session state of BFD, VRRP can keep the switch time
will not bring any burden to the host machine. Compared between Master and Backup within 1 second.
with other methods, VRRP can better satisfy the demand of 5) Ping Switch of Virtual IP Address: it is not regulated
users. In order to avoid the problem of network interruption, by RFC3768 that virtual IP address should be Ping or not. If
the technology of VRRP shall be applied reasonably on the the virtual IP address cannot be connected by Ping, it will
[SWA]VLAN 10
[SWA]interface vlan-interface 10
[SWA-vlan-interface10]ip add 192.168.0.252 255.255.255.0
[SWA-vlan-interface10]vrrp vrid 1 virtual-ip 192.168.0.254
[SWA-vlan-interface10]vrrp vrid 1 priority 120
[SWA-vlan-interface10]vrrp vrid 1 preempt-mode
[SWA]VLAN 20
[SWA]interface vlan-interface 20
[SWA-vlan-interface10]ip add 192.168.1.252 255.255.255.0
[SWA-vlan-interface10]vrrp vrid 2 virtual-ip 192.168.1.254
[SWA-vlan-interface10]vrrp vrid 2 priority 100
[SWA-vlan-interface10]vrrp vrid 2 preempt-mode
Switch SWB is configured as follows:
[SWB]VLAN 10
[SWB]interface vlan-interface 10
[SWB-vlan-interface10]ip add 192.168.0.253 255.255.255.0 Fig.3-2 SWB validation results
[SWB-vlan-interface10]vrrp vrid 1 virtual-ip 192.168.0.254
By comparing Fig. 3-1 and Fig. 3-2, it can be found that
[SWB-vlan-interface10]vrrp vrid 1 priority 100
SWA is the Master device of VRRP Backup Set 1. The
[SWB-vlan-interface10]vrrp vrid 1 preempt-mode
virtual IP address of Backup Set 1 is 192.168.0.254. SWA is
[SWB]VLAN 20 the Backup device of VRRP Backup Set 2. The virtual IP
[SWB]interface vlan-interface 20 address of Backup Set 2 is 192.168.1.254. Thus, we can
[SWB-vlan-interface10]ip add 192.168.1.253 255.255.255.0 know that SWB is the Backup device of VRRP Backup Set
[SWB-vlan-interface10]vrrp vrid 2 virtual-ip 192.168.1.254 1, and the virtual IP address of Backup Set 1 is
[SWB-vlan-interface10]vrrp vrid 2 priority 120 192.168.0.254. SWA is the Master device of VRRP Backup
[SWB-vlan-interface10]vrrp vrid 2 preempt-mode Set 2 and the virtual IP address of Backup Set 2 is
192.168.1.254. For the convenience of understanding, we
can use one chart to illustrate the relations between the two
Ⅲ. EXPERIMENT ANALYSIS AND RESULTS routers, as is shown in TABLEⅠ.
After completing the design and configuration of VRRP, TABLE I. The Master and Backup Relations between
the VRRP state check on SWA and SWB can be conducted Devices of Double Backup Sets
with the use of display vrrp verbose.
Virtual group
Device
VRRP 1 VRRP 2
SWA Master Backup
SWB Backup Master
Since the Internet part of this design has already been
completed, we can still communicate with the Internet when
any failure occurs to SWB. For example, ping via
www.163.com. It can pass the test no matter it is conducted
on which machine within the campus network. Thus, it is
proved that the flows of Vlan10 and Vlan20 have been
transmitted by the SWA. Through the experiment and proof
procedures above, we can believe that the reliable design of
VRRP plays a role of protection and has reached the
requirements of redundancy reliability design for campus
networks.
Ⅳ. CONCLUSION
Through the application of VRRP protocol in campus
networks, default router with higher reliability can be
Fig.3-1 SWA validation results achieved without any change of network conditions or
allocation of any dynamic router and router discovery
protocol on the host machine. The consistency and
reliability of communication are realized by switching
services to other devices, which can effectively avoid