The Research and Implementation of Multihoming Link Load Balancing Based on Linux

Author
WangPeiYuan
Advisor
SongJian
School
Lanzhou University of Technology
Major
Applied Computer Technology
Classification
TP316.81
Degree
Master's thesis
Year
2007
Downloads
260
Citations
3

Request the full text

Abstract

With the continuous expansion of the network bandwidth requirements and the growing importance of network security, more and more enterprises to use the multi-link connection to the Internet, increase export bandwidth and link redundancy feature to improve the corporate network to the Internet the overall availability and reliability. Multiple access links from different network service providers (ISPs), is a multi-home link. The multi-home link load balancing technology is a key technology in order to achieve the above mentioned requirements. Can flow through the Internet strategy to improve the overall throughput of the link-sharing, and redirect traffic to share a link failure or malfunction, traffic on the failed link. At present, although there are some commercial multi-link load balancing products, however, we do not know its implementation mechanism, and the price is more expensive, can not afford the expensive cost for SMEs. Therefore a need for a cheap and practical link load balancing program. It is for this reason, this paper presents a Linux-based implementation of multi-link load balancing program. First elaborated the design concept of the multi-link load balancing system, link load balancing and link failure protection strategy implementation mechanism, and according to the characteristics of the corporate link traffic, link load balancing is divided into outbound traffic ( intranet users to access the Internet traffic) load balancing inbound traffic load balancing (extranet users access the network server traffic). For outbound traffic, the first use of Linux policy routing technology to achieve the multi-link distribution of traffic, and then perform source address translation and data stream sent out. Three outbound traffic load balancing scheme: load balancing based on the destination address, source address-based load balancing and load balancing based on application service. For inbound traffic, the first to use dynamic DNS parsing techniques to direct traffic to a different link, and then forwarded to the internal server to perform destination address. Two inbound traffic load balancing scheme: load balancing based on cycle analysis technology and the View-based dynamic load balancing resolution program. The same time, the use of SNMP polling mechanism as a link-state detection mechanism, combined with the Linux script link failure protection mechanisms, that is, when the two links are working properly maintain the link load balancing, when there is a link failure when, redirect traffic, borne by a link. Also tested above multi-link load balancing and link protection schemes. The test results show that this scenario to achieve better load balancing effect, and improve the enterprise user access speed to the Internet and extranet users to access internal servers to improve the availability of the link, but also through a link fail-safe mechanism to improve the reliability of the link. Since the kernel of the Linux open source as well as a stable, take advantage of the new routing, filtering and address translation, can use a computer equipped with Linux as a multi-link access gateway, not only less investment, and easy to implement stable performance, suitable for small and medium enterprises to establish their own link load balancing system.

Table of contents

Directory 5-7 Summary 7-8 Abstract 8-9 Chapter 1 Introduction 9-13 <br / 1.1 Background 9 1.2 status quo at home and abroad nbsp 9-12 1.3 of this article major work; 12 1.4 In this paper, the structure and content of arrangements 12-13 Chapter 2 multi-link technology and load balancing 13-18 2.1 Multilink Technology 2.2 load balancing technology nbsp 13 ; 13-14 2.2.1 load balanced definition 13 2.2.2 The main application load balancing 13-14 2.3 multi-link load balancing technology 14-18 the 2.3.1 link load balancing model and features 14-15 the 2.3.2 link load balancing, network-level analysis 15 - 16 2.3.3 multi-link load distribution strategy 16-18 Chapter 3 Linux policy routing application and implementation mechanism 18-35 3.1 Policy Routing technology 18-20 the 3.1.1 policy routing technology About 18 3.1.2 Policy Routing common application mode 18-19 3.1 .3 policy routing and routing policy similarities and differences inadequate 19-20 the 3.1.4 policy routing technology the the strategic routes Profile 20th 3.2 Linux 20 -21 the 3.2.1 Multirouter table 20 3.2.2 Rules 20-21 3.3 Linux policy routing configuration 21-28 3.3.1 configuration interface address 21 3.3.2 routing configuration 21-25 3.3.3 routing policy configuration 25 - 28 3.4 Linux implementation mechanism under the policy routing the 28-35 3.4.1 the implementation mechanism of the routing table 28-30 3.4.2 Rules of Implementation Mechanism 30-33 3.4.3 IP layer routing adaptation 33-35 Chapter 4 NAT Netfilter / Iptables architecture 35-46 <br / > 4.1 Network Address Translation 35-37 4.1.1 NAT Introduction the 35-36 uses 4.1.2 NAT 36 4.1.3 NAT classified 36-37 4.2 Netfilter / iptables architecture 37-40 4.2.1 Netfilter architecture 37-38 4.2 .2 Netfilter / iptables works 38-40 4.3 Iptables tool the 40-42 4.3.1 the Iptables built-in menu 40-41 the 4.3.2 packet tables through the process 41-42 4.4 Netfilter / iptables NAT 42-46 4.4.1 Netfilter / iptables system architecture NAT how to work 42-43 4.4.2 and NAT iptables command syntax 43-46 Chapter 5, the design of the multi-link load balancing system and implementation 46-65 the 5.1 Link Load The balanced system analysis 46-50 5.1.1 Multi-link data flow analysis 46-47 <br / 5.1.2 decided to link the availability 47-49 5.1.3 link load distribution 49-50 5.2 link load balancing implementation and configuration the 50-61 5.2.1 link load balancer basic configuration 51-52 5.2.2 outbound data flow of the link traffic assignment 52-55 5.2.3 inbound data stream link load balancing the protected 55-59 5.2.4 link failure to achieve 59-61 5.3 link load test 61-65 5.3.1 Outbound traffic load balancing test 61-62 5.3.2 inbound traffic load balancing test 62 -63 5.3.3 link failure protection test 63-65 the conclusions and Prospects the 65-67 paper summarizes 65 < br /> 2 application prospects and future work to References 65-67 67-70 Acknowledgements 70-71 Appendix A degree papers published during 71

Related dissertations

  1. A Research on3G Smart Integrated Access Gateway
  2. The Application of Load Balance for E-business Website
    JieZhen ·Tianjin University ·2012 ·Master's thesis
  3. Research and Application of Multi-Processing Load Balancing Technology Based on Multi-Core in Cloud Computing
    WuHeSheng ·Nanjing University ·2013 ·Doctoral dissertation
  4. The Research of Dynamic Resource Management Key Technologies in Cloud Computing
    FanYing ·Zhejiang Sci-Tech University ·2014 ·Master's thesis
  5. Research and Design of Scalable Network Server Based on Linux
  6. Research and application of pushing send technology of server cluster based on
  7. The Research for Distributed Control and Addressing Mode of Software Defined Network
  8. Research on Cloud Resource Scheduling Method Across Cloud Computing Federation
    LvQiuYun ·Wuhan University of Technology ·2013 ·Master's thesis
  9. Simulation and Implementation for Robust Energy-efficient Routing Algorithms Based on Network Topology in IP Backbone Networks
    LiuJinZuo ·Northeastern University ·2013 ·Master's thesis
  10. Research on Resource Scheduling Algorithms in Cloud Computing Environment
    FanZongQin ·Beijing Jiaotong University ·2014 ·Master's thesis
  11. Design and Implementation of Crawler Subsystem of Alipay Merchant Risk Monitoring System
    QianXuanTong ·Harbin Institute of Technology ·2012 ·Master's thesis
  12. Application and Research of Digital Room Service System Based on Cluster Server
  13. Design and Implementation of Video Monitoring Management and Load Balancing in Fuzhou
  14. Design and Implement of Reapply System of China Graduate Student
  15. The Design and Implementation of the Intelligent Cluster Rendering System
    MaHaiYin ·Shandong University ·2013 ·Master's thesis
  16. Shandong Unicom Online Self-service Research and Design
    LiWeiXia ·Shandong University ·2013 ·Master's thesis
  17. Office system design and implementation of mobile collaboration
    ZhangWanJiang ·Heilongjiang University ·2013 ·Master's thesis
  18. Research and Implementation of Real-time Backup Platform
  19. Research and Implementation of Distributed Disaster Recovery System
  20. A Study of Swarm Intelligence Optimization in Cloud Computing Resource Load Balancing
    FengXiaoJing ·Nanjing University of Technology ·2012 ·Master's thesis