摘要
.现在网络服务的安全性和可靠性变的越来越重要,如果网络中的网关设备出现问题,将会导致网络不能提供正常的服务。本文利用集群技术一一虚拟路由冗余协议(virtualRouterRedundaneyprotoeol,简称VRRP)来实现网关的高可用性,使得在一台网关设备宕机时,另外一个备份网关会及时接管转发工作,不会造成互联网业务中断,提高了网络服务质量。
本文首先介绍高可用性的基本技术,对常用的数据链路层和网络层冗余保护技术进行了论述,并对它们各自的不足进行了分析。然后详细说明了VRRP协议的工作原理,包括协议中所用到概念的定义、协议运行所需参数的确定、协议运行的内在机制、网关的选举策略和选举实施。在研究VRRP协议同步过程中可能出现的安全性和稳定性问题后,给出了优化该协议的改进方案。
关键字:高可靠性;虚拟路由;冗余保护;负载均衡;vRR卫实例
Abstract
Now the security and reliability of the network service become more and more important, if there is a problem in the network gateway equipment, will cause the network cannot provide the normal service. In this paper, using cluster technology one one virtual router redundancy protocol (virtualRouterRedundaneyprotoeol, referred to as VRRP) high availability to achieve the gateway, the gateway device in a crash, another backup gateway will promptly take forward work, will not cause the Internet service interruption, improve the quality of network service.
This paper first introduces the basic technology for high availability, the data link layer and network layer redundancy protection techniques are discussed, and their respective shortcomings were analyzed. Then a detailed description of the working principle of VRRP protocol, including the protocol used in the definition of the concept, the protocol required parameters, protocol operation mechanism, gateway strategy and the implementation of the election campaign. Security and stability problems may arise in the study of VRRP protocol synchronization process, gives the methods to optimize the protocol.
Keywords: high reliability; virtual router redundancy; protection; load balancing; vRR Wei examples
目 录
摘要………………………………………………………………………………………………………… I
Abstract…………………………………………………………………………………………………… II
第一章概述……………………………………………………………………………………………… 1
1.1论文研究的背景及意义……………………………………………………………….. 1
第二章构建冗余保护网络的基本方法………………………………………………………. 2
2.1如何构建冗余保护网络……………………………………………………………….. 2
2.2数据链路层方法………………………………………………………………………….. 2
2.2.1SDH…………………………………………………………………………………… 2
2.2.2STP……………………………………………………………………………………. 3
2.3网络层方法…………………………………………………………………………………. 3
2.3.1VRRP…………………………………………………………………………………. 3
2.3.2IGP……………………………………………………………………………………. 4
第三章 VRRp应用设计与实现………………………………………………………………… 4
3.1引入一个工程实例………………………………………………………………………. 4
3.1.1VRRp在实际工作中的意义………………………………………………… 4
3.1.2某专网需求……………………………………………………………………….. 5
3.1.3鞍山电信lp城域网……………………………………………………………. 5
3.2单备份组的业务实现…………………………………………………………………… 5
3.2.18016的软、硬件配置…………………………………………………………. 5
3.2.2单备份说明……………………………………………………………………….. 6
3.2.3实现单备份组……………………………………………………………………. 7
3.3负载均衡的业务实现…………………………………………………………………… 8
3.3.1双备份组及负载均衡的说明………………………………………………. 8
3.3.2实现双备份组及负载均衡………………………………………………….. 9
3.4.2数据流量负载均衡…………………………………………………………… 20
3.4.3对1GP的影响…………………………………………………………………. 20
3.4.4工程造价…………………………………………………………………………. 21
参考文献……………………………………………………………………………………………….. 22
致谢………………………………………………………………………………………………………. 23