skip to main content
article
Free Access

Scalable high speed IP routing lookups

Authors Info & Claims
Published:01 October 1997Publication History
Skip Abstract Section

Abstract

Internet address lookup is a challenging problem because of increasing routing table sizes, increased traffic, higher speed links, and the migration to 128 bit IPv6 addresses. IP routing lookup requires computing the best matching prefix, for which standard solutions like hashing were believed to be inapplicable. The best existing solution we know of, BSD radix tries, scales badly as IP moves to 128 bit addresses. Our paper describes a new algorithm for best matching prefix using binary search on hash tables organized by prefix lengths. Our scheme scales very well as address and routing table sizes increase: independent of the table size, it requires a worst case time of log2(address bits) hash lookups. Thus only 5 hash lookups are needed for IPv4 and 7 for IPv6. We also introduce Mutating Binary Search and other optimizations that, for a typical IPv4 backbone router with over 33,000 entries, considerably reduce the average number of hashes to less than 2, of which one hash can be simplified to an indexed array access. We expect similar average case behavior for IPv6.

References

  1. CV95 Girish Chandranmenon and George Varghese. Trading packet headers for packet processing. In Proceedings of SIGCOMM 95, Boston, August 1995.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. CV96 Girish Chandranmenon and George Varghese. Trading packet headers for packet processing. IEEE Transactions on Nenvorking, April 1996.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. D+97 Dan Decasper et el. Crossbow --- a toolkit for integrated services over cell switched IPv6. In Proceedt)tgs of the IEEEATM'97 workshop, Lisboa, Portugal, May 1997.]]Google ScholarGoogle Scholar
  4. DH96 Steven Deering and Robert Hinden. Intemet protocol, version 6 (IPv6) specification (RFCi883). ftp:// ds.intemic.net/rfe/rfc1883.txt, 1996.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. Dig95 Digital. GIGAswitch/FDDI networking switch, http:l/ www. networks.europe.digital.com/html/products_guide/ hp-swch3.html, 1995.]]Google ScholarGoogle Scholar
  6. F+93 Vince Fuller et al. Classless Inter-Domain Routing (CIDR): an address assignment and aggregation strategy (RFC 1519). ftp://ds, intemic.net/rfe/ffcl 519.txt, 1993.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. HD96 Robert Hinden and Steven Deering. IP version 6 addressing architecture (RFC1884). ftp:llds.intemic.netlrfe/ rfe 1884.txt, 1996.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. Lab96 Craig Labovitz. Routing analysis, http'.//www, merit, edu/ ipma/analysis/routing.html, 1996.]]Google ScholarGoogle Scholar
  9. Mer96 Merit Network, Inc. 12/19/96 routing table snapshot at Mac-East NAP. http://www, merit.edu/ipma/ routing_table/, January 1996.]]Google ScholarGoogle Scholar
  10. MF93 A. McAuley and P. Francis. Fast routing table lookup using CAMs. In Proceedings oflNFOCOM, pages 1382- 1391, March-April 1993.]]Google ScholarGoogle ScholarCross RefCross Ref
  11. MTW95 Anthony J. McAuley, Paul F. Tsuehiya, and Daniel V, Wilson. Fast multilevel hierarchical routing table using content-addressable memory. U.S. Patent serial number 03'4 A-,444. Assignee Bell Communications research Inc Livingston NJ, January 1995.]]Google ScholarGoogle Scholar
  12. NMH97 Peter Newman, Greg Minshall, and Larry Huston. IP Switching and gigabit touters. IEEE Communications Magazine, January 1997.]]Google ScholarGoogle Scholar
  13. O’D97 Mike O'De!l. GSE- an alternate addressing architecture for IPv6. ftp://ds.intemic.net/intemet-drafts/draftietf. ipngwg-gseaddr-00.txt, 1997.]]Google ScholarGoogle Scholar
  14. Par96 Craig Partridge. Locality and route caches. In NSF Workshop on internet Statistics Measurement and Analysis, San Diego, CA, USA, February 1996.]]Google ScholarGoogle Scholar
  15. Per92 Radia Perlman. Interconnections, Bridges and Routers. Addison-Wesley, 1992.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. R+96 Yakov Rekhter et al. Tag switching architecture overview, ftp://ds.intemic.net/intemet-drafts/draft-rfcedinfo-rekhter-00.txt, 1996.]]Google ScholarGoogle Scholar
  17. R+97 Yakov Rekhter et al. An IPv6 provider-based unicast address format (RFC2073). ftp://ds.intemic.net/ffc/ rfe2073.txt, 1997.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. Rob97 Efica Roberts. IP on speed. Data Communications Magazine, pages 84--96, March 1997.]]Google ScholarGoogle Scholar
  19. Skl93 Keith Sklower. A tree-based routing table for Berkeley Unix. Technical report, University of California, Berkeley, 1993.]]Google ScholarGoogle Scholar

Index Terms

  1. Scalable high speed IP routing lookups

        Recommendations

        Comments

        Login options

        Check if you have access through your login credentials or your institution to get full access on this article.

        Sign in

        Full Access

        • Published in

          cover image ACM SIGCOMM Computer Communication Review
          ACM SIGCOMM Computer Communication Review  Volume 27, Issue 4
          Oct. 1997
          291 pages
          ISSN:0146-4833
          DOI:10.1145/263109
          Issue’s Table of Contents
          • cover image ACM Conferences
            SIGCOMM '97: Proceedings of the ACM SIGCOMM '97 conference on Applications, technologies, architectures, and protocols for computer communication
            October 1997
            311 pages
            ISBN:089791905X
            DOI:10.1145/263105

          Copyright © 1997 ACM

          Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

          Publisher

          Association for Computing Machinery

          New York, NY, United States

          Publication History

          • Published: 1 October 1997

          Check for updates

          Qualifiers

          • article

        PDF Format

        View or Download as a PDF file.

        PDF

        eReader

        View online with eReader.

        eReader