Skip to main content

Using Bit Selection to Do Routing Table Lookup

  • Conference paper
  • 616 Accesses

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 4613))

Abstract

Tree-based algorithms, such as Patricia, LC-trie, LPFST, etc, are widely used to do longest prefix matching (LPM). These algorithms use all the bits of the prefix to build the tree and the bits are used from the most significant bit to the least significant bit sequentially. Thus the tree is not balanced and the tree depth is high. In this paper, we propose bit selection tree (BS-tree) to do LPM. The bits of the prefix are selected to build BS-tree based on their costs defined in this paper. BS-tree has lower tree depth and is more balanced compared to other tree-based schemes. BS-tree has good scalability to the length of the IP address and is suitable for both IPv4 and IPv6. We evaluate the performances of BS-tree using both IPv4 and IPv6, and specially refine it for IPv6 based on the observations on IPv6 address and real IPv6 routing tables.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Deering, S., Hinden, R.: Internet protocol version 6 specification. RFC2460 (December 1998)

    Google Scholar 

  2. Fink, R., Hinden, R.: 6bone (IPv6 testing address allocation) phaseout. RFC3701 (March 2004)

    Google Scholar 

  3. Ruiz-Sbnches, M., Biersack, E., Dabbous, W.: Survey and taxonomy of IP address lookup algorithms. IEEE Network 15(2), 8–23 (2001)

    Article  Google Scholar 

  4. Sklower, K.: A tree-based packet routing table for Berkeley Unix. In: 1991 Winter USENIX Conf., pp. 93–99 (1991)

    Google Scholar 

  5. Gupta, P., Lin, S., McKeown, N.: Routing lookups in hardware at memory access speed. In: IEEE INFOCOM, pp. 1240–1247 (1998)

    Google Scholar 

  6. Nilsson, S., Karlsson, G.: IP-address lookup using LC-tries. IEEE JSAS 17(6), 1083–1092 (1999)

    Google Scholar 

  7. Eatherton, W., Dittia, Z., Varghese, G.: Tree bitmap: hardware/ software IP lookups with incremental updates. ACM SIGCOMM Computer Communication Review 34(2), 97–122 (2004)

    Article  Google Scholar 

  8. Li, Z., Ma, Y.: Trie-based observations on the routing tables. In: Japan-China Joint Workshop on Frontier of Computer Science and Technology, pp. 157–163 (November 2006)

    Google Scholar 

  9. Srinivasan, V., Varghese, G.: Fast address lookups using controlled prefix expansion. ACM Sigmetrics, 1–11 (June 1998)

    Google Scholar 

  10. Wuu, L., Chen, K., Liu, T.: A longest prefix first search tree for IP lookup. IEEE ICC, 989–993 (May 2005)

    Google Scholar 

  11. Woo, T.Y.C.: A modular approach to packet classification: algorithms and results. In: IEEE INFOCOM, pp. 1213–1222 (March 2000)

    Google Scholar 

  12. Lampson, B., Srinivasan, V., Varghese, G.: IP lookups using multiway and multicolumn search. In: IEEE INFOCOM, pp. 1248–1256 (March 1998)

    Google Scholar 

  13. Zheng, K., Liu, B.: V6Gene: a scalable IPv6 prefix generator for route lookup algorithm benchmark. In: IEEE AINA, pp. 147–152 (April 2006)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Franco P. Preparata Qizhi Fang

Rights and permissions

Reprints and permissions

Copyright information

© 2007 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Li, Z., Zheng, D., Ma, Y. (2007). Using Bit Selection to Do Routing Table Lookup. In: Preparata, F.P., Fang, Q. (eds) Frontiers in Algorithmics. FAW 2007. Lecture Notes in Computer Science, vol 4613. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-73814-5_19

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-73814-5_19

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-73813-8

  • Online ISBN: 978-3-540-73814-5

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics