The Research on IP Address Lookup and Packet Classification Algorithm

Author
XiongShuai
Advisor
ChangBingGuo , LiuZhi
School
Hunan University
Major
Software Engineering
Classification
TP393.05 Network equipment
Degree
Master's thesis
Year
2013
Downloads
20
Citations
0

Request the full text

Abstract

With the rapid development of Internet, link rate have been able to meet therequirements of growing traffic, but packet forwarding rate of router can’t keep upwith their pace. At the same time, the space efficiency of router has also become animportant bottleneck which affect router performance. IP address lookup and packetclassification are two important routing functions. How to design time-efficient andmemory-efficient IP address lookup or packet classification algorithm is the hot issuein the current research.This paper proposes three kinds of high-performance IP address looking up andpacket classification algorithms.1) Optimized Trie Merging Algorithm is proposed.We adopt dynamic programming approach to compute the nodes for initial mergingand optimal sub-node arrangements. Then, according the two computation results, weconstruct a data structure named optimal trie. Compared with the existing trie mergingalgorithms, Optimized Trie Merging Algorithm effectively saves the memory overhead.2) Optimized Pipelined Indexing Hash Tree (OPIHT) Algorithm is proposed. Trie isconstructed with all prefixes in a route table and preprocessed, then adopts dynamicprogramming approach to determine the optimal prefix dividing scheme. Comparedwith the existing PIHT algorithm, OPIHT algorithm effectively saves memoryoverhead.3) Fast Multiway Most Specific Tree (FMMSPT) Algorithm is proposed. B+tree is constructed with the most specific prefixes as keywords, prefixes in a leaf nodewhich contain keywords are compressed and storaged with an unsigned integer.Compared with the existing MMSPT, FMMSPT effectively improved lookupperformance.In this paper, the research has significant theoretical and practical applicationvalue. Compared with existing IP address lookup and packet classification algorithms,three kinds of proposed algorithms for different application background effectivelyimproves the search speed and reduce the memory overhead. In the context of specificapplications, these high performance algorithms can satisfy the growing traffic demandfor packet forwarding rate of router and space efficiency of router. The algorithm isscalable, and can adapt to the requirement of Internet upgrade.

Table of contents

Abstract 5-6 Abstract 6-12 Chapter 1 Introduction 12-18 1.1 network router designed for high-speed development challenges brought 12 1.2 IP address lookup and packet classification 12-13 1.2.1 IP address lookup 12-13 1.2.2 packet Category 13 1.3 IP address lookup and packet classification algorithms research status 13-15 1.3.1 IP address lookup algorithm research status 13-14 1.3.2 packet classification algorithm research status 14-15 main achievements and contributions of 1.4 article 15-16 1.5 thesis structure and chapter arrangements 16-18 Chapter 2 IP address lookup and packet classification algorithms 18-28 2.1 IP address lookup algorithm 18-23 2.1.1 simple the algorithm 18 2.1.2 terry tree 18-20 2.1.2.1 binary trie 18-19 2.1.2.2 Patricia trie 19 2.1.2.3 multi fork terry tree 19-20 2.1.3 prefix range search 20-21 2.1 .4 prefix length binary search algorithm 21-22 2.1.5 ternary content addressable memory -based algorithms 22-23 2.1.6 other algorithms 23 2.2 packet classification algorithm 23-27 between 2.2.1 prefix and scope 23 2.2.2 classifier and classifier geometrical said 23-24 2.2.3 simple algorithm 24-25 2.2.4 parallel algorithms 25 2.2.5 sequential algorithms 25-26 2.2.6 merge domain algorithm 26-27 2.2.7 tuple space search algorithm 27 2.2.8 ternary content -based algorithm addressable memory 27 2.3 Summary 27-28 Chapter 3, an optimized Terry tree merging algorithm 28-46 3.1 Introduction 28-29 3.2 algorithm outlined 29-32 3.2.1 stored separately Terry tree 29 3.2.2 simple Terry tree merging algorithm 29-30 3.2.3 Trie Braiding algorithm 30-31 3.2.4 optimized Terry tree merging algorithm 31-32 3.3 common symbols and definitions 32-33 3.4 dynamic programming construct optimal terry tree 33-36 3.5 accelerating dynamic programming construct optimal terry tree 36-40 3.5.1 to reduce the number of computing nodes distance computational complexity 36-37 3.5.2 reduce node distance 37-38 3.5.3 construct the optimal solution 38-40 3.6 algorithm performance 40-45 3.6.1 IPV4 41 3.6.2 IPV6 41-42 3.6.3 packet classification filter 42-43 3.6.4 experimental results show 43-45 3.7 Summary pipeline index hash tree algorithm 45-46 Chapter 4 an optimized 46-59 4.1 Introduction 46-47 4.2 based Ha Greek IP address lookup algorithm 47-48 4.2.1 Bloom filter hash approximate match 47 4.2.2 fast hash table an exact match 47-48 4.2.3 Bloom filters and other hash algorithms 48 4.2.4 lookup hash algorithm based on IP address prefix conversion 48 4.3 pipelining index hash tree algorithm 48-50 4.3.1 hash lookup engine 48-49 4.3.2 pipeline index hash tree 49-50 4.3.3 Lulea Bitmap pipeline index hash tree algorithm 50 4.4 optimized 50-56 4.4.1 Terry tree structure 51-52 4.4.2 node layered 52-53 effective depth nbsp 4.4.3 compute nodes ; 53-54 4.4.4 computing optimal prefix division scheme 54-56 4.5 algorithm performance 56-58 4.5.1 IPV4 56-57 4.5.2 IPV6 57-58 4.6 Summary 58-59 Chapter 5 features a fast multi- prefix tree algorithm 59-70 5.1 Introduction 59-60 5.2 multi-channel feature prefix tree 60-62 5.2.1 common definitions 60-61 5.2.2 data Structure 61 5.2.3 longest prefix match 61-62 5.3 features rapid multi- prefix tree 62-67 nbsp 5.3.1 data structure ; 62-63 5.3.2 Find 63-64 5.3.3 insert 64-66 5.3.4 delete 66-67 5.4 algorithm performance 67-69 5.4.1 4 -order tree 67 5.4.2 8 -order tree 67-68 5.4 .3 16 tREES 68-69 5.5 Summary 69-70 Conclusion and Outlook 70-72 references 72-79 Thanks 79-80 Appendix a ( published during the study for a degree thesis directory ) 80

Related dissertations

  1. The Study on High-speed Algorithms of Packet Classification and Its Implement Techniques
  2. Firewall policy based on decision tree algorithm research
    LiuJunJun ·Central South University ·2009 ·Master's thesis
  3. A Dynamic Simulation for Ticket Policy Research Based on Consumer Choice
  4. On Study of Optimal Consumption and Portfolio with Inflation and Stochastic Income under Knight Uncertainty
    LvHuiYing ·Anhui University of Engineering ·2013 ·Master's thesis
  5. The Optimal Strategie and Method of Engineering Investment under Linear Control
    YangYanYan ·Central China Normal University ·2014 ·Master's thesis
  6. Strategic Petroleum Reserve Strategy Modeling Based on Supply Risk Analysis
  7. Statistical Waveform Packet Classification for Network Gateway
    LiuYiMing ·Harbin Institute of Technology ·2012 ·Master's thesis
  8. Multi-Objective Optimal Control for Discrete Bilinear System with Disturbances
  9. Stateful Packet Classification for Gateway
    JinZuoMei ·Harbin Institute of Technology ·2012 ·Master's thesis
  10. Research on Packet Classification Algorithms for Packet Filter Firewall
    GaoZengZuo ·Beijing Jiaotong University ·2014 ·Master's thesis
  11. Research and Application of an Efficient Packet Classification Algorithm Based on Multi-level Search
    ChenSheng ·Hunan University ·2013 ·Master's thesis
  12. The Research on Action Recognition Algorithms Based on Hidden Markov Template Model in Video Sequences
    ShiXiaoKai ·Wuhan University of Technology ·2013 ·Master's thesis
  13. Binocular Stereo Matching Research Based on Pattern Recognition
    PengZuo ·Wuhan University ·2013 ·Doctoral dissertation
  14. Complex Image Compression and Classification via Reversible Integer Karhunen-loeve Transform and Feature Caling Based KFDA
  15. Gesture Recognition Based on Kinect Depth Data
  16. Asymptotically Optimal Parallel Resource Assignment with Interference
    HanPei ·Nanjing University ·2012 ·Master's thesis
  17. Heuristic Algorithm Design and Analysis of One-Dimensional Bin Packing Problem
    ShaoFeiNiu ·Northeastern University ·2013 ·Master's thesis
  18. The Application of the Optimal Dynamic Path Mechanism on Network Storage
  19. On Sensing Scheduling Strategy of Dynamic Spectrum Access System
  20. Research on Wireless Resource Management and Scheduling Policy for Next-Generation Mobile Communications
    ZhangJia ·Shandong University ·2013 ·Doctoral dissertation