Implementation of GRE Tunnel on Distributed Switches

Author
DingWei
Advisor
HuJianWei , SongHaiBin
School
Xi'an University of Electronic Science and Technology
Major
Software Engineering
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2012
Downloads
27
Citations
0

Request the full text

Abstract

GRE tunneling technology is a three-layer packaging technology, it is a networkprotocol used to transmit data to another network protocol, a virtual point to pointconnection technology. On switches and routers, tunnel technique performs as a tunnelinterface; a virtual tunnel interface is working at the network layer as the globalinterface. A complete tunnel packet forwarding process, including closing the switchhardware package, delivery to driver, and the packet will be sent to the tunnel kernelmode packet processing parts.Paper first analyzes the tunnel with the GRE protocol itself and the tunnel scenario.Analysis of the switch software platform interface management, FIB, ADJ and otherfunctions associated with the tunnel module, ensure the interface message to create thetunnel interface and make tunnel link state up, make sure of encapsulation andde-encapsulation packet processing requirements.Use the interface control module andmessage mechanism to design and implementation of the tunnel creation and tunnel linklayer up function,use the ADJ function to design the tunnel encapsulation function,usethe protocol stack to design the de-encapsulation function. The next simulationenvironment for distributed packet forwarding, construct and execute test cases to verifythe correctness of the tunnel module. Finally, make a summary of the content of thepaper.

Table of contents

Summary 3-4 Abstract 4-7 first chapter 7-15 1.1 Background 7-9 1.2 domestic status quo 9-12 1.2.1 distributed Switch products 9-11 1.2.2 GRE tunneling technology research status quo 11 - work and structure of the paper 12 1.3 12-15 chapter GRE tunneling protocol analysis 15-25 2.1 three- Tunnel 15 -18 2.2 GRE protocol analysis 18-19 2.3 switch tunnel features 19-25 2.3.1 hardware and software forwarding forwarding 19 -22 2.3.2 GRE tunnel scenarios 22-25 The third chapter analyzes the functional requirements of distributed tunnel 25-43 3.1 interface management model introduced 25-31 3.1.1 Interface representation 25-26 3.1.2 interface status defined 26 3.1.3 Interface Management event reporting model 26-29 under 3.1.4 distributed environment event synchronization 29-31 3.2 distributed tunnel interface to create demand analysis 31-32 3.2.1 interface to create user demand 31 3.2.2 interface to create an event needs 31-32 3.3 distributed tunnel interface link layer state up demand 32 -35 3.3.1 interface configuration user needs 32 3.3.2 distributed configuration synchronization requirements 32-33 3.3.3 linkUp event-driven process needs 33-35 3.4 distributed forwarding tunnel needs analysis 35-40 3.4.1 global demand for port forwarding packets 35-36 3.4 .2 routing management , FIB, ADJ module correlation analysis 36-38 3.4.3 ADJ into the tunnel -based packet forwarding needs analysis 38-39 3.4.4 the tunnel packet needs analysis 39-40 3.5 tunnel module to achieve top-level DFD in Figure 40-43 Chapter IV GRE tunnel design and implementation of distributed 43 -67 4.1 overall system framework design basic framework 43-47 4.1.1 tunnel design 43-44 4.1.2 Tunnel overall framework designed 44-45 4.1.3 data Structure Design 45-47 4.2 tunnel interface to create 47-52 4.2.1 to create a command-line interface to achieve 47-48 4.2.2 interface to create event-driven process design 48-49 4.2.3 interface to create event-driven processes to achieve 49-52 4.3 interface link layer state up design and implementation 52-57 4.3.1 source and destination address configuration command line to achieve 52 4.3.2 configuration synchronization to achieve 52-53 4.3.3 linkUp event-driven process design 53-55 4.3.4 interface link layer state up to achieve 55-57 4.4 tunnel forwarding design and Implementation 57-67 4.4.1 ADJ plus package based on functional design 57-60 4.4.2 ADJ plus package based functions to achieve 60-62 4.4.3 out of the tunnel packet decapsulation function design 62-63 4.4.4 out of the tunnel packet decapsulation function realization 63-67 <br / > Chapter distributed GRE tunnel testing 67-77 5.1 test scenarios to build 67-69 5.2 tunnel interface to create functional test 69-71 5.3 interface link layer state up test 71-73 5.4 distributed forwarding packets to test 73-77 sixth chapter summarizes 77 - 79 Thanks 79-81 References 81-83

Related dissertations

  1. Design and Implementation of Software for Highway Tunnel Monitoring System
    SunZuoLi ·Dalian University of Technology ·2013 ·Master's thesis
  2. The Design and Implementation of Dual Stack Lite Tunnel
  3. Research of Evolution Scheme and Strategy of the IPv6Network for China Unicom ShanDong Branch
    PengDa ·Shandong University ·2013 ·Master's thesis
  4. The Research of IPv6Transition Technology Based on Tunnel and ⅠⅥ Mechanism
  5. Vpn Technology and It’s Application in Henan Tietong
  6. The Discussion of Plants Landscape and Status Quo Analysis of Park Plants in Zhuji
    ZhaoDiBo ·Zhejiang Forestry University ·2011 ·Master's thesis
  7. Research on Surrounding Rock Stability of Diversion Tunnel
    LiuJinYue ·Hebei University of Engineering ·2013 ·Master's thesis
  8. Research on Dynamic Response and Failure Mode of Tunnel Surrounding Rock under Blasting Loading
    LuShanShan ·Tianjin University ·2012 ·Master's thesis
  9. The Research of Dynamic Design for Tunnel Support
    YuWenPeng ·Shandong University ·2013 ·Master's thesis
  10. Effects on Existent Tunnel Caused by Small Spacing Parallel Shield Tunnel Construction
    JiangHui ·Tianjin University ·2012 ·Master's thesis
  11. Analytical Solutions for Dynamic Response of Underground Tunnels under SH Waves
    DuJinJin ·Tianjin University ·2012 ·Master's thesis
  12. Portfolio model and its application in prediction of tunnel deformation
    WangChunMing ·Jiangxi University of Technology ·2012 ·Master's thesis
  13. Analysis and Treatment of Structure Stability for Opening Excavation of High Slope Shallow Buried Tunnel
  14. Three-dimensional Numerical Modeling of Responses of an Existing Pile Group Due to Tunneling
  15. Analysis of Structure Stress and Deformation in Fault Fracture Zone of Yaozhai Tunnel
    ZhangJia ·Chang'an University ·2013 ·Master's thesis
  16. Highway Long and Large Tunnel Lighting System Improvement Research
    BaiXinXin ·Chang'an University ·2013 ·Master's thesis
  17. Study on the Failure Mechanism and Control Techniques of the Voids Behind Tunnel Lining
    NieZiYun ·Central South University ·2013 ·Master's thesis
  18. Construction Technology Reseach on Portal Secion of Shallow Buried Bias Tunnel with Small Span
    HuangXin ·Central South University ·2013 ·Master's thesis
  19. Research on Stress Characteristics of Cut-and-Cover Framed Tunnel with Large Span under the Lake
    TangPeng ·Central South University ·2013 ·Master's thesis
  20. Study on Effect of Existing Adjacent Tunnel Structure Due to the Deep Excavation Construction in Chongqing
    ZhangZongXing ·Chongqing Jiaotong University ·2013 ·Master's thesis