IP-address lookup using LC-tries
- 1 June 1999
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Journal on Selected Areas in Communications
- Vol. 17 (6) , 1083-1092
- https://doi.org/10.1109/49.772439
Abstract
There has been a notable interest in the organization of routing information to enable fast lookup of IP 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 IP-routing table. The structure can store both unicast and multicast addresses with the same average search times. The search depth increases as /spl 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.Keywords
This publication has 17 references indexed in Scilit:
- Routing lookups in hardware at memory access speedsPublished by Institute of Electrical and Electronics Engineers (IEEE) ,2002
- IP lookups using multiway and multicolumn searchPublished by Institute of Electrical and Electronics Engineers (IEEE) ,2002
- Implementing radixsortACM Journal of Experimental Algorithmics, 1998
- Fast address lookup for Internet routersPublished by Springer Nature ,1998
- Small forwarding tables for fast routing lookupsACM SIGCOMM Computer Communication Review, 1997
- IP switching and gigabit routersIEEE Communications Magazine, 1997
- A literature survey on traffic dispersionIEEE Network, 1997
- Engineering a sort functionSoftware: Practice and Experience, 1993
- A note on the average depth of triesComputing, 1982
- Trie memoryCommunications of the ACM, 1960