IP-address lookup using LC-tries

被引:272
作者
Nilsson, S [1 ]
Karlsson, G
机构
[1] Royal Inst Technol, Dept Comp Sci, SE-10044 Stockholm, Sweden
[2] Royal Inst Technol, Dept Teleinformat, SE-16440 Kista, Sweden
关键词
IP address lookup; LC-trie; routing; search;
D O I
10.1109/49.772439
中图分类号
TM [电工技术]; TN [电子技术、通信技术];
学科分类号
0808 ; 0809 ;
摘要
There has recently been a notable interest in the organization of routing information to enable fast lookup of LP addresses. The interest is primarily motivated by the goal of building multigigabit routers for the Internet, without having to rely on multilayer switching techniques. We address this problem by using an LC-trie, a trie structure with combined path and level compression. This data structure enables us to build efficient, compact, and easily searchable implementations of an LP-routing table, The structure can store both unicast and multicast addresses with the same average search times. The search depth increases as Theta(log log n) with the number of entries in the table for a large class of distributions, and it is independent of the length of the addresses. A node in the trie can be coded with four bytes. Only the size of the base vector, which contains the search strings, grows linearly with the length of the addresses when extended from 4 to 16 bytes, as mandated by the shift from IP version 4 to IP version 6, We present the basic structure as well as an adaptive version that roughly doubles the number of lookups/s, More general classifications of packets that are needed for link sharing, quality-of-service provisioning, and multicast and multipath routing are also discussed. Our experimental results compare favorably with those reported previously in the research literature.
引用
收藏
页码:1083 / 1092
页数:10
相关论文
共 24 条
[1]   IMPROVED BEHAVIOR OF TRIES BY ADAPTIVE BRANCHING [J].
ANDERSSON, A ;
NILSSON, S .
INFORMATION PROCESSING LETTERS, 1993, 46 (06) :295-300
[2]  
ANDERSSON A, IN PRESS ACM J EXPT
[3]  
ANDERSSON A, 1994, P 2 ANN EUR S ALG, P82
[4]  
[Anonymous], 1884 RFC
[5]   ENGINEERING A SORT FUNCTION [J].
BENTLEY, JL ;
MCILROY, MD .
SOFTWARE-PRACTICE & EXPERIENCE, 1993, 23 (11) :1249-1265
[6]  
DEGERMARK M, 1997, COMPUT COMMUN REV, V27, P3
[7]   A NOTE ON THE AVERAGE DEPTH OF TRIES [J].
DEVROYE, L .
COMPUTING, 1982, 28 (04) :367-371
[8]   Routing on longest-matching prefixes [J].
Doeringer, W ;
Karjoth, G ;
Nassehi, M .
IEEE-ACM TRANSACTIONS ON NETWORKING, 1996, 4 (01) :86-97
[9]   LINK-SHARING AND RESOURCE-MANAGEMENT MODELS FOR PACKET NETWORKS [J].
FLOYD, S ;
JACOBSON, V .
IEEE-ACM TRANSACTIONS ON NETWORKING, 1995, 3 (04) :365-386
[10]   TRIE MEMORY [J].
FREDKIN, E .
COMMUNICATIONS OF THE ACM, 1960, 3 (09) :490-499