Fast and scalable schemes for the IP address lookup problem

被引:34
|
作者
Yazdani, N [1 ]
Min, PS [1 ]
机构
[1] Erlang Technol Inc, St Louis, MO USA
关键词
D O I
10.1109/HPSR.2000.856650
中图分类号
TM [电工技术]; TN [电子技术、通信技术];
学科分类号
0808 ; 0809 ;
摘要
Routers forward a packet based on the packet destination address. To do this, they must find the longest matching prefix with the packet destination address in the IP lookup tables. Expanding the size of the global network increases the size of the lookup tables. Increasing the communication line speed reduces the processing and search time since the packets must be switched at wire speed. This implies the forwarding engines need more efficient IP lookup techniques. We believe the fundamental issue preventing applying the usual tree structures such as m_way trees to the TP lookup problem is the lack of a systematic method to compare and sort strings of different lengths when some of them are prefixes of others. Therefore, a simple scheme for comparing and sorting TP address prefixes is first introduced. Then, we manipulate the prefix data and tune the well known data structures in order to apply them to the IP lookup problem. We propose a binary prefix tree and devise procedures to sort the prefixes and build the index structure. It uses O(N) memory space and works well for the longest prefix matching problem. The binary search tree is extended to m_way trees in order to get better search performance in the next steps. Two versions of m_way trees are proposed, a static m_way prefix tree and a dynamic m_way prefix tree. The first one is more suitable for an environment with lower transaction and expected to give better memory usage and more compact tree structure. The later one, the dynamic m_way prefix tree, is built bottom up like B-tree and is more suitable for an environment with higher transactions. All data structures share a common property that no data prefix can be in a higher level than its prefix(es). We believe the proposed schemes are simple, well defined, easy to implement in hardware or software and scalable compared to the previously proposed methods while having efficient memory usage and search performance.
引用
收藏
页码:83 / 92
页数:10
相关论文
共 50 条
  • [41] Adaptive hashing for IP address lookup in computer networks
    Martinez, Christopher
    Lin, Wei-Ming
    ICON: 2006 IEEE INTERNATIONAL CONFERENCE ON NETWORKS, VOLS 1 AND 2, PROCEEDINGS: NETWORKING -CHALLENGES AND FRONTIERS, 2006, : 198 - +
  • [42] Binary search in a balanced tree for IP address lookup
    Lim, H
    Kim, W
    Lee, B
    2005 WORKSHOP ON HIGH PERFORMANCE SWITCHING AND ROUTING, 2005, : 490 - 494
  • [43] The design of efficient hashing techniques for IP address lookup
    Pandya, Devang
    Martinez, Chris
    Lin, Wei-Ming
    Patel, Parimal
    31ST IEEE CONFERENCE ON LOCAL COMPUTER NETWORKS, PROCEEDINGS, 2006, : 531 - +
  • [44] Binary search on prefix lengths for IP address lookup
    Mun, Ju Hyoung
    Lim, Hyesook
    Yim, Changhoon
    IEEE COMMUNICATIONS LETTERS, 2006, 10 (06) : 492 - 494
  • [45] Scalable IP routing lookup in next generation network
    Chan, CT
    Wang, PC
    Hu, SC
    Lee, CL
    Chen, RC
    INFORMATION NETWORKING: NETWORKING TECHNOLOGIES FOR ENHANCED INTERNET SERVICES, 2003, 2662 : 46 - 55
  • [46] Flexible IP lookup algorithm with fast update
    Pak, W
    Bahk, S
    IEICE TRANSACTIONS ON COMMUNICATIONS, 2004, E87B (08) : 2442 - 2444
  • [47] A Hybrid IP Lookup Architecture with Fast Updates
    Luo, Layong
    Xie, Gaogang
    Xie, Yingke
    Mathy, Laurent
    Salamatian, Kave
    2012 PROCEEDINGS IEEE INFOCOM, 2012, : 2435 - 2443
  • [48] A multi-thread based approach for IP Address Lookup
    Zhian, Hootan
    Jokar, Ali
    Farrokhi, Navid
    Sabaei, Masoud
    2013 21ST IRANIAN CONFERENCE ON ELECTRICAL ENGINEERING (ICEE), 2013,
  • [49] An Improvement of IP Address Lookup based on Rule Filter Analysis
    Perez, K. Guerra
    Yang, X.
    Sezer, S.
    2014 IEEE INTERNATIONAL CONFERENCE ON COMMUNICATIONS WORKSHOPS (ICC), 2014, : 688 - 693
  • [50] Binary searches on multiple small trees for IP address lookup
    Lim, HS
    Lee, B
    Kim, N
    IEEE COMMUNICATIONS LETTERS, 2005, 9 (01) : 75 - 77