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 条
  • [21] An evaluation of IP-address lookup algorithms
    Haider, Aun
    Sirisena, Harsha
    Mortensen, Brian B.
    2006 INTERNATIONAL CONFERENCE ON INDUSTRIAL AND INFORMATION SYSTEMS, VOLS 1 AND 2, 2006, : 571 - +
  • [22] Tree-Combined Trie: A Compressed Data Structure for Fast IP Address Lookup
    Tahir, Muhammad
    Ahmed, Shakil
    INTERNATIONAL JOURNAL OF ADVANCED COMPUTER SCIENCE AND APPLICATIONS, 2015, 6 (12) : 168 - 175
  • [23] Efficient binary search for IP address lookup
    Yim, C
    Lee, B
    Lim, H
    IEEE COMMUNICATIONS LETTERS, 2005, 9 (07) : 652 - 654
  • [24] A TCAM Index Scheme for IP Address Lookup
    Tang, Yi
    Lin, Wei
    Liu, Bin
    2006 FIRST INTERNATIONAL CONFERENCE ON COMMUNICATIONS AND NETWORKING IN CHINA, 2006,
  • [25] GAMT: A Fast and Scalable IP Lookup Engine for GPU-based Software Routers
    Li, Yanbiao
    Zhang, Dafang
    Liu, Alex X.
    Zheng, Jintao
    2013 ACM/IEEE SYMPOSIUM ON ARCHITECTURES FOR NETWORKING AND COMMUNICATIONS SYSTEMS (ANCS), 2013, : 1 - 12
  • [26] An on-chip IP address lookup algorithm
    Sun, XH
    Zhao, YQQ
    IEEE TRANSACTIONS ON COMPUTERS, 2005, 54 (07) : 873 - 885
  • [27] Advanced CC Algorithm for IP Address Lookup
    Wang, Junfeng
    Qiao, Lufeng
    Shao, Shilei
    Chen, Qinghua
    PROCEEDINGS OF 2012 2ND INTERNATIONAL CONFERENCE ON COMPUTER SCIENCE AND NETWORK TECHNOLOGY (ICCSNT 2012), 2012, : 10 - 14
  • [28] Ternary CAM Compaction For IP Address Lookup
    Fang, Yi-Ting
    Huang, Tzung-Chian
    Wang, Pi-Chung
    2008 22ND INTERNATIONAL WORKSHOPS ON ADVANCED INFORMATION NETWORKING AND APPLICATIONS, VOLS 1-3, 2008, : 1462 - 1467
  • [29] Scalable pipelined IP lookup with prefix tries
    Wu, Yi
    Nong, Ge
    Hamdi, Mounir
    COMPUTER NETWORKS, 2017, 120 : 1 - 11
  • [30] On fast address-lookup algorithms
    Tzeng, HHY
    Przygienda, T
    IEEE JOURNAL ON SELECTED AREAS IN COMMUNICATIONS, 1999, 17 (06) : 1067 - 1082